/**
 * FixedFloat Exchanger Pro - AGGREGATOR MODE CSS
 * Rate Comparison UI Styling
 *
 * Features:
 * - Smooth CSS transitions for progressive rate loading
 * - Hover effects and touch interactions
 * - Best rate highlighting animations
 * - Mobile-responsive grid layout
 *
 * @package FixedFloat_Exchanger
 * @since 5.0.0
 */

/* ═══════════════════════════════════════════════════════════════════════
   AGGREGATOR MODE TOGGLE SWITCH
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-aggregator-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.ffe-aggregator-toggle:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

.ffe-aggregator-toggle-label {
    flex: 1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.ffe-aggregator-toggle-label span {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-top: 4px;
}

/* Custom Toggle Switch */
.ffe-toggle-switch {
    position: relative;
    width: 56px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ffe-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ffe-toggle-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: #666;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ffe-toggle-switch input:checked + .ffe-toggle-switch::after,
input:checked ~ .ffe-toggle-switch::after {
    transform: translateX(24px);
    background: #000;
}

input:checked ~ .ffe-toggle-switch,
.ffe-toggle-switch input:checked {
    background: linear-gradient(135deg, var(--ffe-primary, #FFD700) 0%, var(--ffe-secondary, #F7931A) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════
   AGGREGATOR CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */
#ffe-aggregator-container {
    width: 100%;
    margin: 20px 0;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header with refresh button */
.ffe-aggregator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ffe-aggregator-header h3 {
    color: var(--ffe-primary, #FFD700);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

#ffe-refresh-rates {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: var(--ffe-primary, #FFD700);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#ffe-refresh-rates:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--ffe-primary, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

#ffe-refresh-rates:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   PROVIDER CARDS GRID
   ═══════════════════════════════════════════════════════════════════════ */
#ffe-aggregator-rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* Individual Provider Card */
.ffe-provider-card {
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.ffe-provider-card:hover {
    border-color: var(--ffe-primary, #FFD700);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* Active/Selected state */
.ffe-provider-card.ffe-provider-selected {
    border-color: var(--ffe-primary, #FFD700);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
}

.ffe-provider-card.ffe-provider-selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--ffe-primary, #FFD700);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    animation: checkmarkPop 0.3s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Best Rate Badge */
.ffe-best-rate-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    background: linear-gradient(135deg, #FFD700 0%, #F7931A 100%);
    color: #000;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-radius: 12px 12px 0 0;
    letter-spacing: 0.5px;
    animation: slideDownBounce 0.5s ease-out;
}

@keyframes slideDownBounce {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.ffe-provider-card.ffe-best-rate {
    border-color: var(--ffe-primary, #FFD700);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.ffe-provider-card.ffe-best-rate .ffe-provider-body {
    padding-top: 40px; /* Make room for badge */
}

/* ═══════════════════════════════════════════════════════════════════════
   PROVIDER CARD HEADER
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-provider-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ffe-provider-logo {
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.ffe-provider-card:hover .ffe-provider-logo {
    transform: scale(1.1) rotate(10deg);
}

.ffe-provider-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAYMENT METHOD ICONS (Under provider name)
   Shows what payment methods each provider supports (like ChangeNOW does)
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-payment-method-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ffe-method-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 11px;
    color: #999;
    transition: all 0.2s ease;
}

.ffe-method-icon svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.ffe-method-icon .label {
    font-weight: 500;
}

/* Icon-specific colors */
.ffe-icon-crypto {
    border-color: rgba(247, 147, 26, 0.3);
    background: rgba(247, 147, 26, 0.1);
    color: #F7931A;
}

.ffe-icon-crypto svg {
    color: #F7931A;
}

.ffe-icon-card {
    border-color: rgba(0, 82, 255, 0.3);
    background: rgba(0, 82, 255, 0.1);
    color: #0052FF;
}

.ffe-icon-card svg {
    color: #0052FF;
}

.ffe-icon-bank {
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.ffe-icon-bank svg {
    color: #4CAF50;
}

.ffe-icon-apple {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ffe-icon-google {
    border-color: rgba(66, 133, 244, 0.3);
    background: rgba(66, 133, 244, 0.1);
    color: #4285F4;
}

.ffe-icon-google svg {
    color: #4285F4;
}

/* Hover state for icons */
.ffe-provider-card:hover .ffe-method-icon {
    transform: translateY(-1px);
}

/* Provider logo image */
.ffe-provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.ffe-provider-icon-emoji {
    font-size: 24px;
}

/* Provider color accent (border-left) */
.ffe-provider-card {
    border-left: 4px solid var(--provider-color, #FFD700);
}

/* Best badge updated for provider centric */
.ffe-best-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700 0%, #F7931A 100%);
    color: #000;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: 12px 12px 0 0;
    letter-spacing: 0.5px;
    margin: -20px -20px 16px -20px;
    animation: slideDownBounce 0.5s ease-out;
}

.ffe-best-provider {
    border-color: var(--ffe-primary, #FFD700);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.ffe-best-provider .ffe-provider-header {
    padding-top: 24px; /* Make room for badge */
}

/* ═══════════════════════════════════════════════════════════════════════
   PROVIDER CARD BODY (RATE DISPLAY)
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-provider-body {
    transition: opacity 0.3s ease;
}

.ffe-provider-rate-display {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.ffe-provider-rate-label {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ffe-provider-rate-value {
    color: var(--ffe-primary, #FFD700);
    font-size: 24px;
    font-weight: 800;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    animation: numberCountUp 0.5s ease-out;
}

@keyframes numberCountUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Details section */
.ffe-provider-details {
    margin-bottom: 16px;
}

.ffe-provider-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ffe-provider-detail-row:last-child {
    border-bottom: none;
}

.ffe-provider-detail-row span {
    color: #999;
    font-size: 13px;
}

.ffe-provider-detail-row strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, monospace;
}

.ffe-fee-highlight {
    color: #4CAF50 !important;
}

/* Select button */
.ffe-provider-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: var(--ffe-primary, #FFD700);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ffe-provider-select-btn:hover {
    background: var(--ffe-primary, #FFD700);
    color: #000;
    border-color: var(--ffe-primary, #FFD700);
}

.ffe-provider-card.ffe-provider-selected .ffe-provider-select-btn {
    background: var(--ffe-primary, #FFD700);
    color: #000;
    border-color: var(--ffe-primary, #FFD700);
}

/* ═══════════════════════════════════════════════════════════════════════
   LOADING STATE
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-provider-card.ffe-provider-loading {
    cursor: default;
    opacity: 0.7;
}

.ffe-provider-card.ffe-provider-loading:hover {
    transform: none;
    box-shadow: none;
}

.ffe-provider-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.ffe-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--ffe-primary, #FFD700);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

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

.ffe-provider-loading-spinner p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   ERROR STATE
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-provider-card.ffe-provider-error {
    border-color: rgba(244, 67, 54, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

.ffe-provider-card.ffe-provider-error:hover {
    transform: none;
    box-shadow: none;
}

.ffe-provider-error-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.ffe-provider-error-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.ffe-provider-error-msg {
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   PULSE ANIMATION (SELECTION FEEDBACK)
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-pulse-animation {
    animation: cardPulse 0.6s ease-in-out;
}

@keyframes cardPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE (< 768px)
   ═══════════════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 768px) {
    #ffe-aggregator-rates {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ffe-provider-card {
        padding: 16px;
    }

    .ffe-aggregator-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ffe-aggregator-header h3 {
        font-size: 18px;
    }

    #ffe-refresh-rates {
        width: 100%;
        justify-content: center;
    }

    .ffe-provider-rate-value {
        font-size: 20px;
    }

    .ffe-provider-logo {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .ffe-provider-name {
        font-size: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLET (768px - 1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #ffe-aggregator-rates {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   TOUCH DEVICE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .ffe-provider-card:hover {
        transform: none;
    }

    /* Add active state for touch feedback */
    .ffe-provider-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Larger touch targets */
    .ffe-provider-select-btn {
        padding: 16px 20px;
        font-size: 15px;
    }

    #ffe-refresh-rates {
        padding: 14px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   DARK MODE VARIATIONS (if theme supports it)
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
    .ffe-provider-card {
        background: #0a0a0a;
        border-color: #2a2a2a;
    }

    .ffe-provider-rate-display {
        background: rgba(255, 215, 0, 0.08);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   ACCESSIBILITY ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-provider-card:focus-visible {
    outline: 3px solid var(--ffe-primary, #FFD700);
    outline-offset: 2px;
}

/* Reduced motion for users with motion sensitivity */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ffe-provider-card:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   SELECTED PROVIDER MODAL
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-selected-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

.ffe-selected-details-modal .modal-content {
    background: #0a0a0a;
    border: 2px solid var(--ffe-primary, #FFD700);
    border-radius: 16px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ffe-selected-details-modal h3 {
    color: var(--ffe-primary, #FFD700);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
}

.ffe-selected-details-modal .provider-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ffe-selected-details-modal .provider-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.ffe-selected-details-modal .provider-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.ffe-selected-details-modal .ffe-selected-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.ffe-selected-details-modal .ffe-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--ffe-primary, #FFD700);
}

.ffe-selected-details-modal .ffe-method-badge svg {
    width: 14px;
    height: 14px;
}

.ffe-selected-details-modal .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ffe-selected-details-modal .detail-row:last-of-type {
    border-bottom: none;
}

.ffe-selected-details-modal .detail-row .label {
    color: #999;
    font-size: 14px;
}

.ffe-selected-details-modal .detail-row .value {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.ffe-selected-details-modal .actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.ffe-selected-details-modal .ffe-btn-primary {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #F7931A 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ffe-selected-details-modal .ffe-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════
   SKELETON LOADING CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-skeleton-card {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 14px;
    height: 200px;
    margin-bottom: 16px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   NO PROVIDERS MESSAGE
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-no-providers {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   REFRESH CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-refresh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-top: 16px;
}

.ffe-refresh-rates {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--ffe-primary, #FFD700);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ffe-refresh-rates:hover {
    background: rgba(255, 215, 0, 0.2);
}

.ffe-last-updated {
    color: #666;
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ERROR AND WARNING MESSAGES
   ═══════════════════════════════════════════════════════════════════════ */
.ffe-error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}

.ffe-stale-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #FFC107;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════ */
@media print {
    #ffe-aggregator-container {
        page-break-inside: avoid;
    }

    .ffe-provider-card {
        border: 1px solid #ddd;
        box-shadow: none;
    }

    #ffe-refresh-rates,
    .ffe-refresh-rates {
        display: none;
    }

    .ffe-selected-details-modal {
        display: none !important;
    }
}
