/*
 * Xila Features CSS — Rozgar / My Dashboard / Result Check
 * File: /wp-content/themes/xila/assets/css/features.css
 *
 * World-class, modern newspaper-inspired design
 */

/* ─────────────
   ROZGAR PATRIKA — Govt Employment News ───────────── */

/*
 * ─────────────
 *  ROZGAR / EMPLOYMENT NEWS — roz-* prefix
 *  File: /wp-content/themes/xila/assets/css/features.css
 *  Section: पूरा ROZGAR PATRIKA block replace करें
 *  (lines: .rozgar-page { से लेकर .rozgar-empty-icon { तक)
 * ─────────────
 */

/* ── Layout override: hide right sidebar, full-width ─────────────── */
.roz-layout {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}
.roz-layout .xila-sidebar-right { display: none !important; }

/* Mobile: single column, hide left sidebar too */
@media (max-width: 900px) {
    .roz-layout {
        grid-template-columns: 1fr !important;
    }
    .roz-layout .xila-sidebar-left { display: none !important; }
}

/* Mobile feed top — only on mobile */
.roz-mobile-top { display: none; }
@media (max-width: 900px) {
    .roz-mobile-top { display: block; margin-bottom: 4px; }
}

/* ── Page wrapper ────────────────── */
.roz-page { padding-bottom: 60px; }

/* ───────────── MASTHEAD — Newspaper style ───────────── */
.roz-masthead {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1445 0%, #1a2980 45%, #1565c0 75%, #0d47a1 100%);
    border-radius: 18px;
    margin-bottom: 14px;
    box-shadow: 0 8px 40px rgba(13,71,161,.35), 0 2px 8px rgba(0,0,0,.2);
}

/* Decorative orbs */
.roz-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: .07;
}
.roz-orb--1 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    top: -120px; right: -80px;
}
.roz-orb--2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    bottom: -60px; left: 30%;
    opacity: .1;
}

/* Inner grid: date | brand | stats */
.roz-masthead-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 28px 18px;
}

/* Date column */
.roz-mh-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.roz-mh-day {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,.4);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.roz-mh-fulldate {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    white-space: nowrap;
}

/* Brand / center */
.roz-mh-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.roz-mh-logo-wrap {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(6px);
    margin-bottom: 2px;
}
.roz-mh-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1;
}
.roz-mh-word1 {
    font-size: 30px;
    font-weight: 900;
    color: #fbbf24;
    letter-spacing: -0.5px;
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 2px 12px rgba(251,191,36,.3);
}
.roz-mh-word2 {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    font-family: Georgia, 'Times New Roman', serif;
}
.roz-mh-tagline {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    letter-spacing: .5px;
}
/* Decorative divider line */
.roz-mh-line {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    margin-top: 2px;
}
.roz-mh-line span:not(.roz-mh-line-dot) {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.15);
}
.roz-mh-line-dot {
    font-size: 8px;
    color: rgba(251,191,36,.6);
}

/* Stats column */
.roz-mh-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.roz-mh-stat { text-align: right; }
.roz-mh-stat-num {
    font-size: 30px;
    font-weight: 900;
    color: #34d399;
    line-height: 1;
}
.roz-mh-stat--accent .roz-mh-stat-num { color: #fb923c; }
.roz-mh-stat-lbl {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    white-space: nowrap;
}

/* ── Live Ticker bar ───────────────── */
.roz-ticker-bar {
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
}
.roz-ticker-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    font-size: 10px;
    font-weight: 900;
    color: #fca5a5;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(239,68,68,.12);
}
.roz-ticker-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    animation: rozDotPulse 1.1s ease-in-out infinite;
}
@keyframes rozDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .3; transform: scale(.7); }
}
.roz-ticker-scroll { flex: 1; overflow: hidden; }
.roz-ticker-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: rozTickerScroll 42s linear infinite;
    will-change: transform;
}
.roz-ticker-inner:hover { animation-play-state: paused; }
@keyframes rozTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.roz-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 36px 0 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.8);
    cursor: pointer;
    transition: color .1s;
}
.roz-ticker-item:hover { color: #fff; }
/* Ticker badges */
.roz-tb {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 4px;
    letter-spacing: .6px;
    white-space: nowrap;
}
.roz-tb--today  { background: rgba(239,68,68,.3);  color: #fca5a5; border: 1px solid rgba(239,68,68,.4); }
.roz-tb--urgent { background: rgba(245,158,11,.25); color: #fde68a; border: 1px solid rgba(245,158,11,.4); }
.roz-tb--open   { background: rgba(34,197,94,.2);  color: #86efac; border: 1px solid rgba(34,197,94,.35); }

/* Responsive masthead */
@media (max-width: 640px) {
    .roz-masthead-inner {
        grid-template-columns: 1fr;
        padding: 18px 18px 14px;
        text-align: center;
    }
    .roz-mh-date, .roz-mh-stats { align-items: center; }
    .roz-mh-stat { text-align: center; }
    .roz-mh-stats { flex-direction: row; justify-content: center; gap: 24px; }
    .roz-mh-word1, .roz-mh-word2 { font-size: 24px; }
    .roz-mh-stat-num { font-size: 24px; }
    .roz-mh-logo-wrap { margin: 0 auto; }
}

/* ───────────── FILTER TOOLBAR ───────────── */
.roz-toolbar {
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Sector scroll row */
.roz-sector-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 12px 16px;
    scrollbar-width: none;
    border-bottom: 1px solid #f1f5f9;
}
.roz-sector-row::-webkit-scrollbar { display: none; }

.roz-sector-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}
.roz-sector-tab:hover { border-color: #3b82f6; color: #2563eb; background: #eff6ff; }
.roz-sector-tab.is-active {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 12px rgba(37,99,235,.28);
}

/* Status row */
.roz-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    flex-wrap: wrap;
}
.roz-status-btn {
    padding: 5px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all .12s;
    white-space: nowrap;
}
.roz-status-btn:hover { border-color: #94a3b8; color: #1e293b; }
.roz-status-btn.is-active { background: #1e293b; border-color: #1e293b; color: #fff; }
.roz-count {
    margin-left: auto;
    font-size: 12px;
    color: #94a3b8;
}

/* ───────────── CARD GRID ───────────── */
.roz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}

/* ── Card ─────────────────── */
.roz-card {
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s, border-color .18s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    position: relative;
}
.roz-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 28px rgba(37,99,235,.13);
    transform: translateY(-2px);
}

/* State variants */
.roz-card--today  { border-color: #fca5a5; box-shadow: 0 0 0 2px rgba(239,68,68,.1); }
.roz-card--urgent { border-left: 4px solid #f59e0b; }
.roz-card--soon   { border-left: 3px solid #a78bfa; }
.roz-card--open   { border-left: 3px solid #22c55e; }
.roz-card--expired { opacity: .68; filter: grayscale(.2); }

/* ── Urgency strip (top of card — NOT a rotated ribbon) ──────────── */
.roz-strip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.roz-strip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Strip color themes */
.roz-strip--today   { background:#fef2f2; color:#dc2626; border-bottom:1px solid #fecaca; }
.roz-strip--today .roz-strip-dot { background:#ef4444; animation:rozDotPulse 1s infinite; }

.roz-strip--urgent  { background:#fffbeb; color:#b45309; border-bottom:1px solid #fde68a; }
.roz-strip--urgent .roz-strip-dot { background:#f59e0b; }

.roz-strip--soon    { background:#faf5ff; color:#6d28d9; border-bottom:1px solid #ddd6fe; }
.roz-strip--soon .roz-strip-dot { background:#8b5cf6; }

.roz-strip--open    { background:#f0fdf4; color:#166534; border-bottom:1px solid #bbf7d0; }
.roz-strip--open .roz-strip-dot { background:#22c55e; }

.roz-strip--expired  { background:#f8fafc; color:#94a3b8; border-bottom:1px solid #e2e8f0; }
.roz-strip--expired .roz-strip-dot { background:#cbd5e1; }

.roz-strip--archived { background:#f1f5f9; color:#64748b; border-bottom:1px solid #e2e8f0; }
.roz-strip--archived .roz-strip-dot { background:#94a3b8; }

.roz-strip--closed   { background:#fafafa; color:#78716c; border-bottom:1px solid #e7e5e4; }
.roz-strip--closed .roz-strip-dot { background:#a8a29e; }

/* ── Card body ───────────────────── */
.roz-card-body { padding: 14px 14px 10px; flex: 1; display: flex; flex-direction: column; }

.roz-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.roz-evt-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid;
    flex-shrink: 0;
    white-space: nowrap;
}
.roz-org {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.roz-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #94a3b8;
}
.roz-status--active   { background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,.2); }
.roz-status--upcoming { background: #f59e0b; }
.roz-status--closed   { background: #94a3b8; }
.roz-status--archived { background: #cbd5e1; }

/* Title */
.roz-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 7px;
    color: #1e293b;
    flex: 1;
}
.roz-title-link {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .12s;
}
.roz-title-link:hover { color: #2563eb; }

.roz-shorts {
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer */
.roz-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.roz-date {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
}
.roz-date--today   { color: #dc2626; }
.roz-date--urgent  { color: #d97706; }
.roz-date--expired {
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-color: #cbd5e1;
}
.roz-sector-pill {
    font-size: 10px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Action buttons ──────────────── */
.roz-card-actions {
    display: flex;
    gap: 6px;
    padding: 10px 14px 12px;
    border-top: 1px solid #f8fafc;
    background: linear-gradient(to bottom, #fafbff, #f7f9ff);
}
.roz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .15s;
    white-space: nowrap;
    line-height: 1.3;
}
.roz-btn:active { transform: scale(.96); }

.roz-btn--article {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.roz-btn--article:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
    box-shadow: 0 3px 10px rgba(29,78,216,.25);
}

.roz-btn--updates {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}
.roz-btn--updates:hover {
    background: #15803d;
    color: #fff;
    border-color: #15803d;
    box-shadow: 0 3px 10px rgba(21,128,61,.25);
}

/* ── Empty state ──────────────── */
.roz-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    border: 1.5px dashed #e2e8f0;
}
.roz-empty-icon { font-size: 42px; opacity: .4; margin-bottom: 12px; }
.roz-empty p    { color: #94a3b8; font-size: 14px; line-height: 1.6; }

/* Grid responsive */
@media (max-width: 640px) {
    .roz-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ───────────── MY EXAM DASHBOARD ───────────── */

.mxd-page { padding-bottom: 40px; }

/* Locked state */
.mxd-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 16px;
}
.mxd-locked-graphic { position: relative; width: 80px; height: 80px; margin: 0 auto 20px; }
.mxd-locked-icon { position: relative; z-index: 2; font-size: 40px; line-height: 80px; text-align: center; }
.mxd-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #2563eb;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: mxdRing 2s ease-in-out infinite;
}
.mxd-ring--1 { width: 50px; height: 50px; opacity: .4; animation-delay: 0s; }
.mxd-ring--2 { width: 70px; height: 70px; opacity: .25; animation-delay: .4s; }
.mxd-ring--3 { width: 90px; height: 90px; opacity: .1; animation-delay: .8s; }
@keyframes mxdRing {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .4; }
    50%       { transform: translate(-50%,-50%) scale(1.1); opacity: .1; }
}
.mxd-locked-title { font-size: 20px; font-weight: 800; color: #1e293b; margin: 0 0 8px; }
.mxd-locked-desc  { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0 0 20px; }
.mxd-locked-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 360px;
}
.mxd-locked-feat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.mxd-login-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    transition: all .15s;
}
.mxd-login-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }

/* Header */
.mxd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.mxd-header-left { display: flex; align-items: center; gap: 12px; }
.mxd-header-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff; font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,.3);
}
.mxd-header-greeting { font-size: 11px; color: rgba(255,255,255,.6); }
.mxd-header-name { font-size: 16px; font-weight: 800; color: #fff; }
.mxd-header-date { font-size: 12px; color: rgba(255,255,255,.7); text-align: right; }
.mxd-loading-indicator { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.mxd-spinner {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    animation: mxdSpin .8s linear infinite;
}
@keyframes mxdSpin { to { transform: rotate(360deg); } }

/* Stats */
.mxd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.mxd-stat {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.mxd-stat--warn   { border-color: #fde68a; background: #fffbeb; }
.mxd-stat--purple { border-color: #ddd6fe; background: #faf5ff; }
.mxd-stat--green  { border-color: #bbf7d0; background: #f0fdf4; }
.mxd-stat-num { font-size: 22px; font-weight: 900; color: #1e293b; line-height: 1; }
.mxd-stat--warn .mxd-stat-num   { color: #d97706; }
.mxd-stat--purple .mxd-stat-num { color: #7c3aed; }
.mxd-stat--green .mxd-stat-num  { color: #16a34a; }
.mxd-stat-lbl { font-size: 10px; color: #94a3b8; margin-top: 4px; font-weight: 600; }

/* Skeletons */
.mxd-skeleton { display: flex; flex-direction: column; gap: 10px; }
.mxd-skel-card {
    height: 90px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: mxdShimmer 1.4s infinite;
    border-radius: 12px;
}
.mxd-skel-card--wide { height: 150px; }
@keyframes mxdShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Section */
.mxd-section { margin-bottom: 16px; }
.mxd-section-head {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 0 8px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 10px;
}
.mxd-sh-icon { font-size: 16px; }
.mxd-sh-title { font-size: 14px; font-weight: 800; color: #1e293b; }

/* Exam card */
.mxd-exam-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    transition: box-shadow .15s;
    border-left: 3px solid #94a3b8;
}
.mxd-exam-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.mxd-exam--active   { border-left-color: #22c55e; }
.mxd-exam--upcoming { border-left-color: #f59e0b; }
.mxd-exam--closed   { border-left-color: #94a3b8; opacity: .85; }

.mxd-exam-head {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 10px;
    margin-bottom: 10px;
}
.mxd-exam-head-left { flex: 1; min-width: 0; }
.mxd-exam-org { font-size: 10.5px; color: #94a3b8; font-weight: 600; margin-bottom: 3px; }
.mxd-exam-title {
    font-size: 13.5px; font-weight: 700; color: #1e293b;
    text-decoration: none; line-height: 1.4; display: block; cursor: pointer;
}
.mxd-exam-title:hover { color: #2563eb; }
.mxd-exam-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }

.mxd-status-badge {
    font-size: 10px; font-weight: 700; padding: 2px 8px;
    border-radius: 10px; white-space: nowrap;
}
.mxd-status--active   { background: #dcfce7; color: #16a34a; }
.mxd-status--upcoming { background: #fef3c7; color: #d97706; }
.mxd-status--closed   { background: #f1f5f9; color: #94a3b8; }

.mxd-exam-cd {}
.mxd-cd {
    font-size: 11px; font-weight: 700;
    color: #16a34a; background: #dcfce7;
    padding: 2px 8px; border-radius: 20px; display: inline-block;
}
.mxd-cd--warn     { color: #d97706; background: #fef3c7; }
.mxd-cd--urgent   { color: #ea580c; background: #ffedd5; }
.mxd-cd--critical { color: #dc2626; background: #fee2e2; animation: mxdPulse 1s infinite; }
.mxd-cd--done     { color: #94a3b8; background: #f1f5f9; }
@keyframes mxdPulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

.mxd-exam-dates {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding-top: 8px; border-top: 1px solid #f8fafc;
}
.mxd-date-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f8fafc; border: 1px solid #e8edf2; border-radius: 6px;
    padding: 4px 8px; font-size: 11px;
}
.mxd-date-type-icon { font-size: 12px; }
.mxd-date-label { color: #64748b; font-weight: 600; }
.mxd-date-val { color: #1e293b; font-weight: 700; margin-left: 4px; }

/* Signals */
.mxd-signals { display: flex; flex-direction: column; gap: 8px; }
.mxd-signal {
    padding: 10px 14px; border-radius: 10px;
    border: 1px solid #e2e8f0; background: #fff;
}
.mxd-signal--critical { background: #fff5f5; border-color: #fecaca; }
.mxd-signal--high     { background: #fff7ed; border-color: #fed7aa; }
.mxd-signal--medium   { background: #fffbeb; border-color: #fde68a; }
.mxd-signal--info     { background: #f0fdf4; border-color: #bbf7d0; }
.mxd-signal-badge {
    font-size: 10.5px; font-weight: 700; padding: 2px 8px;
    border-radius: 20px; background: #eff6ff; color: #2563eb;
    display: inline-block; margin-bottom: 4px;
}
.mxd-signal--critical .mxd-signal-badge { background: #fee2e2; color: #dc2626; }
.mxd-signal--high     .mxd-signal-badge { background: #ffedd5; color: #ea580c; }
.mxd-signal--medium   .mxd-signal-badge { background: #fef3c7; color: #d97706; }
.mxd-signal--info     .mxd-signal-badge { background: #dcfce7; color: #16a34a; }
.mxd-signal-title {
    font-size: 13px; font-weight: 600; color: #1e293b;
    text-decoration: none; display: block; line-height: 1.4; cursor: pointer;
}
.mxd-signal-title:hover { color: #2563eb; }
.mxd-signal-cd { margin-top: 5px; }

/* Empty */
.mxd-empty { text-align: center; padding: 40px 20px; }
.mxd-empty-icon { font-size: 40px; opacity: .4; margin-bottom: 12px; }
.mxd-empty h3 { font-size: 17px; font-weight: 800; color: #1e293b; margin: 0 0 6px; }
.mxd-empty p  { font-size: 13px; color: #64748b; margin: 0 0 16px; }
.mxd-goto-feed {
    display: inline-block; padding: 10px 22px;
    background: #2563eb; color: #fff; border-radius: 20px;
    font-size: 13px; font-weight: 700; text-decoration: none;
    transition: all .15s;
}
.mxd-goto-feed:hover { background: #1d4ed8; }

.mxd-exam-list { display: flex; flex-direction: column; gap: 10px; }

/* ───────────── IS RESULT OUT? — Page ───────────── */

.rc-page { padding-bottom: 40px; }

/* Hero */
.rc-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #7c3aed 100%);
    border-radius: 20px;
    padding: 36px 28px 28px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rc-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 60%);
    pointer-events: none;
}

.rc-hero-visual { margin-bottom: 16px; }
.rc-hero-icon-wrap { display: inline-block; position: relative; }
.rc-hero-icon { font-size: 48px; position: relative; z-index: 2; }
.rc-hero-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px; border-radius: 50%;
    background: rgba(255,255,255,.1);
    animation: rcPulse 2s ease-in-out infinite;
}
@keyframes rcPulse { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .5; } 50% { transform: translate(-50%,-50%) scale(1.3); opacity: .1; } }

.rc-hero-title { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 6px; }
.rc-hero-sub   { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 24px; }

/* Search */
.rc-search-wrap { position: relative; max-width: 500px; margin: 0 auto 16px; }
.rc-search-box {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 50px;
    padding: 12px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.rc-search-icon { color: #94a3b8; flex-shrink: 0; }
.rc-input {
    flex: 1; border: none; outline: none;
    font-size: 14px; color: #1e293b; background: transparent;
}
.rc-input::placeholder { color: #94a3b8; }
.rc-clear-btn {
    background: none; border: none; color: #94a3b8;
    cursor: pointer; font-size: 14px; padding: 0 4px;
}
.rc-clear-btn:hover { color: #1e293b; }

.rc-suggestions {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    overflow: hidden; z-index: 100; max-height: 300px; overflow-y: auto;
}
.rc-suggestion {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; cursor: pointer;
    border-bottom: 1px solid #f8fafc; transition: background .1s;
}
.rc-suggestion:hover { background: #f8fafc; }
.rc-sug-icon  { color: #94a3b8; font-size: 14px; flex-shrink: 0; }
.rc-sug-title { flex: 1; font-size: 13px; font-weight: 600; color: #1e293b; }
.rc-sug-org   { font-size: 11px; color: #94a3b8; }

/* Quick chips */
.rc-quick-chips {
    display: flex; align-items: center; gap: 6px;
    justify-content: center; flex-wrap: wrap;
}
.rc-chips-label { font-size: 11px; color: rgba(255,255,255,.6); }
.rc-chip {
    padding: 4px 12px; border-radius: 20px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .12s;
}
.rc-chip:hover { background: rgba(255,255,255,.2); }

/* Results */
.rc-result-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.rc-result-item {
    background: #fff; border: 1px solid #e8edf2; border-radius: 12px;
    padding: 14px; transition: box-shadow .15s;
    border-left: 4px solid #e2e8f0;
}
.rc-result-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.rc-result--yes { border-left-color: #22c55e; }
.rc-result--no  { border-left-color: #f59e0b; }

.rc-result-head {
    display: flex; align-items: flex-start; gap: 10px;
}
.rc-result-status-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.rc-result-info { flex: 1; min-width: 0; }
.rc-result-title {
    font-size: 14px; font-weight: 700; color: #1e293b;
    text-decoration: none; display: block; line-height: 1.4; cursor: pointer;
}
.rc-result-title:hover { color: #2563eb; }
.rc-result-org { font-size: 11.5px; color: #94a3b8; margin-top: 3px; }

.rc-result-badge {
    font-size: 11px; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.rc-badge--yes { background: #dcfce7; color: #16a34a; }
.rc-badge--no  { background: #fef3c7; color: #d97706; }

.rc-result-date {
    font-size: 12px; color: #64748b; margin-top: 8px;
    padding-top: 8px; border-top: 1px solid #f8fafc;
}
.rc-result-link {
    display: inline-block; margin-top: 8px;
    font-size: 12px; font-weight: 700; color: #2563eb;
    text-decoration: none;
}

.rc-no-result { text-align: center; padding: 30px; color: #64748b; }
.rc-no-result-icon { font-size: 32px; margin-bottom: 10px; opacity: .5; }
.rc-no-result h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin: 0 0 6px; }

/* Recent */
.rc-recent {
    background: #fff; border: 1px solid #e8edf2; border-radius: 14px; overflow: hidden;
}
.rc-recent-head {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; background: #f8fafc;
    border-bottom: 1px solid #e8edf2;
}
.rc-recent-icon { font-size: 15px; }
.rc-recent-title { font-size: 13px; font-weight: 800; color: #1e293b; }

.rc-recent-items { list-style: none; margin: 0; padding: 0; }
.rc-recent-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; border-bottom: 1px solid #f8fafc; gap: 10px;
}
.rc-recent-item:last-child { border-bottom: none; }
.rc-recent-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.rc-recent-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; flex-shrink: 0;
}
.rc-recent-title {
    font-size: 12.5px; font-weight: 600; color: #1e293b;
    text-decoration: none; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-recent-title:hover { color: #2563eb; }
.rc-recent-date { font-size: 11px; color: #94a3b8; white-space: nowrap; flex-shrink: 0; }

.rc-loading { text-align: center; padding: 20px; }

/* ── Result Check Widget (Mini) ─────────────────────────────── */
.rcw-bar {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    transition: all .2s;
}
.rcw-inner { display: flex; align-items: center; gap: 10px; }
.rcw-icon { font-size: 20px; flex-shrink: 0; }
.rcw-form { flex: 1; min-width: 0; }
.rcw-label { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 5px; letter-spacing: .5px; }
.rcw-search-row { display: flex; gap: 6px; }
.rcw-input-wrap { flex: 1; position: relative; }
.rcw-input {
    width: 100%; border: none; border-radius: 20px;
    padding: 7px 14px; font-size: 12.5px;
    background: rgba(255,255,255,.15); color: #fff;
    outline: none;
}
.rcw-input::placeholder { color: rgba(255,255,255,.5); }
.rcw-input:focus { background: rgba(255,255,255,.2); }

.rcw-full-btn {
    flex-shrink: 0; padding: 7px 14px;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 20px; font-size: 11.5px; font-weight: 700;
    text-decoration: none; white-space: nowrap; transition: all .12s;
}
.rcw-full-btn:hover { background: rgba(255,255,255,.25); }

.rcw-live-results {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #fff; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    overflow: hidden; z-index: 200;
}
.rcw-result {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f8fafc;
    transition: background .1s;
}
.rcw-result:hover { background: #f8fafc; }
.rcw-result-icon { font-size: 14px; flex-shrink: 0; }
.rcw-result-title { flex: 1; font-size: 12.5px; font-weight: 600; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcw-badge {
    font-size: 10px; font-weight: 700; padding: 2px 7px;
    border-radius: 10px; flex-shrink: 0;
}
.rcw-badge--yes { background: #dcfce7; color: #16a34a; }
.rcw-badge--no  { background: #fef3c7; color: #d97706; }
.rcw-no-result { padding: 12px; font-size: 12px; color: #94a3b8; text-align: center; }

/* ── Responsive ────────────────── */
@media (max-width: 640px) {
    .rozgar-grid { grid-template-columns: 1fr 1fr; }
    .rozgar-masthead-top { flex-wrap: wrap; gap: 10px; }
    .rozgar-masthead-roz, .rozgar-masthead-pat { font-size: 22px; }
    .mxd-stats { grid-template-columns: repeat(2, 1fr); }
    .mxd-locked-features { grid-template-columns: 1fr; }
    .rc-hero { padding: 24px 16px 20px; }
    .rc-hero-title { font-size: 22px; }
    .rc-result-head { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .rozgar-grid { grid-template-columns: 1fr; }
}