/* ==========================================================================
   MS PRO RESULTS - Complete Master Production Stylesheet
   Version: 11.0.0 (Bug-Free, Fully Responsive & Clean UI)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & DESIGN VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --ms-primary: #ab1e24;
    --ms-primary-dark: #820b0b;
    --ms-header-start: #d32020;
    --ms-header-end: #a91212;
    --ms-nav-bg: #1a1a1a;
    --ms-nav-hover: #c02424;
    --ms-link-blue: #0000ee;
    --ms-text-dark: #0f172a;
    --ms-text-muted: #64748b;
    --ms-border: #cbd5e1;
    --ms-bg-light: #f8fafc;
    --ms-white: #ffffff;
    --ms-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #f1f5f9;
    font-family: var(--ms-font-base);
    color: var(--ms-text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.ms-site-wrapper {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
}

.ms-main-content {
    width: 100%;
    padding: 14px 0 24px;
    background-color: #ffffff;
}

.ms-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 12px;
}

/* --------------------------------------------------------------------------
   2. CONTAINERS & LAYOUT WIDTHS
   -------------------------------------------------------------------------- */
.ms-container-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
}

.ms-container-compact {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto;
    padding: 0 12px;
}

.ms-container-wide {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 16px;
}

a {
    color: var(--ms-link-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   3. HEADER BANNER & LOGO CUSTOMIZER
   -------------------------------------------------------------------------- */
.ms-header-banner {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--ms-header-start) 0%, var(--ms-header-end) 100%);
    padding: 16px 0;
    border-bottom: 2px solid var(--ms-primary-dark);
}

.ms-banner-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.ms-header-align-left .ms-banner-flex {
    justify-content: flex-start !important;
    text-align: left !important;
}

.ms-header-align-left .ms-banner-titles {
    text-align: left !important;
}

.ms-banner-logo {
    flex-shrink: 0;
}

.ms-logo-link {
    text-decoration: none;
    display: inline-block;
}

.ms-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ms-white);
    border: 3px solid #0056b3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.ms-logo-circle i {
    font-size: 22px;
}

.ms-logo-circle span {
    font-size: 8px;
    font-weight: 800;
    margin-top: 2px;
}

.ms-banner-titles {
    text-align: center;
}

.ms-site-title {
    margin: 0;
    line-height: 1.1;
}

.ms-site-title a {
    color: var(--ms-white);
    font-size: clamp(22px, 4.5vw, 40px);
    font-weight: 800;
    text-decoration: none;
}

.ms-site-tagline {
    color: var(--ms-white);
    font-size: clamp(11px, 2.2vw, 13.5px);
    font-weight: 600;
    margin-top: 3px;
}

/* --------------------------------------------------------------------------
   4. HORIZONTAL NAVBAR & SEARCH OVERLAY
   -------------------------------------------------------------------------- */
.ms-navbar {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background-color: var(--ms-nav-bg);
    border-bottom: 3px solid var(--ms-primary);
}

.ms-search-bar-wrap {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.ms-navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}

.ms-nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ms-menu-scroll-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ms-menu-scroll-container::-webkit-scrollbar {
    display: none;
}

.ms-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.ms-nav-links li {
    list-style: none;
    flex-shrink: 0;
}

.ms-nav-links li a {
    display: block;
    padding: 12px 14px;
    color: var(--ms-white);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: bold;
    border-right: 1px solid #2d2d2d;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.ms-nav-links li a:hover,
.ms-nav-links li.current-menu-item a {
    background-color: var(--ms-nav-hover);
}

.ms-nav-search-btn {
    background-color: #2b2b2b;
    color: var(--ms-white);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    user-select: none;
    transition: background-color 0.2s ease;
}

.ms-nav-search-btn:hover {
    background-color: var(--ms-primary);
}

.ms-search-bar-wrap {
    display: none;
    width: 100%;
    background: #f8fafc;
    border-bottom: 2px solid #cbd5e1;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 998;
}

.ms-search-bar-wrap.active {
    display: block !important;
    animation: msSearchSlide 0.2s ease;
}

@keyframes msSearchSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ms-search-form {
    display: flex;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.ms-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-right: none;
    font-size: 13.5px;
    outline: none;
    border-radius: 6px 0 0 6px;
    background: #ffffff;
    color: #0f172a;
}

.ms-search-form input:focus {
    border-color: var(--ms-primary);
}

.ms-search-form button {
    padding: 10px 22px;
    background: var(--ms-primary);
    color: var(--ms-white);
    border: 1.5px solid var(--ms-primary);
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background-color 0.15s;
}

.ms-search-form button:hover {
    background: var(--ms-primary-dark);
}

/* --------------------------------------------------------------------------
   5. STATE FILTER RIBBON
   -------------------------------------------------------------------------- */
.ms-state-filters-wrapper {
    margin: 10px 0 8px;
    text-align: center;
    width: 100%;
}

.ms-state-filters-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.ms-state-btn {
    background-color: #0056b3;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    line-height: 1.2;
    transition: background-color 0.15s, transform 0.1s;
}

.ms-state-btn:hover {
    background-color: var(--ms-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. NOTICE BOX & LIVE MARQUEE TICKER
   -------------------------------------------------------------------------- */
.ms-pro-notice-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fffde7;
    border: 1px solid #fde68a;
    border-left: 4px solid var(--ms-primary);
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #1e293b;
}

.ms-notice-inline-icon {
    color: var(--ms-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.ms-pro-notice-card p {
    margin: 0;
}

.ms-ticker-hero-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    height: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ms-live-badge-glow {
    background: var(--ms-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.ms-live-pulse-ring {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: msPulseLive 1s infinite alternate;
}

@keyframes msPulseLive {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.ms-ticker-viewport {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 10px;
}

.ms-ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: msTickerSlide 24s linear infinite;
}

.ms-ticker-track:hover {
    animation-play-state: paused;
}

.ms-ticker-track a {
    color: #1e293b;
    font-weight: 700;
    font-size: 12.5px;
    margin-right: 20px;
    text-decoration: none;
}

.ms-ticker-track a:hover {
    color: var(--ms-primary);
}

.ms-ticker-track a i {
    color: var(--ms-primary);
    font-size: 9px;
    margin-right: 3px;
}

@keyframes msTickerSlide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --------------------------------------------------------------------------
   7. 8-GRADIENT HIGHLIGHTS GRID
   -------------------------------------------------------------------------- */
.ms-pro-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.ms-highlight-card {
    border-radius: 6px;
    padding: 12px 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}

.ms-highlight-card:hover {
    transform: translateY(-2px);
}

.ms-hl-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 3px;
}

.ms-hl-sub {
    font-size: 11px;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ms-grad-olive   { background: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%); }
.ms-grad-navy    { background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%); }
.ms-grad-orange  { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.ms-grad-maroon  { background: linear-gradient(135deg, #881337 0%, #4c0519 100%); }
.ms-grad-crimson { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.ms-grad-emerald { background: linear-gradient(135deg, #059669 0%, #065f46 100%); }
.ms-grad-purple  { background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%); }
.ms-grad-cyan    { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }

/* --------------------------------------------------------------------------
   8. COMMUNITY SOCIAL CARDS (WHATSAPP & TELEGRAM)
   -------------------------------------------------------------------------- */
.ms-pro-social-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.ms-social-card {
    border-radius: 6px;
    padding: 12px 14px;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s;
}

.ms-social-card:hover {
    transform: translateY(-1px);
}

.ms-sc-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ms-sc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ms-sc-left strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
}

.ms-sc-left span {
    font-size: 11px;
    opacity: 0.9;
}

.ms-sc-cta {
    background: rgba(0, 0, 0, 0.25);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ms-sc-whatsapp { background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); }
.ms-sc-telegram { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }

/* --------------------------------------------------------------------------
   9. CLASSIC 3-COLUMN SARKARI CATEGORY BOXES
   -------------------------------------------------------------------------- */
.ms-pro-boxes-row,
.ms-content-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ms-pro-box-col,
.ms-category-column {
    background: #ffffff;
    border: 2px solid var(--ms-primary);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ms-pbox-header,
.ms-box-header {
    background-color: var(--ms-primary);
    padding: 8px 12px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.ms-box-header h2,
.ms-pbox-header h2 {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.ms-pbox-red     { background: linear-gradient(135deg, #ab1e24 0%, #820b0b 100%); }
.ms-pbox-darkred { background: linear-gradient(135deg, #7a0c0c 0%, #4a0505 100%); }

.ms-pbox-title {
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.ms-pbox-badge {
    background: #ffffff;
    color: #ab1e24;
    font-size: 10.5px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 10px;
}

.ms-pbox-body,
.ms-box-body {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ms-pbox-list,
.ms-bullet-list {
    list-style: disc !important;
    padding-left: 20px !important;
    margin: 0 0 10px !important;
}

.ms-pbox-list li,
.ms-bullet-list li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
    display: list-item !important;
    word-break: break-word;
}

.ms-pbox-list li a,
.ms-bullet-list li a {
    color: var(--ms-link-blue);
    text-decoration: none;
    font-weight: 500;
}

.ms-pbox-list li a:hover,
.ms-bullet-list li a:hover {
    color: var(--ms-primary);
    text-decoration: underline;
}

.ms-pbox-foot,
.ms-view-btn-wrap {
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
    text-align: right;
}

.ms-pbox-view-all,
.ms-btn-view-blue {
    background-color: #007bff;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none !important;
    display: inline-block;
}

.ms-pbox-view-all:hover,
.ms-btn-view-blue:hover {
    background-color: #0056b3;
}

/* --------------------------------------------------------------------------
   10. MODERN FEED CARDS (JOBS, ADMISSION, ANSWER KEY)
   -------------------------------------------------------------------------- */
.ms-section-headline {
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.ms-section-headline h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-section-headline h2 i { color: var(--ms-primary); }
.ms-section-headline span { font-size: 12px; color: #64748b; }

.ms-modern-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ms-modern-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.ms-modern-head {
    background: linear-gradient(135deg, #ab1e24 0%, #820b0b 100%);
    color: #ffffff;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
}

.ms-modern-head-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-head-counter {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
}

.ms-modern-items {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    transition: background 0.15s;
}

.ms-item-card:hover {
    background: #f1f5f9;
}

.ms-item-info {
    flex: 1;
    padding-right: 8px;
}

.ms-item-title {
    font-size: 12.5px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ms-item-title a {
    color: #0f172a;
    text-decoration: none;
}

.ms-item-title a:hover {
    color: var(--ms-primary);
}

.ms-badge-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.ms-tag-new {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ms-pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dc2626;
    animation: msDotPulse 1s infinite alternate;
}

@keyframes msDotPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.ms-tag-updated {
    background: #fef3c7;
    color: #92400e;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ms-tag-date {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ms-btn-apply {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.ms-modern-foot {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 6px 10px;
    text-align: right;
}

.ms-foot-link {
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
}

.ms-foot-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   11. STATE DIRECTORY & TRUST BANNER
   -------------------------------------------------------------------------- */
.ms-state-hub-card,
.ms-state-table-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
}

.ms-state-hub-head,
.ms-solid-header-banner {
    background: linear-gradient(135deg, #ab1e24 0%, #820b0b 100%);
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.ms-solid-header-banner h3,
.ms-state-hub-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.ms-state-chips-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 12px;
}

.ms-state-table-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-left: 1px solid #dcdcdc;
    border-top: 1px solid #dcdcdc;
    background: var(--ms-white);
}

.ms-state-table-grid a,
.ms-state-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    color: #0044cc;
    font-weight: bold;
    font-size: 12.5px;
    transition: all 0.15s ease;
}

.ms-state-chip:hover,
.ms-state-table-grid a:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.ms-state-pin {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.ms-state-name {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

/* Modern Trust Banner & Overview Card */
.ms-portal-trust-card,
.ms-seo-content-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-top: 24px;
    margin-bottom: 8px;
}

.ms-trust-top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 12px 18px;
}

.ms-trust-top-bar h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.ms-trust-top-bar h3 i {
    color: #f59e0b;
}

.ms-trust-body,
.ms-seo-box-inner {
    padding: 20px 22px;
}

.ms-trust-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.ms-tf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.ms-tf-item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    background: #ffffff;
}

.ms-tf-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ms-tf-text strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 800;
}

.ms-tf-text span {
    font-size: 11px;
    color: #64748b;
}

.ms-trust-desc-text {
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 16px;
}

.ms-trust-desc-text p {
    margin: 0;
}

.ms-trust-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ms-tc-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ms-tc-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ms-tc-pill i {
    color: #ab1e24;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   12. SINGLE POST ARTICLE & SARKARI RESULT DETAILS TABLE
   -------------------------------------------------------------------------- */
.ms-single-wrapper {
    padding: 16px 0 35px;
    background-color: var(--ms-bg-light);
    width: 100%;
}

.ms-single-grid {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: flex-start;
    width: 100%;
}

.ms-single-article {
    flex: 1;
    min-width: 0;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    word-wrap: break-word;
}

.ms-single-sidebar {
    width: 310px;
    flex-shrink: 0;
}

.ms-post-main-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ms-text-dark);
    line-height: 1.35;
    margin-bottom: 12px;
    word-break: break-word;
}

.ms-post-meta-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--ms-text-muted);
    padding: 8px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 14px;
}

.ms-meta-left-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ms-meta-date i, .ms-meta-author i {
    color: #2563eb;
    margin-right: 4px;
}

.ms-meta-cat-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
}

.ms-btn-print-post {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

.ms-post-join-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.ms-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--ms-white) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: bold;
    padding: 9px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.ms-pill-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.ms-wa-btn { background-color: #25d366; }
.ms-tg-btn { background-color: #0088cc; }

.ms-ad-slot-wrap {
    margin: 14px 0;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.ms-ad-label {
    display: block;
    font-size: 9.5px;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 700;
}

.ms-brief-callout {
    background: #fffde7;
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--ms-primary);
    padding: 12px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #1e293b;
    word-break: break-word;
}

.ms-brief-label {
    color: var(--ms-primary);
    font-size: 13.5px;
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.ms-brief-callout p { margin: 0; }

.ms-sarkari-table-card {
    border: 2px solid var(--ms-primary);
    background: var(--ms-white);
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
}

.ms-st-head-banner {
    text-align: center;
    padding: 12px 8px;
    background: var(--ms-white);
    border-bottom: 2px solid var(--ms-primary);
}

.ms-org-name {
    color: #0b8043;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 3px;
    line-height: 1.3;
    word-break: break-word;
}

.ms-rec-title {
    color: var(--ms-primary);
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 3px;
    line-height: 1.3;
    word-break: break-word;
}

.ms-st-watermark {
    font-size: 11.5px;
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    word-break: break-all;
}

.ms-st-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ms-st-border-top {
    border-top: 2px solid var(--ms-primary);
}

.ms-st-split-block:first-child {
    border-right: 2px solid var(--ms-primary);
}

.ms-st-block-title {
    color: var(--ms-white);
    font-size: 13.5px;
    font-weight: bold;
    text-align: center;
    padding: 6px;
}

.ms-bg-crimson { background-color: #ab1e24; }
.ms-bg-plum    { background-color: #6a0b37; }
.ms-bg-amber   { background-color: #e06000; }
.ms-bg-sienna  { background-color: #8d4f38; color: #fff; }
.ms-bg-purple  { background-color: #7952b3; color: #fff; }
.ms-bg-links   { background-color: #f1f5f9; color: #ab1e24; border-top: 2px solid #ab1e24; border-bottom: 2px solid #ab1e24; }

.ms-st-section-head {
    text-align: center;
    font-size: 13.5px;
    font-weight: bold;
    padding: 6px;
}

.ms-st-bullet-list {
    list-style-type: disc !important;
    padding: 10px 14px 10px 24px !important;
    margin: 0 !important;
}

.ms-st-bullet-list li {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 6px;
    color: #222222;
    display: list-item !important;
    word-break: break-word;
}

.ms-st-bullet-list li:last-child { margin-bottom: 0; }

.ms-highlight-red {
    color: #ab1e24;
    font-weight: bold;
}

.ms-st-total-posts-block {
    display: flex;
    flex-direction: column;
}

.ms-st-total-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 12px;
}

.ms-st-total-badge span {
    background: #16a34a;
    color: var(--ms-white);
    font-size: 17px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 4px;
}

.ms-st-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.ms-st-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ms-st-table th, .ms-st-table td {
    padding: 8px 10px;
    border: 1px solid var(--ms-border);
    vertical-align: middle;
}

.ms-st-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: bold;
}

.ms-st-selection-box {
    padding: 8px 12px;
}

.ms-st-links-table tr:nth-child(odd) {
    background-color: #fefce8;
}

.ms-click-btn {
    display: inline-block;
    background: #2563eb;
    color: var(--ms-white) !important;
    font-weight: bold;
    font-size: 11.5px;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    text-align: center;
}

.ms-click-btn:hover { background: #1d4ed8; }

.ms-badge-soon {
    color: #dc2626;
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
}

.ms-extra-article-body {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ms-text-dark);
    margin: 18px 0;
    padding: 14px;
    background: var(--ms-white);
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    word-break: break-word;
}

.ms-post-share-strip {
    margin: 18px 0 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 4px;
}

.ms-share-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 6px;
}

.ms-share-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ms-sh-btn {
    color: var(--ms-white) !important;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.ms-sh-wa   { background: #25d366; }
.ms-sh-tg   { background: #0088cc; }
.ms-sh-fb   { background: #1877f2; }
.ms-sh-copy { background: #475569; }

.ms-post-related-box {
    border-top: 1px solid var(--ms-border);
    padding-top: 14px;
    margin-top: 16px;
}

.ms-post-related-box h3 {
    font-size: 14.5px;
    font-weight: bold;
    margin-bottom: 8px;
}

.ms-post-related-box li {
    margin-bottom: 6px;
    font-size: 12.5px;
    word-break: break-word;
}

.ms-side-card {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ms-side-card-head {
    background: #ab1e24;
    color: var(--ms-white);
    padding: 8px 12px;
}

.ms-side-card-head h3 {
    color: var(--ms-white);
    font-size: 13.5px;
    font-weight: bold;
    margin: 0;
}

.ms-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-side-list li {
    padding: 7px 10px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
}

.ms-side-list li:last-child { border-bottom: none; }
.ms-side-list i { color: #2563eb; font-size: 10px; margin-top: 3px; }
.ms-side-list a { color: #1e293b; text-decoration: none; }
.ms-side-list a:hover { color: #ab1e24; }

.ms-sidebar-ad-card {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 80px;
}

/* --------------------------------------------------------------------------
   13. COMMENTS SECTION & DISCUSSION STYLING
   -------------------------------------------------------------------------- */
.ms-comments-wrapper {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    width: 100%;
}

.ms-comment-form-box,
#respond {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    margin-top: 14px;
}

#reply-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#reply-title i { color: #ab1e24; }

.ms-form-notes,
.comment-notes,
.logged-in-as {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 0 12px;
}

.logged-in-as a { color: #0000ee; font-weight: bold; }

.ms-form-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ms-form-row,
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 12px;
    width: 100%;
}

.ms-form-row label,
.comment-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.ms-form-row input[type="text"],
.ms-form-row input[type="email"],
.ms-form-row textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    font-size: 12.5px;
    color: #0f172a;
    outline: none;
    font-family: inherit;
}

.ms-form-row textarea,
.comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.ms-form-row input:focus,
.ms-form-row textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #ab1e24;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(171, 30, 36, 0.1);
}

.form-submit { margin: 0; }

.ms-submit-comment-btn,
#respond input#submit,
.comment-form input[type="submit"] {
    background: #ab1e24 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 8px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: inline-block;
}

.ms-submit-comment-btn:hover,
#respond input#submit:hover {
    background: #820b0b !important;
}

.ms-comments-count-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
}

.ms-comment-thread-list,
.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.ms-comment-thread-list li.comment,
.commentlist li.comment {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 10px;
}

.comment-author { font-size: 13px; font-weight: 700; color: #0f172a; }
.comment-meta { font-size: 10.5px; color: #64748b; margin-bottom: 6px; }
.comment-meta a { color: #64748b; }
.comment-body p { font-size: 12.5px; line-height: 1.45; margin-bottom: 4px; }
.reply a { font-size: 11px; font-weight: 700; color: #2563eb; }

/* --------------------------------------------------------------------------
   14. QUIZ CATEGORIES 5-COLUMN MATRIX & ARCHIVE HUB
   -------------------------------------------------------------------------- */
.ms-quiz-category-page {
    padding: 20px 0 45px;
    background-color: #f7f9fa;
    min-height: 80vh;
}

.ms-quiz-top-header-box {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ms-breadcrumb-nav { font-size: 12px; color: var(--ms-text-muted); margin-bottom: 4px; }
.ms-breadcrumb-nav a { color: var(--ms-text-muted); text-decoration: none; }
.ms-category-main-title { font-size: 21px; font-weight: 800; color: #0f172a; margin: 0 0 3px; }
.ms-category-sub-title { font-size: 12.5px; color: var(--ms-text-muted); margin: 0; }

.ms-category-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.ms-category-card-item {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 10px;
    padding: 24px 14px 18px;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.ms-category-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.ms-squircle-icon-wrap { margin-bottom: 12px; }

.ms-squircle-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ms-white);
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.ms-sq-computer     { background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%); }
.ms-sq-constitution { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); }
.ms-sq-economics    { background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%); }
.ms-sq-geography    { background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%); }
.ms-sq-history      { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }
.ms-sq-math         { background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%); }
.ms-sq-psychology   { background: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%); }
.ms-sq-rajasthan    { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.ms-sq-reasoning    { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.ms-sq-science      { background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%); }

.ms-category-card-title { font-size: 14.5px; font-weight: 700; color: #0f172a; margin: 0 0 3px; }
.ms-category-quiz-count { font-size: 11.5px; color: var(--ms-text-muted); font-weight: 500; }

.ms-quiz-hub-wrapper {
    padding: 20px 0 45px;
    background-color: #f8fafc;
    min-height: 75vh;
}

.ms-quiz-hub-hero {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.ms-hub-live-pill {
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 6px;
}

.ms-hub-hero-title { font-size: 21px; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.ms-hub-desc { font-size: 12.5px; color: var(--ms-text-muted); margin: 0 0 14px; }

.ms-quiz-filter-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.ms-quiz-filter-pills::-webkit-scrollbar { display: none; }

.ms-pill-tab {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 16px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.ms-pill-tab.active { background: #ab1e24; color: #ffffff; border-color: #ab1e24; }
.ms-pill-browse { background: #e0e7ff !important; color: #4338ca !important; border-color: #c7d2fe !important; }

.ms-quiz-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ms-test-card,
.ms-pro-test-card {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-top: 3.5px solid #ab1e24;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease;
}

.ms-test-card:hover,
.ms-pro-test-card:hover { transform: translateY(-2px); }

.ms-tc-header,
.ms-ptc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ms-tc-cat,
.ms-ptc-cat {
    font-size: 11px;
    font-weight: 700;
    color: #4338ca;
    background: #e0e7ff;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ms-tc-free-tag,
.ms-badge-free {
    background: #dcfce7;
    color: #15803d;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
}

.ms-tc-title,
.ms-ptc-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 10px;
}

.ms-tc-title a,
.ms-ptc-title a { color: #0f172a; text-decoration: none; }
.ms-tc-title a:hover,
.ms-ptc-title a:hover { color: #ab1e24; }

.ms-tc-meta-row,
.ms-ptc-metrics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--ms-text-muted);
    padding: 6px 0;
    border-top: 1px dashed #f1f5f9;
    border-bottom: 1px dashed #f1f5f9;
    margin-bottom: 12px;
}

.ms-tc-meta-row span,
.ms-ptc-metric-item { display: inline-flex; align-items: center; gap: 3px; }
.ms-tc-footer,
.ms-ptc-footer { display: flex; justify-content: space-between; align-items: center; }
.ms-tc-lang { font-size: 10.5px; color: #94a3b8; font-weight: 600; }

.ms-btn-start-test,
.ms-btn-start-cbt {
    background: #ab1e24;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --------------------------------------------------------------------------
   15. INTERACTIVE CBT QUIZ PLAYER & ANIMATED SECOND TIMER
   -------------------------------------------------------------------------- */
.ms-quiz-app-wrapper {
    padding: 18px 0 45px;
    background-color: #f1f5f9;
    min-height: 80vh;
}

.ms-quiz-exam-card {
    background: var(--ms-white);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ms-quiz-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.ms-quiz-badge-cat {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
}

.ms-quiz-lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
}

.ms-lang-label { font-size: 10.5px; font-weight: 700; color: #64748b; }

.ms-lang-btn {
    background: transparent;
    border: none;
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    padding: 2px 6px;
    border-radius: 10px;
    cursor: pointer;
}

.ms-lang-btn.active { background: #0f172a; color: #ffffff; }

.ms-quiz-timer-pill {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 12.5px;
    padding: 4px 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ms-quiz-headline {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ms-quiz-step-progress-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ms-text-muted);
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
}

.ms-q-step-box {
    display: none;
    background: var(--ms-white);
    border: 1.5px solid var(--ms-border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}

.ms-q-step-box.active { display: block; }

.ms-q-sec-timer-wrapper {
    margin-bottom: 14px;
    background: #f8fafc;
    border: 1px solid var(--ms-border);
    border-radius: 4px;
    padding: 8px 10px;
}

.ms-q-sec-timer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 11.5px;
}

.ms-q-tag {
    background: #ab1e24;
    color: var(--ms-white);
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 3px;
}

.ms-q-sec-text { color: #475569; font-weight: 600; }
.ms-q-countdown-num { color: #0f172a; font-size: 13.5px; }

.ms-q-progress-track {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.ms-q-progress-bar {
    height: 100%;
    background: #10b981;
    transition: width 1s linear;
}

.ms-q-progress-bar.warning-yellow { background: #f59e0b; }
.ms-q-progress-bar.danger-red     { background: #ef4444; }

.ms-q-statement-box { margin-bottom: 14px; }
.ms-q-title-text { font-size: 15.5px; font-weight: 700; color: #0f172a; line-height: 1.5; }

.ms-bilingual-text .ms-txt-divider { color: #94a3b8; margin: 0 3px; }
.ms-bilingual-text .ms-txt-hi { color: #1e293b; font-weight: 600; }

.ms-q-options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-q-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1.5px solid var(--ms-border);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.ms-q-option-row:hover { background: #f1f5f9; }
.ms-q-option-row input { display: none; }

.ms-opt-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ms-white);
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    flex-shrink: 0;
}

.ms-opt-text-val { font-size: 13.5px; font-weight: 600; color: #1e293b; flex: 1; }

.ms-q-option-row.selected {
    background: #eff6ff;
    border-color: #3b82f6;
}

.ms-q-option-row.selected .ms-opt-badge {
    background: #3b82f6;
    color: var(--ms-white);
    border-color: #3b82f6;
}

.ms-q-option-row.correct-answer {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
}

.ms-q-option-row.correct-answer .ms-opt-badge {
    background: #10b981 !important;
    color: var(--ms-white) !important;
    border-color: #10b981 !important;
}

.ms-q-option-row.wrong-answer {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
}

.ms-q-option-row.wrong-answer .ms-opt-badge {
    background: #ef4444 !important;
    color: var(--ms-white) !important;
    border-color: #ef4444 !important;
}

.ms-q-explanation-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 14px;
    font-size: 12.5px;
    color: #166534;
}

.ms-q-nav-buttons-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: var(--ms-white);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
}

.ms-btn-nav {
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 800;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ms-btn-prev { background: #e2e8f0; color: #334155; }
.ms-btn-next { background: #0f172a; color: var(--ms-white); }
.ms-btn-finish { background: #ab1e24; color: var(--ms-white); }

.ms-q-jump-palette {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.ms-palette-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

.ms-palette-pill.current {
    border-color: #0f172a;
    font-weight: 900;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2);
}

.ms-palette-pill.answered {
    background: #3b82f6;
    color: var(--ms-white);
    border-color: #3b82f6;
}

.ms-quiz-scorecard-card {
    background: var(--ms-white);
    border: 2px solid #10b981;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.ms-score-header-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--ms-white);
    padding: 24px 18px;
    text-align: center;
}

.ms-score-trophy { font-size: 40px; margin-bottom: 4px; }
.ms-score-header-box h2 { color: var(--ms-white); font-size: 21px; font-weight: 800; margin: 0 0 3px; }
.ms-score-header-box p { color: #94a3b8; font-size: 12.5px; margin: 0; }

.ms-scorecard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px;
    background: #f8fafc;
}

.ms-score-box {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    border-radius: 4px;
    padding: 12px;
    text-align: center;
}

.ms-sb-num { display: block; font-size: 22px; font-weight: 900; color: #0f172a; margin-bottom: 2px; }
.ms-sb-lbl { font-size: 11px; font-weight: 700; color: var(--ms-text-muted); }
.ms-sb-green .ms-sb-num { color: #16a34a; }
.ms-sb-red .ms-sb-num   { color: #dc2626; }
.ms-sb-blue .ms-sb-num  { color: #2563eb; }

.ms-scorecard-action-bar {
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--ms-white);
    border-top: 1px solid var(--ms-border);
}

.ms-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.ms-btn-wa     { background: #25d366; color: var(--ms-white); }
.ms-btn-retake { background: #0f172a; color: var(--ms-white); }
.ms-btn-review { background: #2563eb; color: var(--ms-white); }

/* --------------------------------------------------------------------------
   16. CATEGORY ARCHIVE & STATIC PAGE ENGINE
   -------------------------------------------------------------------------- */
.ms-archive-page-wrap,
.ms-standard-page-wrap {
    padding: 20px 0 50px;
    background-color: #f8fafc;
    min-height: 80vh;
}

.ms-archive-layout-grid {
    display: grid !important;
    grid-template-columns: 1fr 310px !important;
    gap: 20px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.ms-archive-main-column {
    min-width: 0 !important;
    width: 100% !important;
}

.ms-archive-sidebar-column {
    width: 310px !important;
    flex-shrink: 0 !important;
}

.ms-cat-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ms-cat-breadcrumb,
.ms-page-breadcrumb {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.ms-cat-breadcrumb a,
.ms-page-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.ms-cat-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ms-cat-main-title,
.ms-page-main-title {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-cat-main-title i {
    color: #ab1e24;
}

.ms-cat-count-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 14px;
}

.ms-cat-desc-text {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.ms-cat-search-box {
    position: relative;
    max-width: 100%;
}

.ms-cat-search-box input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 25px;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.ms-cat-search-box input:focus {
    background: #ffffff;
    border-color: #ab1e24;
    box-shadow: 0 0 0 3px rgba(171, 30, 36, 0.1);
}

.ms-cat-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}

.ms-category-posts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-job-listing-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ab1e24;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ms-job-listing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.ms-jli-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.ms-org-pill {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    text-align: center;
}

.ms-org-rrb    { background: #dbeafe; color: #1e40af; }
.ms-org-ssc    { background: #fef3c7; color: #92400e; }
.ms-org-ibps   { background: #e0e7ff; color: #3730a3; }
.ms-org-btsc   { background: #dcfce7; color: #166534; }
.ms-org-rsmssb { background: #fee2e2; color: #991b1b; }
.ms-org-govt   { background: #f1f5f9; color: #475569; }

.ms-jli-content {
    flex: 1;
    min-width: 0;
}

.ms-jli-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.35;
    word-break: break-word;
}

.ms-jli-title a {
    color: #0f172a;
    text-decoration: none;
}

.ms-jli-title a:hover {
    color: #ab1e24;
}

.ms-jli-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #64748b;
}

.ms-btn-check-job {
    background: #ab1e24;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ms-btn-check-job:hover {
    background: #820b0b;
}

.ms-side-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-side-cat-list li {
    border-bottom: 1px solid #f1f5f9;
}

.ms-side-cat-list li:last-child {
    border-bottom: none;
}

.ms-side-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.ms-side-cat-list a:hover {
    background: #f8fafc;
    color: #ab1e24;
}

.ms-side-cat-list strong {
    background: #f1f5f9;
    color: #475569;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
}

.ms-static-page-card {
    padding: 26px !important;
}

.ms-page-header-strip {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.ms-page-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}

.ms-static-page-content {
    font-size: 14px;
    line-height: 1.75;
    color: #1e293b;
}

.ms-static-page-content p {
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   17. FOOTER & BACK-TO-TOP BUTTON
   -------------------------------------------------------------------------- */
.ms-footer {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background-color: #1e2530;
    color: var(--ms-white);
    padding: 16px 0;
}

.ms-footer-vecutus-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px;
}

.ms-footer-left-copy p {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
}

.ms-footer-right-links {
    display: flex;
    gap: 16px;
}

.ms-footer-right-links a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.ms-footer-right-links a:hover {
    text-decoration: underline;
}

.ms-footer-cols-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.ms-fcols-3 { grid-template-columns: repeat(3, 1fr); }
.ms-fcols-4 { grid-template-columns: repeat(4, 1fr); }

.ms-fcol h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ms-fcol a {
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.8;
    text-decoration: none;
}

.ms-fcol a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ms-footer-disclaimer {
    max-width: 900px;
    margin: 0 auto 14px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.ms-footer-links-row {
    margin-bottom: 10px;
}

.ms-footer-links-row a {
    color: #cbd5e1;
    margin: 0 5px;
    font-size: 12.5px;
    text-decoration: none;
}

.ms-footer-links-row a:hover {
    color: var(--ms-white);
    text-decoration: underline;
}

.ms-copyright {
    font-size: 12px;
    color: #64748b;
}

.ms-btn-back-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    background: #ab1e24 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.15s;
}

.ms-btn-back-to-top:hover {
    background: #820b0b !important;
    transform: scale(1.06);
}

.ms-archive-pagination-box,
.ms-quiz-pagination-box,
.ms-quiz-pagination {
    margin-top: 24px;
    text-align: center;
}

.ms-archive-pagination-box .page-numbers,
.ms-quiz-pagination-box .page-numbers,
.ms-quiz-pagination .page-numbers {
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    margin: 0 2px;
}

.ms-archive-pagination-box .page-numbers.current,
.ms-quiz-pagination-box .page-numbers.current,
.ms-quiz-pagination .page-numbers.current {
    background: #ab1e24;
    color: #ffffff;
    border-color: #ab1e24;
}

/* --------------------------------------------------------------------------
   CUSTOM MODERN QUIZ SEARCH BAR & STYLES
   -------------------------------------------------------------------------- */
.ms-quiz-search-wrapper {
    margin: 16px 0 20px;
    max-width: 650px;
    width: 100%;
}

.ms-quiz-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.ms-qs-icon {
    position: absolute;
    left: 16px;
    font-size: 15px;
    color: #64748b;
    pointer-events: none;
    z-index: 2;
}

.ms-quiz-search-input {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px 12px 46px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 30px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

.ms-quiz-search-input:focus {
    background: #ffffff !important;
    border-color: #ab1e24 !important;
    box-shadow: 0 0 0 3.5px rgba(171, 30, 36, 0.12) !important;
}

.ms-quiz-search-input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.ms-header-style-vecutus .ms-banner-flex {
    position: relative;
    justify-content: center !important;
}

.ms-header-style-vecutus .ms-banner-logo {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.ms-header-style-vecutus .ms-banner-titles {
    text-align: center !important;
}

.ms-floating-buy-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 78, 0, 0.4);
    z-index: 9999;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ms-floating-buy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 78, 0, 0.6);
}

.ms-header-style-logo_title_left .ms-banner-flex {
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 16px;
}

.ms-header-style-logo_title_left .ms-banner-titles {
    text-align: left !important;
}

.ms-header-style-logo_title_left .ms-site-title a {
    font-size: clamp(20px, 3.8vw, 32px);
}

.ms-header-style-logo_title_left .ms-site-tagline {
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   UNIVERSITY CATEGORY HUB STYLING
   -------------------------------------------------------------------------- */
.ms-archive-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.ms-arch-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ab1e24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ms-archive-header-card h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.ms-archive-header-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.ms-uni-filter-bar {
    position: relative;
    margin-bottom: 20px;
}

.ms-uni-filter-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}

.ms-uni-filter-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s;
}

.ms-uni-filter-bar input:focus {
    border-color: #ab1e24;
    box-shadow: 0 0 0 3.5px rgba(171, 30, 36, 0.1);
}

.ms-sub-heading {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-sub-heading i {
    color: #ab1e24;
}

.ms-uni-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ms-uni-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ms-uni-chip:hover, .ms-uni-chip.active {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.ms-uni-chip.active {
    background: #dbeafe;
    border-color: #2563eb;
}

.ms-uni-pin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ab1e24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ms-uni-info strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
}

.ms-uni-info span {
    font-size: 11px;
    color: #64748b;
}

.ms-uni-results-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.ms-uni-posts-list {
    display: flex;
    flex-direction: column;
}

.ms-uni-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    gap: 14px;
    transition: background 0.15s;
}

.ms-uni-post-item:hover {
    background: #f8fafc;
}

.ms-uni-post-item:last-child {
    border-bottom: none;
}

.ms-upi-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ms-upi-content {
    flex: 1;
}

.ms-upi-content h4 {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 700;
}

.ms-upi-content h4 a {
    color: #0f172a;
    text-decoration: none;
}

.ms-upi-content h4 a:hover {
    color: #ab1e24;
    text-decoration: underline;
}

.ms-upi-meta {
    display: flex;
    gap: 14px;
    font-size: 11.5px;
    color: #64748b;
}

.ms-btn-sm-view {
    background: #f1f5f9;
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #cbd5e1;
    transition: 0.15s;
}

.ms-btn-sm-view:hover {
    background: #ab1e24;
    color: #fff;
    border-color: #ab1e24;
}

/* --------------------------------------------------------------------------
   PROFESSIONAL INSTANT ALERTS & SIDEBAR WIDGETS
   -------------------------------------------------------------------------- */
.ms-sidebar-alert-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ms-alert-head {
    background: linear-gradient(135deg, #ab1e24 0%, #820b0b 100%) !important;
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-alert-body {
    padding: 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
}

.ms-alert-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.ms-alert-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.ms-alert-links a:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    text-decoration: none;
}

.ms-alert-links a[href*="whatsapp"], 
.ms-alert-links a:has(.fa-whatsapp) {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.ms-alert-links a[href*="telegram"], 
.ms-alert-links a:has(.fa-telegram) {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.ms-alert-links a i {
    font-size: 16px;
}

.ms-custom-sidebar-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.ms-sidebar-widget-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ms-sw-head {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid #ab1e24;
}

.ms-sw-head i {
    color: #f59e0b;
}

.ms-sw-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ms-sw-links-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.ms-sw-links-list li:last-child {
    border-bottom: none;
}

.ms-sw-links-list li:hover {
    background: #f8fafc;
}

.ms-sw-links-list li a {
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.ms-sw-links-list li a i {
    color: #ab1e24;
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.ms-sw-links-list li a:hover {
    color: #ab1e24;
}

.ms-sw-count {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

.ms-sw-recent-posts {
    padding: 4px 16px;
}

.ms-sw-recent-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ms-sw-recent-item:last-child {
    border-bottom: none;
}

.ms-sw-recent-item a {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
}

.ms-sw-recent-item a:hover {
    color: #ab1e24;
    text-decoration: underline;
}

.ms-sw-date {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ms-archive-sidebar-column .widget,
.ms-sidebar-area .widget,
.ms-sidebar-wrapper-box .widget {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
}

.ms-archive-sidebar-column .widgettitle,
.ms-archive-sidebar-column h2.widget-title,
.ms-sidebar-area .widgettitle,
.ms-sidebar-wrapper-box .widgettitle {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border-bottom: 3px solid #ab1e24 !important;
    display: flex !important;
    align-items: center !important;
}

.ms-archive-sidebar-column .widget ul,
.ms-sidebar-area .widget ul,
.ms-sidebar-wrapper-box .widget ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ms-archive-sidebar-column .widget ul li,
.ms-sidebar-area .widget ul li,
.ms-sidebar-wrapper-box .widget ul li {
    padding: 10px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13px !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.2s ease !important;
}

.ms-archive-sidebar-column .widget ul li:last-child,
.ms-sidebar-area .widget ul li:last-child,
.ms-sidebar-wrapper-box .widget ul li:last-child {
    border-bottom: none !important;
}

.ms-archive-sidebar-column .widget ul li:hover,
.ms-sidebar-area .widget ul li:hover,
.ms-sidebar-wrapper-box .widget ul li:hover {
    background: #f8fafc !important;
}

.ms-archive-sidebar-column .widget ul li a,
.ms-sidebar-area .widget ul li a,
.ms-sidebar-wrapper-box .widget ul li a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.ms-archive-sidebar-column .widget ul li a::before,
.ms-sidebar-area .widget ul li a::before,
.ms-sidebar-wrapper-box .widget ul li a::before {
    content: "\f101" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #ab1e24 !important;
    margin-right: 10px !important;
    font-size: 11px !important;
}

.ms-archive-sidebar-column .widget ul li a:hover,
.ms-sidebar-area .widget ul li a:hover,
.ms-sidebar-wrapper-box .widget ul li a:hover {
    color: #ab1e24 !important;
}

.ms-archive-sidebar-column .widget_search form,
.ms-sidebar-area .widget_search form,
.ms-sidebar-wrapper-box .widget_search form {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.ms-archive-sidebar-column .widget_search input[type="search"],
.ms-archive-sidebar-column .widget_search input[type="text"],
.ms-sidebar-area .widget_search input[type="search"],
.ms-sidebar-area .widget_search input[type="text"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    outline: none !important;
}

.ms-archive-sidebar-column .widget_search input[type="submit"],
.ms-archive-sidebar-column .widget_search button,
.ms-sidebar-area .widget_search input[type="submit"],
.ms-sidebar-area .widget_search button {
    background: #ab1e24 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: background 0.2s !important;
}

/* --------------------------------------------------------------------------
   18. FINAL BULLETPROOF RESPONSIVE BREAKPOINTS (TABLET & MOBILE FIX)
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) {
    .ms-site-wrapper,
    .ms-header-banner,
    .ms-navbar,
    .ms-footer {
        max-width: 100%;
        box-shadow: none;
    }
}

/* Tablet Screens (<= 992px) */
@media (max-width: 992px) {
    .ms-single-grid,
    .ms-archive-layout-grid,
    .ms-main-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .ms-single-article,
    .ms-single-sidebar,
    .ms-archive-main-column,
    .ms-archive-sidebar-column,
    .ms-sidebar-wrapper-box,
    .ms-content-area,
    .ms-sidebar-area {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    /* Fixed Tablet Job Listing Flex */
    .ms-job-listing-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 16px !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .ms-jli-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .ms-jli-content {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .ms-jli-title {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    .ms-jli-right {
        flex-shrink: 0 !important;
    }

    .ms-uni-chips-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .ms-pro-highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .ms-pro-boxes-row,
    .ms-content-row,
    .ms-modern-card-row,
    .ms-quiz-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    .ms-state-chips-grid,
    .ms-state-table-grid,
    .ms-category-grid-5 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    .ms-footer-cols-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ms-header-style-vecutus .ms-banner-logo {
        position: static;
        transform: none;
    }

    .ms-footer-vecutus-row {
        flex-direction: column;
        text-align: center;
    }

    .ms-floating-buy-cta {
        bottom: 12px;
        right: 12px;
        padding: 8px 16px;
        font-size: 11.5px;
    }
}

/* Mobile Screens (<= 600px) */
@media (max-width: 600px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .ms-container {
        padding: 0 8px !important;
    }

    .ms-state-filters-wrapper {
        margin: 6px 0;
    }

    .ms-state-filters-grid {
        gap: 3px;
    }

    .ms-state-btn {
        font-size: 10px;
        padding: 3px 5px;
        min-width: 22px;
        border-radius: 2px;
    }

    .ms-pro-notice-card {
        padding: 6px 8px;
        font-size: 11.5px;
    }

    .ms-pro-highlights-grid,
    .ms-pro-social-strip {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .ms-single-article {
        width: 100% !important;
        padding: 12px 10px !important;
    }

    .ms-post-main-title {
        font-size: 17.5px !important;
    }

    .ms-post-join-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }

    .ms-join-btn {
        padding: 8px 4px !important;
        font-size: 11.5px !important;
    }

    .ms-pill-badge {
        display: none !important;
    }

    .ms-st-split-section {
        grid-template-columns: 1fr !important;
    }

    .ms-st-split-block:first-child {
        border-right: none !important;
        border-bottom: 2px solid #ab1e24 !important;
    }

    .ms-st-bullet-list {
        padding: 8px 10px 8px 20px !important;
    }

    .ms-st-bullet-list li {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .ms-st-table th, .ms-st-table td {
        padding: 7px 5px !important;
        font-size: 11.5px !important;
    }

    .ms-st-links-table tr td:first-child {
        width: 55% !important;
    }

    .ms-st-links-table tr td:last-child {
        width: 45% !important;
        text-align: center !important;
    }

    .ms-click-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    .ms-share-buttons-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }

    .ms-sh-btn {
        width: 100% !important;
        padding: 7px 4px !important;
        font-size: 11.5px !important;
    }

    .ms-comment-form-box,
    #respond {
        padding: 12px 8px;
    }

    .ms-form-dual-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ms-submit-comment-btn,
    #respond input#submit {
        width: 100%;
        text-align: center;
        padding: 10px !important;
    }

    .ms-q-nav-buttons-bar {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .ms-q-jump-palette {
        order: -1 !important;
    }

    .ms-scorecard-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ms-scorecard-action-bar {
        flex-direction: column !important;
    }

    .ms-btn-action {
        width: 100% !important;
        justify-content: center !important;
    }

    .ms-category-grid-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .ms-squircle-badge {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
        border-radius: 12px !important;
    }

    .ms-state-chips-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
    }

    .ms-job-listing-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px 10px !important;
    }

    .ms-jli-left {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .ms-jli-right {
        width: 100% !important;
        text-align: right !important;
    }

    .ms-btn-check-job {
        width: 100% !important;
        justify-content: center !important;
    }

    .ms-btn-back-to-top {
        bottom: 12px !important;
        right: 12px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }

    .ms-uni-chips-grid {
        grid-template-columns: 1fr !important;
    }

    .ms-quiz-search-wrapper {
        margin: 12px 0 16px;
    }

    .ms-quiz-search-input {
        padding: 10px 16px 10px 42px !important;
        font-size: 12.5px !important;
    }

    .ms-qs-icon {
        left: 14px;
        font-size: 13px;
    }

    .ms-header-style-logo_title_left .ms-banner-flex {
        gap: 10px;
    }

    .ms-header-style-logo_title_left .ms-logo-circle {
        width: 50px;
        height: 50px;
    }

    .ms-header-style-logo_title_left .ms-logo-circle i {
        font-size: 18px;
    }
}


/* ==========================================================================
   FIX FOR CATEGORY PAGE & SIDEBAR RESPONSIVENESS (MOBILE & TABLET)
   ========================================================================== */

/* Tablet & Mobile View (Screen width 992px ya usse kam) */
@media (max-width: 992px) {
    /* 1. Category poora layout ko single column (vertical stack) bana dega */
    .ms-archive-layout-grid,
    .ms-main-grid-layout,
    .ms-single-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Main content aur Sidebar dono ki width 100% kar dega taaki overlap na ho */
    .ms-archive-main-column,
    .ms-archive-sidebar-column,
    .ms-content-area,
    .ms-sidebar-area,
    .ms-single-article,
    .ms-single-sidebar,
    .ms-sidebar-wrapper-box {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    /* 3. Sidebar widgets ko category page par perfectly fit karega */
    .ms-archive-sidebar-column .widget,
    .ms-sidebar-area .widget,
    .ms-sidebar-wrapper-box .widget {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Mobile Screens (Screen width 600px ya usse kam) */
@media (max-width: 600px) {
    /* Category page ke job listing items ko mobile friendly banata hai */
    .ms-job-listing-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .ms-jli-left {
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .ms-jli-right {
        width: 100% !important;
        text-align: right !important;
    }

    .ms-btn-check-job {
        width: 100% !important;
        justify-content: center !important;
    }

    /* University chips ko mobile par single column karta hai */
    .ms-uni-chips-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   DEFINITIVE MOBILE & TABLET STACKING FIX FOR CATEGORY & SIDEBAR
   ========================================================================== */
@media screen and (max-width: 992px) {
    .ms-archive-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .ms-archive-main-column,
    .ms-archive-sidebar-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
}


/* Real WordPress Footer Menu Inline Alignment */
.ms-footer-menu-inline {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 24px !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.ms-footer-menu-inline li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ms-footer-menu-inline li a {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.ms-footer-menu-inline li a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}


/* ==========================================================================
   PROFESSIONAL MOCK TEST / QUIZ CARDS UPGRADE
   ========================================================================== */

/* Main Grid Layout for Mock Test Cards */
.ms-quiz-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 15px !important;
}

@media (max-width: 992px) {
    .ms-quiz-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .ms-quiz-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Individual Pro Test Card Styling */
.ms-pro-test-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease-in-out !important;
    position: relative !important;
    overflow: hidden !important;
}

.ms-pro-test-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Top Header inside Card */
.ms-ptc-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.ms-ptc-cat {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

.ms-badge-free {
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* Card Title */
.ms-ptc-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
}

/* Metrics Grid (Questions, Time, Marks) */
.ms-ptc-metrics-grid {
    display: flex !important;
    gap: 12px !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 16px !important;
    background: #f8fafc !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
}

.ms-ptc-metric-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 600 !important;
}

/* Card Footer */
.ms-ptc-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 14px !important;
    margin-top: auto !important;
}

.ms-tc-lang {
    font-size: 11.5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Start Test Button */
.ms-btn-start-cbt {
    background: #ab1e24 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: background 0.15s ease !important;
    cursor: pointer !important;
}

.ms-btn-start-cbt:hover {
    background: #90171d !important;
    color: #ffffff !important;
}

/* ==========================================================================
   PROFESSIONAL IN-PAGE SEARCH BAR UPGRADE
   ========================================================================== */
.ms-quiz-top-header-box input[type="text"],
.ms-quiz-top-header-box input[type="search"],
.ms-exam-selection-area input[type="text"],
.ms-exam-selection-area input[type="search"] {
    width: 100% !important;
    max-width: 450px !important;
    padding: 10px 14px 10px 38px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    outline: none !important;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat 12px center !important;
    background-size: 18px 18px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    margin-top: 8px !important;
}

.ms-quiz-top-header-box input[type="text"]:focus,
.ms-quiz-top-header-box input[type="search"]:focus,
.ms-exam-selection-area input[type="text"]:focus,
.ms-exam-selection-area input[type="search"]:focus {
    border-color: #ab1e24 !important;
    box-shadow: 0 0 0 3px rgba(171, 30, 36, 0.1) !important;
}


/* ==========================================================================
   TAXONOMY QUIZ CATEGORY PAGE SEARCH BAR FIX
   ========================================================================== */
.ms-quiz-hub-hero .ms-quiz-search-box {
    position: relative !important;
    max-width: 500px !important;
    margin-top: 15px !important;
}

.ms-quiz-hub-hero .ms-quiz-search-box .ms-search-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    font-size: 16px !important;
    pointer-events: none !important;
}

.ms-quiz-hub-hero .ms-quiz-search-box input[type="text"] {
    width: 100% !important;
    padding: 12px 16px 12px 46px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    outline: none !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
}

.ms-quiz-hub-hero .ms-quiz-search-box input[type="text"]:focus {
    border-color: #ab1e24 !important;
    box-shadow: 0 0 0 4px rgba(171, 30, 36, 0.12) !important;
}

/* Universal Professional Search Bar Styling */
.ms-search-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 15px 0 !important;
}

.ms-search-wrapper input {
    width: 100% !important;
    padding: 12px 20px 12px 45px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.ms-search-wrapper input:focus {
    border-color: #ab1e24 !important;
    box-shadow: 0 0 0 4px rgba(171, 30, 36, 0.1) !important;
}

.ms-search-wrapper i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
}

/* ==========================================================================
   PRO SEARCH BAR STYLING (FORCE FIX)
   ========================================================================== */
.ms-quiz-hub-hero {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}

.ms-quiz-search-box {
    position: relative !important;
    width: 100% !important;
}

.ms-quiz-search-box i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
}

.ms-quiz-search-box input[type="text"],
#msQuizLiveSearch {
    width: 100% !important;
    padding: 12px 16px 12px 45px !important;
    border: 1.5px solid #ab1e24 !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    outline: none !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}

/* ==========================================================================
   MOBILE VIEW SIDEBAR & BULLET LIST FIX
   ========================================================================== */
@media (max-width: 600px) {
    .ms-archive-sidebar-column .widget ul,
    .ms-sidebar-area .widget ul,
    .ms-sidebar-wrapper-box .widget ul,
    .ms-side-list {
        padding: 0 10px !important;
        margin: 0 !important;
    }

    .ms-archive-sidebar-column .widget ul li,
    .ms-sidebar-area .widget ul li,
    .ms-sidebar-wrapper-box .widget ul li,
    .ms-side-list li {
        display: block !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .ms-archive-sidebar-column .widget ul li a,
    .ms-sidebar-area .widget ul li a,
    .ms-sidebar-wrapper-box .widget ul li a {
        display: inline !important;
        word-break: break-word !important;
    }

    .ms-archive-sidebar-column .widget ul li a::before {
        display: none !important;
    }
}

/* ==========================================================================
   HEADER LOGO + TITLE LEFT ALIGNMENT FIX
   ========================================================================== */
.ms-header-banner .ms-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.ms-header-banner .ms-banner-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    text-align: left !important;
}

.ms-header-banner .ms-banner-titles {
    text-align: left !important;
}


