/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 *
 * @author    Digitech
 * @copyright Digitech
 * @license   https://opensource.org/licenses/AFL-3.0  Academic Free License 3.0 (AFL-3.0)
 */

.product-quantity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*.preorderbooster-block {
    margin: 0;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed #dcdcdc;
    border-radius: 4px;
    background-color: #fafafa;
    flex-wrap: wrap;
}*/

.preorderbooster-message,
.preorderbooster-deposit {
    margin: 0;
    font-size: 0.85em;
    white-space: nowrap;
}

.preorderbooster-message-soldout {
    display: inline-block;
    white-space: normal;
    background-color: #fbeae8;
    border: 1px solid #f3c8c2;
    border-radius: 4px;
    padding: 6px 10px;
}

.preorderbooster-btn {
    padding: 10px 18px;
    border-radius: 3px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.preorderbooster-error {
    color: #DA5A46;
    font-size: 0.85em;
    margin-top: 6px;
    width: 100%;
}

.preorderbooster-btn:hover {
    opacity: 0.9;
}

.preorderbooster-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.preorderbooster-summary {
    margin-top: 20px;
}

.preorderbooster-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.preorderbooster-table th,
.preorderbooster-table td {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .preorderbooster-table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .preorderbooster-table {
        min-width: 640px;
    }
}

.preorderbooster-account-block {
    margin-top: 20px;
    padding: 15px;
}

.preorderbooster-account-list {
    list-style: none;
    padding-left: 0;
}

.preorderbooster-account-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.preorderbooster-no-filter-ellipsis-fix th.column-total_paid,
th[class*="total_paid"] {
    white-space: nowrap;
    overflow: visible;
}

.preorderbooster-shipping-notice {
    margin-top: 6px;
    font-size: 0.85em;
    color: #DA5A46;
}
.preorderbooster-login-link {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}



.preorderbooster-countdown-value {
    display: inline-block;
    font-weight: 700;
    color: #DA5A46;
    animation: preorderbooster-pulse 1.6s ease-in-out infinite;
}

/*.preorderbooster-block {
    margin: 15px 0;
    padding: 12px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border: 1px dashed #dcdcdc;
    border-radius: 4px;
    background-color: #fafafa;
    width: 100%;
    box-sizing: border-box;
}*/

.preorderbooster-price-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 3px;
    vertical-align: middle;
}

.preorderbooster-slots-remaining {
    font-size: 0.8em;
    font-weight: 600;
    color: #DA5A46;
    margin-top: 2px;
    flex-basis: 100%;
    width: 100%;
}

.preorderbooster-sold-out-inline {
    font-size: 0.8em;
    font-weight: 600;
    color: #DA5A46;
    margin-top: 2px;
    flex-basis: 100%;
    width: 100%;
}

@keyframes preorderbooster-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.75;
    }
}

.preorderbooster-flag {
    display: block;
    float: left;
    clear: left;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 5px;
    min-width: 50px;
    text-align: center;
    padding: 3px 10px;
    position: relative;
}

.preorderbooster-flag {
    animation: preorderbooster-flag-pulse 1.8s ease-in-out infinite;
}

#preorderbooster_table_wrapper,
.table-responsive {
    overflow-x: auto;
}

/*.preorderbooster-countdown {
    flex-basis: 100%;
    width: 100%;
}*/

@keyframes preorderbooster-flag-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(218, 90, 70, 0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 4px rgba(218, 90, 70, 0);
    }
}

@media (max-width: 768px) {
    .preorderbooster-block {
        width: 100%;
    }

    .preorderbooster-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .preorderbooster-login-link {
        display: block;
        width: 100%;
    }
}
