/**
 * Razorpay Race & Ticket Booking Styles
 * Polished to match modern dark theme and vibrant pink brand accents
 */

.rzp-live-price-badge {
    margin-top: 8px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.15), rgba(120, 20, 255, 0.15));
    border: 1px solid rgba(255, 0, 122, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    animation: rzpFadeIn 0.3s ease-out;
}

.rzp-live-price-badge .rzp-badge-label {
    color: #b3b3b3;
    font-weight: 500;
}

.rzp-live-price-badge .rzp-badge-amount {
    color: #ff3399;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.rzp-live-price-badge .rzp-badge-note {
    font-size: 11px;
    color: #888899;
    margin-left: 2px;
}

/* Button Loading State */
.rzp-btn-loading {
    opacity: 0.85 !important;
    cursor: not-allowed !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.rzp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: rzpSpin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes rzpSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rzpFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast Notifications */
.rzp-booking-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    background: #181924;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-family: inherit;
    max-width: 420px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rzp-booking-toast.rzp-toast-show {
    transform: translateY(0);
    opacity: 1;
}

.rzp-toast-error {
    border-left: 4px solid #ff4757;
}

.rzp-toast-success {
    border-left: 4px solid #2ed573;
}

.rzp-toast-icon {
    font-size: 18px;
    line-height: 1;
}

.rzp-toast-text {
    flex: 1;
    line-height: 1.4;
}

.rzp-toast-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.rzp-toast-close:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .rzp-booking-toast {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}