/* =====================================
   Countdown Timer Banner
   ===================================== */
.fxc-countdown-banner {
    position: relative;
    left: 0;
    right: 0;
    z-index: 1;
    background: linear-gradient(135deg, var(--dark-blue-200) 0%, var(--dark-blue-100) 100%);
    padding: 6px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.fxc-countdown-banner .fxc-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.countdown-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.countdown-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 16px;
}

.countdown-close:hover {
    color: var(--white);
    transform: scale(1.1);
}

.countdown-close:active {
    transform: scale(0.95);
}

.countdown-close svg {
    display: block;
}

.countdown-text {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 38px;
}

.time-value {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 3px;
    min-width: 38px;
    text-align: center;
}

.time-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.time-separator {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin: 0 1px;
    line-height: 1;
    padding-bottom: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .fxc-countdown-banner {
        padding: 5px 0;
    }
    
    .countdown-content {
        gap: 10px;
    }
    
    .countdown-text {
        font-size: 11px;
        text-align: center;
        width: 100%;
    }
    
    .countdown-close {
        margin-left: 8px;
        padding: 6px;
    }
    
    .time-unit {
        min-width: 32px;
    }
    
    .time-value {
        font-size: 14px;
        padding: 3px 6px;
        min-width: 32px;
    }
    
    .time-label {
        font-size: 8px;
    }
    
    .time-separator {
        font-size: 14px;
        margin: 0 1px;
        padding-bottom: 8px;
    }
    
    .countdown-timer {
        gap: 4px;
    }
}

@media screen and (max-width: 480px) {
    .fxc-countdown-banner {
        padding: 4px 0;
    }
    
    .countdown-text {
        font-size: 10px;
    }
    
    .time-unit {
        min-width: 28px;
    }
    
    .time-value {
        font-size: 13px;
        padding: 2px 5px;
        min-width: 28px;
    }
    
    .time-label {
        font-size: 7px;
    }
    
    .time-separator {
        font-size: 13px;
        padding-bottom: 7px;
    }
    
    .countdown-timer {
        gap: 3px;
    }
    
    .countdown-close {
        margin-left: 4px;
        padding: 4px;
    }
    
    .countdown-close svg {
        width: 14px;
        height: 14px;
    }
}

/* RTL Support */
[lang="ar"] .countdown-content {
    direction: rtl;
}
