/**
 * Countdown Banner - Fresh Slim Design
 * Location: /wp-content/plugins/daf-marketplace/assets/css/countdown-banner.css
 */

.daf-mp-countdown-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* LEFT SIDE */
.daf-mp-countdown-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.daf-mp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    background: #10b981;
    color: #ffffff;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 24px;
}

.daf-mp-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.daf-mp-headline {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.daf-mp-subtitle {
    font-size: 0.6875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* RIGHT SIDE */
.daf-mp-countdown-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* TIMER */
.daf-mp-timer {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.daf-mp-timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 0.375rem 0.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.daf-mp-num {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
    display: block;
}

.daf-mp-label {
    font-size: 0.4375rem;
    color: #9ca3af;
    text-transform: uppercase;
    display: block;
    margin-top: 0.1875rem;
}

/* BUTTON */
.daf-mp-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    height: 32px;
}

.daf-mp-btn:hover {
    background: #059669;
}

.daf-mp-btn-text {
    font-weight: 600;
}

.daf-mp-btn-icon {
    font-size: 0.875rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .daf-mp-countdown-section {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .daf-mp-countdown-left {
        width: 100%;
    }

    .daf-mp-headline,
    .daf-mp-subtitle {
        white-space: normal;
    }

    .daf-mp-countdown-right {
        width: 100%;
        justify-content: space-between;
    }

    .daf-mp-timer {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .daf-mp-countdown-section {
        padding: 0.75rem;
    }

    .daf-mp-countdown-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .daf-mp-timer {
        width: 100%;
        justify-content: center;
    }

    .daf-mp-timer-box {
        min-width: 42px;
    }

    .daf-mp-num {
        font-size: 0.9375rem;
    }

    .daf-mp-btn {
        width: 100%;
        justify-content: center;
    }
}