/**
 * Shared cart redemption panels (fixed-rewards dropdown + variable points slider).
 * No box-shadow — border-only cards for a consistent look.
 */

.lootly-cart-panel {
    box-sizing: border-box;
    width: 100%;
    margin: 24px auto;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    color: #111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Fixed rewards (dropdown) widget */
.lootly-fixed-rewards-cart {
    display: block;
}

.lootly-fixed-rewards-cart__inner {
    width: 100%;
}

.lootly-fixed-rewards-cart__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    text-align: center;
}

.lootly-fixed-rewards-cart__login {
    font-size: 15px;
    line-height: 1.45;
    color: #333;
}

.lootly-fixed-rewards-cart__notice {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #555;
}

.lootly-fixed-rewards-cart__login a {
    color: #111;
    text-decoration: underline;
}

.lootly-fixed-rewards-cart__balance-line {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    margin: 0;
    text-align: center;
}

.lootly-fixed-rewards-cart__balance {
    font-weight: 700;
    color: #111;
}

.lootly-fixed-rewards-cart__divider {
    border: 0;
    border-top: 1px solid #ececec;
    margin: 16px 0 0;
}

/* Single select with native <optgroup> sections */
.lootly-fixed-rewards-cart__select-wrap--unified {
    margin-bottom: 16px;
}

.lootly-fixed-rewards-cart__select-wrap {
    margin-bottom: 16px;
}

.lootly-fixed-rewards-cart__select {
    width: 100%;
    padding: 10px 32px 10px 12px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('../img/arrow.svg') no-repeat right 12px center #fff;
    line-height: 1.5;
    font-size: 15px;
    box-sizing: border-box;
}

.lootly-fixed-rewards-cart__select option {
    padding: 8px;
}

.lootly-fixed-rewards-cart__actions {
    margin-top: 4px;
}

.lootly-fixed-rewards-cart__redeem {
    width: 100%;
    padding: 10px 20px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    line-height: normal;
}

.lootly-fixed-rewards-cart__redeem:hover {
    opacity: 0.92;
}

.lootly-fixed-rewards-cart .lootly-reward-failed {
    color: #e81515;
    font-size: 15px;
    margin: 12px 0 0;
}

/* Explanatory note inside cart panels */
.lootly-fixed-rewards-cart__note,
.lootly-vps-note {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

/* Success notice shown ABOVE the Lootly card (fixed rewards / variable slider / widget overlay) */
.lootly-above-card-notice {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    margin: 0 0 12px;
    color: #219d4b !important;
    font-size: 15px;
    background: #fff;
    line-height: 1.45;
    border: 1px solid #e8e8e8;
    border-radius: 9px;
}

.lootly-above-card-notice p {
    margin: 0;
    text-align: center;
}

.lootly-above-card-notice--manual {
    color: #333;
}

.lootly-above-card-notice--error {
    color: #d63638 !important;
    border-color: #d63638 !important;
}

/* Spinner overlay shown while coupon is applying */
.lootly-panel-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lootly-panel-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: #111;
    border-radius: 50%;
    animation: lootly-spin 0.7s linear infinite;
}

@keyframes lootly-spin {
    to { transform: rotate(360deg); }
}

/* Cart exclusion warnings (sale items / out-of-stock) */
.lootly-fixed-rewards-cart__exclusion-warning,
.lootly-fixed-rewards-cart__exclusion-note {
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.lootly-fixed-rewards-cart__exclusion-warning {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.lootly-fixed-rewards-cart__exclusion-note {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.lootly-fixed-rewards-cart__exclusion-warning p,
.lootly-fixed-rewards-cart__exclusion-note p {
    margin: 0;
}
