/* ================================================
   NaukriDisha Deadline Box - Branded Design
   Colors: Orange #FF6B00, Navy #1a1a2e, White #fff
   ================================================ */

.jdm-deadline-notification-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 20px 0 28px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

/* ── Header bar ── */
.jdm-header-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.jdm-header-bar .jdm-org-label {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.jdm-header-bar .jdm-status-pill {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.jdm-status-pill.open   { background: #22c55e; color: #fff; }
.jdm-status-pill.closed { background: #ef4444; color: #fff; }
.jdm-status-pill.upcoming { background: #3b82f6; color: #fff; }

/* ── Body: horizontal layout ── */
.jdm-body {
    background: #fff;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/* ── Each info cell ── */
.jdm-info-cell {
    flex: 1;
    min-width: 120px;
    padding: 6px 18px 6px 0;
    border-right: 2px solid #f0f0f0;
}
.jdm-info-cell:last-of-type {
    border-right: none;
}
.jdm-info-cell .jdm-cell-label {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
}
.jdm-info-cell .jdm-cell-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}
.jdm-info-cell .jdm-cell-value.orange { color: #FF6B00; }

/* ── Countdown timer ── */
.jdm-countdown-wrapper {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e8e8e8;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.jdm-countdown-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}
.jdm-countdown-timer-element {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.timer-block {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    min-width: 58px;
}
.timer-block span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #FF6B00;
    line-height: 1.1;
}
.timer-block small {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-top: 3px;
}
.jdm-timer-expired {
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
}

/* ── Expired / Upcoming states ── */
.jdm-state-upcoming .jdm-body,
.jdm-state-expired .jdm-body {
    justify-content: flex-start;
    gap: 12px;
}
.jdm-state-message {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}
.jdm-state-message span {
    color: #FF6B00;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .jdm-body { flex-direction: column; align-items: flex-start; gap: 12px; }
    .jdm-info-cell { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 0 0 12px 0; width: 100%; }
    .jdm-info-cell:last-of-type { border-bottom: none; }
    .timer-block { min-width: 50px; padding: 6px 10px; }
    .timer-block span { font-size: 18px; }
}
