/**
 * BookingFlightsFares - Modals Stylesheet
 * Matches Reference Image 4 (Searching 450+ Airlines) & Reference Image 5 (Exclusive Fares Found)
 */

.bff-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.bff-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==================================================
   SEARCH LOADER MODAL (Ref 4)
================================================== */
.bff-loader-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2rem 2.25rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1 0%, #3b82f6 50%, #10b981 100%);
}

.btn-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.btn-modal-close:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.loader-spinner-ring {
    width: 54px;
    height: 54px;
    border: 4px solid #e0e7ff;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    margin: 0.5rem auto 1.5rem auto;
    animation: spinRing 1s linear infinite;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.loader-subtitle {
    font-size: 0.95rem;
    color: #64748b;
}

/* ==================================================
   EXCLUSIVE FARES FOUND MODAL (Ref 5)
================================================== */
.bff-exclusive-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPopIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.exclusive-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1 0%, #3b82f6 50%, #10b981 100%);
}

.exclusive-icon-check {
    width: 64px;
    height: 64px;
    background-color: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.exclusive-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}

.exclusive-desc {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.exclusive-desc strong {
    color: #0f172a;
}

/* Timer Badge (Ref 5) */
.exclusive-timer-badge {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #9a3412;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
}

.timer-clock-icon {
    font-size: 1.2rem;
}

/* Big Orange Call Button (Ref 5) */
.btn-exclusive-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff5722 0%, #f4511e 100%);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.btn-exclusive-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.5);
    color: #ffffff;
}

.exclusive-subtext {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.exclusive-phone-display {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
