/* ══════════════════════════════════════════════════════════════
   ثمد تخصصي — ملف التصميم المطور (النمط التخطيطي المبسط)
   تصميم مريح للعين، مستوحى من خطوط الرسم التخطيطي الأنيقة
   ══════════════════════════════════════════════════════════════ */

/* ── الخط الموحد للموقع ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');


/* ── الخطوط ─────────────────────────────────────────────────── */
/* ── متغيرات التصميم الجديدة ────────────────────────────────── */
:root {
    --cream:          #f8fafc; /* الرمادي المريح للعين */
    --dark:           #0d2237; /* الكحلي الداكن للشعار */
    --wine:           #0d2237;
    --emerald:        #10b981; /* الأخضر للمكتمل والنجاح */
    --sky:            #e0f2fe; /* أزرق ناعم */
    --mint:           #f0fdf4; /* خلفية ناعمة للاكتمال */
    --purple:         #f5f3ff;
    --black:          #0d2237;
    --white:          #ffffff;
    --bg-light:       #f8fafc;
    --accent-sky:     #e0f2fe;

    /* حواف دائرية أنيقة ومطابقة للمرفق */
    --radius-sm:      12px;
    --radius-md:      20px;
    --radius-lg:      28px;
    --radius-xl:      36px;
    --radius-pill:    9999px;

    /* حدود نظيفة لتعطي طابع الرسم التخطيطي */
    --border-color:   #0d2237;
    --border-width:   1.5px;
    --border-style:   solid;

    /* ظلال ناعمة ومسطحة */
    --shadow-sm:      0 2px 0px rgba(13,34,55,0.06);
    --shadow-md:      0 4px 0px rgba(13,34,55,0.10);
    --shadow-lg:      0 6px 0px rgba(13,34,55,0.14);

    --sidebar-width:  240px;
    --bottom-nav-h:   68px;
    --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --primary-hover: #0b1b2c;
}

/* ── Reset & Base Styles ────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body.myspec-body,
body.myspec-public-page {
    font-family: "Readex Pro", sans-serif !important;
    font-optical-sizing: auto;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    max-width: 100vw;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
    font-family: "Readex Pro", sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
body.myspec-public-page h1,
body.myspec-public-page h2,
body.myspec-public-page h3,
body.myspec-public-page h4,
body.myspec-public-page h5,
body.myspec-public-page h6 {
    font-family: "Readex Pro", sans-serif !important;
    font-weight: 700;
}

::selection { background: var(--dark); color: white; }

/* ══════════════════════════════════════════════════════════════
   LOADING SCREEN
   ══════════════════════════════════════════════════════════════ */
#ms-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    overflow: hidden;
}
#ms-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}
#ms-loading img {
    width: min(280px, 70vw);
    height: auto;
    animation: pulse-logo 2s infinite ease-in-out;
}
@keyframes pulse-logo {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT — SIDEBAR + MAIN (White with Outlines)
   ══════════════════════════════════════════════════════════════ */
.ms-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* ── الشريط الجانبي الأنيق ── */
.ms-sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    color: var(--dark);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 28px 0 20px;
    border-left: var(--border-width) var(--border-style) var(--border-color);
    transition: transform var(--transition);
}

.ms-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 24px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--dark);
}
.ms-sidebar-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: none; /* don't use border for the app logo */
}
.ms-sidebar-logo span {
    font-family: "Mada", system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--dark);
}

.ms-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(13, 34, 55, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin: 4px 14px;
    border: var(--border-width) var(--border-style) transparent;
    transition: all var(--transition);
    position: relative;
}
.ms-nav-item:hover {
    background: var(--cream);
    color: var(--dark);
    border-color: var(--border-color);
}
.ms-nav-item.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}
.ms-nav-item .ms-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.ms-nav-item:hover .ms-nav-icon {
    transform: scale(1.1);
}

.ms-sidebar-footer {
    margin-top: auto;
    padding: 16px 14px 0;
    border-top: var(--border-width) var(--border-style) var(--border-color);
}

.ms-credits-badge {
    background: var(--cream);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}
.ms-credits-badge strong {
    color: var(--emerald);
    font-size: 1rem;
    font-weight: 900;
}
/* أيقونة عملة الكريديت */
.ms-coin-icon {
    color: #d4a017;
    flex-shrink: 0;
}

/* ── المنطقة الرئيسية ── */
.ms-main {
    flex: 1;
    margin-right: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    width: calc(100% - var(--sidebar-width));
    max-width: calc(100vw - var(--sidebar-width));
    overflow-x: hidden;
}
.ms-content {
    flex: 1;
    padding: 40px 48px;
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
}

/* ── الشريط السفلي (Mobile) ── */
.ms-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: var(--white);
    z-index: 100;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    border-top: var(--border-width) var(--border-style) var(--border-color);
}
.ms-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: rgba(13, 34, 55, 0.5);
    text-decoration: none;
    transition: all var(--transition);
}
.ms-bottom-item.active {
    color: var(--dark);
}
.ms-bottom-item svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition);
}
.ms-bottom-item.active svg {
    transform: scale(1.15);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ms-sidebar { display: none; }
    .ms-main {
        margin-right: 0;
        padding-bottom: var(--bottom-nav-h);
        width: 100%;
        max-width: 100vw;
    }
    .ms-content { padding: 24px 16px; }
    .ms-bottom-nav { display: flex; }

    /* move timeline line more to the right on mobile to give more room for cards */
    .ms-timeline-container { padding-right: 72px; }
    .ms-timeline-line { right: 6px; }

    /* تثبيت ترويسة الصفحة ومدخل الشات على الجوال */
    body.ms-chat-page {
        overflow: hidden;
    }
    body.ms-chat-page .ms-main {
        height: 100vh;
        overflow: hidden;
    }
    body.ms-chat-page .ms-content {
        height: calc(100vh - var(--bottom-nav-h));
        padding: 12px 16px 8px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    body.ms-chat-page .ms-page-header {
        flex-shrink: 0;
        margin-bottom: 0;
        padding-bottom: 8px;
    }
    body.ms-chat-page .ms-chat-wrapper {
        flex: 1;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    body.ms-chat-page .ms-chat-messages {
        flex: 1;
        overflow-y: auto;
        min-height: 0;
    }
    body.ms-chat-page .ms-chat-input-area {
        flex-shrink: 0;
        background: var(--cream);
        padding-top: 8px;
        padding-bottom: 4px;
    }
}

/* ══════════════════════════════════════════════════════════════
   CARDS (Outline Neo-minimalism Style)
   ══════════════════════════════════════════════════════════════ */
.ms-card {
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
}
.ms-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.ms-card-wine {
    background: var(--dark);
    color: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
}

.ms-card-cream {
    background: var(--cream);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
}

.ms-card-dark {
    background: var(--dark);
    color: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS (Round Pills & Outline Styles)
   ══════════════════════════════════════════════════════════════ */
.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-family: "Mada", system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: var(--border-width) var(--border-style) var(--border-color);
    transition: all var(--transition);
    text-decoration: none;
    outline: none;
}
.ms-btn-primary {
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.ms-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ms-btn-dark {
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.ms-btn-dark:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ms-btn-outline {
    background: transparent;
    color: var(--dark);
}
.ms-btn-outline:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.ms-btn-emerald {
    background: var(--emerald);
    color: var(--white);
}
.ms-btn-emerald:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ms-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════════════════════════ */
.ms-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(13,34,55,0.06);
    padding-bottom: 10px;
}
.ms-page-header img.ms-logo {
    height: 52px;
    width: auto;
    border-radius: var(--radius-sm);
    border: none; /* no border around page logos */
}
.ms-page-title {
    font-family: "Mada", system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
}
.ms-page-subtitle {
    font-size: 0.9rem;
    color: #556c82;
    margin-top: 3px;
}

.ms-page-header .ms-lang-icon {
    margin-right: auto;
    margin-left: 0;
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.ms-page-header .ms-lang-icon:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════════════
   TIMELINE STEP TRACKER (وش اسوي؟)
   ══════════════════════════════════════════════════════════════ */
.ms-timeline-container {
    position: relative;
    padding-right: 42px;
    margin: 24px 0;
}
.ms-timeline-line {
    position: absolute;
    right: 15px;
    top: 16px;
    bottom: 16px;
    width: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}
.ms-timeline-line-fill {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--dark);
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* make active step button hover clean and consistent */
#ms-steps-container > .ms-timeline-step.active > .ms-timeline-content > a.ms-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ms-timeline-step {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}
.ms-timeline-step:last-child {
    margin-bottom: 0;
}
/* blur future steps */
.ms-timeline-step:not(.active):not(.done) {
    filter: blur(1.6px) saturate(0.95);
    opacity: 0.78;
}

.ms-timeline-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.ms-timeline-step.active .ms-timeline-badge {
    background: var(--dark);
    color: var(--white);
    animation: pulse-active 2s infinite;
}
.ms-timeline-step.done .ms-timeline-badge {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
}

.ms-timeline-content {
    flex: 1;
    padding: 22px 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.ms-timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ms-timeline-step.active .ms-timeline-content {
    border-color: var(--dark);
    background: var(--white);
    box-shadow: var(--shadow-md);
}
.ms-timeline-step.done .ms-timeline-content {
    border-color: var(--emerald);
    background: var(--mint);
}

.ms-step-title {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-step-desc {
    font-size: 0.88rem;
    color: #4a5d6e;
    line-height: 1.6;
}

.ms-sub-steps {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.ms-sub-step {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--white);
    color: var(--dark);
    transition: all var(--transition);
}
.ms-sub-step.done { background: var(--emerald); color: white; border-color: var(--emerald); }
.ms-sub-step.active { background: var(--dark); color: white; border-color: var(--dark); }

@keyframes pulse-active {
    0% { box-shadow: 0 0 0 0 rgba(13,34,55,0.35); }
    70% { box-shadow: 0 0 0 10px rgba(13,34,55,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,34,55,0); }
}

/* ══════════════════════════════════════════════════════════════
   CHAT SCREEN (ChatGPT / Gemini Premium Style)
   ══════════════════════════════════════════════════════════════ */
.ms-chat-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 160px);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}
.ms-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ms-chat-messages::-webkit-scrollbar { width: 5px; }
.ms-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ms-chat-messages::-webkit-scrollbar-thumb { background: rgba(13,34,55,0.15); border-radius: 4px; }

.ms-bubble-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.ms-bubble-wrap.user {
    flex-direction: row-reverse;
}

.ms-bubble {
    max-width: 78%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.7;
    border: var(--border-width) var(--border-style) var(--border-color);
    box-shadow: var(--shadow-sm);
    word-break: break-word;
    transition: all var(--transition);
}
.ms-bubble.user {
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-md);
    border-top-left-radius: 6px; /* slightly sharper for user (top-left) */
    border-color: var(--dark);
}
.ms-bubble.assistant {
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-md);
    border-top-right-radius: 6px; /* slightly sharper for AI (top-right) */
    border-color: var(--border-color);
}

/* avatars are hidden in chat per request */
.ms-bubble-avatar { display: none !important; }

.ms-chat-input-area {
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ms-chat-input-container {
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: box-shadow var(--transition);
}
.ms-chat-input-container:focus-within {
    box-shadow: var(--shadow-lg);
}

.ms-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: "Mada", system-ui, sans-serif;
    font-size: 1rem;
    color: var(--dark);
    padding: 8px 0;
    resize: none;
    outline: none;
    min-height: 24px;
    max-height: 150px;
    line-height: 1.5;
}
.ms-chat-input::placeholder {
    font-family: "Mada", system-ui, sans-serif;
    opacity: 0.7;
}

.ms-chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.ms-chat-send-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}
.ms-chat-send-btn svg {
    width: 18px;
    height: 18px;
}

.ms-chat-credits {
    font-size: 0.78rem;
    color: #708599;
    text-align: center;
    margin-top: 4px;
}

/* بطاقات الاقتراحات المسبقة */
.ms-chat-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: auto 0;
    padding: 24px 0;
}
.ms-chat-suggestion-card {
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.ms-chat-suggestion-card:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.ms-chat-suggestion-icon {
    font-size: 1.4rem;
}

/* مؤشر الكتابة */
.ms-typing {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: 20px 20px 20px 4px;
    width: fit-content;
    box-shadow: var(--shadow-sm);
}
.ms-typing span {
    width: 8px;
    height: 8px;
    background: var(--dark);
    border-radius: 50%;
    animation: ms-bounce 1.2s infinite;
}
.ms-typing span:nth-child(2) { animation-delay: 0.2s; }
.ms-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ms-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

/* دعم الاتجاهين RTL/LTR التلقائي */
.rtl-text {
    direction: rtl !important;
    text-align: right !important;
}
.ltr-text {
    direction: ltr !important;
    text-align: left !important;
}

/* ══════════════════════════════════════════════════════════════
   TESTS PAGE & RESULTS
   ══════════════════════════════════════════════════════════════ */
.ms-test-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.ms-test-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ms-test-box.done { border-color: var(--border-color); background: var(--white); }
.ms-test-box.coming-soon { opacity: 0.55; cursor: not-allowed; }

.ms-test-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: none; /* no border for test logos */
    flex-shrink: 0;
    background: var(--white);
}
.ms-test-info { flex: 1; }
.ms-test-title {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}
.ms-test-desc { font-size: 0.85rem; color: #556c82; line-height: 1.6; }
.ms-test-badge {
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

/* Ribbon styling for completed tests */
.ms-test-ribbon {
    position: absolute;
    top: 14px;
    left: -32px;
    width: 120px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 0;
    transform: rotate(-45deg);
    z-index: 10;
}
.ms-test-box.done .ms-test-badge { display: none; }
.ms-badge-done { background: var(--emerald); color: white; border-color: var(--emerald); }
.ms-badge-soon { background: var(--cream); color: var(--dark); border-color: var(--border-color); }
.ms-badge-todo { background: var(--cream); color: var(--dark); border-color: var(--border-color); }

.ms-question-card {
    background: var(--white);
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
.ms-question-text {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.65;
}
.ms-rating-row {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}
.ms-rating-btn {
    flex: 1;
    min-width: 110px;
    padding: 14px 18px;
    height: auto;
    border-radius: var(--radius-sm);
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--white);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.ms-rating-btn:hover,
.ms-rating-btn.selected {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
@media (max-width: 600px) {
    .ms-rating-row {
        flex-direction: column;
        gap: 8px;
    }
    .ms-rating-btn {
        width: 100%;
        min-width: unset;
    }
    /* أزرار شاشة المقدمة تتراص عمودياً في الجوال */
    #intro-action-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    #intro-action-container .ms-btn {
        width: 100%;
        margin-right: 0 !important;
    }
}

.ms-result-code {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--dark);
    text-shadow: 2px 2px 0px rgba(13,34,55,0.1);
}
.ms-result-trait-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.ms-result-trait-bar-inner {
    flex: 1;
    height: 14px;
    background: var(--cream);
    border-radius: var(--radius-pill);
    border: var(--border-width) var(--border-style) var(--border-color);
    overflow: hidden;
}
.ms-result-trait-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ms-trait-label {
    width: 150px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
    flex-shrink: 0;
}
.ms-trait-score {
    width: 40px;
    font-size: 0.88rem;
    text-align: left;
    font-weight: 900;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   LIBRARY PAGE
   ══════════════════════════════════════════════════════════════ */
.ms-field-section {
    margin-bottom: 24px;
}
.ms-field-title {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 14px 20px;
    background: var(--dark);
    color: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.ms-field-title:hover {
    background: var(--primary-hover);
}

.ms-majors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.ms-major-pill {
    padding: 14px 18px;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.ms-major-pill:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ms-major-detail-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: var(--dark);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}
.ms-major-name { font-size: 2.2rem; font-weight: 900; }
.ms-major-path-badge {
    display: inline-block;
    background: #444255;
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
}

.ms-info-section {
    margin-bottom: 28px;
}
.ms-info-section-title {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    color: var(--dark);
}

.ms-uni-card {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}
.ms-uni-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 0; /* no rounding for uni logos */
    border: none; /* no border around university logos */
    flex-shrink: 0;
}
.ms-uni-fallback-logo {
    width: 46px;
    height: 46px;
    border-radius: 0;
    border: none;
    background: var(--dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
    font-family: 'thmanyahserifdisplay', sans-serif;
}

/* ══ آراء الطلاب — تصميم تعليق اجتماعي ══ */
.ms-opinion {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 14px;
    background: var(--white);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ms-opinion-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    background: var(--cream);
}
.ms-opinion-body {
    flex: 1;
    min-width: 0;
}
.ms-opinion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}
.ms-opinion-role {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--dark);
}
.ms-opinion-time {
    font-size: 0.73rem;
    color: #8fa5b5;
}
.ms-opinion-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #2d4459;
    position: relative;
}
.ms-opinion-text::before {
    content: '"';
    font-size: 2rem;
    color: rgba(13,34,55,0.08);
    font-family: serif;
    line-height: 0;
    vertical-align: -0.5rem;
    margin-left: 3px;
}
.ms-opinion-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--cream);
    color: var(--dark);
}
.ms-opinion-badge.student {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
}
.ms-opinion-badge.graduate {
    background: #dcfce7;
    border-color: #16a34a;
    color: #15803d;
}

/* ══════════════════════════════════════════════════════════════
   PROFILE & VALIDATION
   ══════════════════════════════════════════════════════════════ */
.ms-avatar-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--dark);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    width: 100%;
}
.ms-avatar-section .ms-avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
}
.ms-profile-meta-desktop {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.ms-credits-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
}
.ms-mobile-credits-card {
    display: none;
}
@media (max-width: 768px) {
    .ms-avatar-section {
        padding: 16px 18px;
    }
    .ms-avatar-section .ms-avatar-img {
        width: 52px;
        height: 52px;
    }
    .ms-profile-meta-desktop {
        display: none;
    }
    .ms-mobile-credits-card {
        display: block;
        background: #ffffff;
        border: var(--border-width) var(--border-style) var(--border-color);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        padding: 16px 20px;
        margin-bottom: 24px;
        margin-top: -14px;
    }
    .ms-mobile-credits-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.ms-form-group {
    margin-bottom: 20px;
}
.ms-form-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark);
}
.ms-form-hint {
    font-size: 0.78rem;
    color: #6a8296;
    margin-top: 5px;
}

/* حقول الإدخال والتحقق */
.ms-input, .ms-textarea {
    width: 100%;
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: "Mada", system-ui, sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: white;
    outline: none;
    transition: all var(--transition);
    direction: rtl;
    box-shadow: var(--shadow-sm);
}
.ms-input::placeholder, .ms-textarea::placeholder {
    font-family: "Mada", system-ui, sans-serif;
    opacity: 0.75;
}
.ms-input:focus, .ms-textarea:focus {
    box-shadow: var(--shadow-md);
    border-color: var(--dark);
}

/* حالات التنبيه والنجاح البصرية */
.ms-input.is-invalid, .ms-textarea.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}
.ms-input.is-valid, .ms-textarea.is-valid {
    border-color: var(--emerald) !important;
    background-color: #f0fdf4;
}
.ms-validation-msg {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 5px;
    font-weight: 700;
    display: none;
}
.ms-validation-msg.visible {
    display: block;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════ */
.ms-faq-item {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.ms-faq-q {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    color: var(--dark);
    transition: all var(--transition);
}
.ms-faq-q:hover { background: var(--cream); }
.ms-faq-q.open { background: var(--dark); color: white; }

.ms-faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.75;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    background: white;
    color: #334e68;
}
.ms-faq-a.open { max-height: 300px; padding: 16px 20px; border-top: var(--border-width) var(--border-style) var(--border-color); }
.ms-faq-chevron { transition: transform var(--transition); }
.ms-faq-q.open .ms-faq-chevron { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════════════════
   TOAST / NOTIFICATIONS
   ══════════════════════════════════════════════════════════════ */
.ms-toast-container {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.ms-toast {
    background: var(--dark);
    color: white;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style) var(--border-color);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.ms-toast.show { opacity: 1; transform: translateY(0); }
.ms-toast.success { background: var(--emerald); border-color: var(--emerald); }
.ms-toast.error { background: #ef4444; border-color: #ef4444; }

/* ══════════════════════════════════════════════════════════════
   MARKDOWN DISPLAY — GitHub-style
   ══════════════════════════════════════════════════════════════ */

/* تخصيص GitHub Markdown لتتناسب مع الخط واتجاه RTL */
.ms-markdown-content {
    font-family: "Mada", system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    direction: rtl;
    text-align: right;
}
.ms-markdown-content h1,
.ms-markdown-content h2,
.ms-markdown-content h3,
.ms-markdown-content h4,
.ms-markdown-content h5,
.ms-markdown-content h6 {
    font-family: "Mada", system-ui, sans-serif;
    color: var(--dark);
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 900;
    border-bottom: 1px solid rgba(13,34,55,0.1);
    padding-bottom: 6px;
}
.ms-markdown-content h1 { font-size: 2em; }
.ms-markdown-content h2 { font-size: 1.5em; }
.ms-markdown-content h3 { font-size: 1.25em; border-bottom: none; }
.ms-markdown-content p { margin-bottom: 14px; line-height: 1.8; font-size: 0.95rem; }
.ms-markdown-content a { color: #0369a1; text-decoration: underline; }
.ms-markdown-content a:hover { color: #0284c7; }
.ms-markdown-content strong { color: var(--dark); font-weight: 900; }
.ms-markdown-content em { font-style: italic; }
.ms-markdown-content ul, .ms-markdown-content ol {
    margin: 12px 0 12px 0;
    padding-right: 24px;
    line-height: 1.85;
    font-size: 0.92rem;
}
.ms-markdown-content li {
    margin-bottom: 6px;
}
.ms-markdown-content li > ul, .ms-markdown-content li > ol {
    margin-top: 4px;
}
.ms-markdown-content pre {
    background: #0f1724;
    color: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
    overflow-x: auto;
    margin: 16px 0;
    font-size: 0.87rem;
    line-height: 1.6;
    direction: ltr;
    text-align: left;
}
.ms-markdown-content code {
    background: rgba(13,34,55,0.06);
    color: var(--dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
    font-size: 0.88em;
}
.ms-markdown-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}
.ms-markdown-content blockquote {
    border-right: 4px solid rgba(13,34,55,0.2);
    border-left: none;
    padding: 10px 16px 10px 14px;
    background: rgba(13,34,55,0.03);
    color: #4a6375;
    margin: 16px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.ms-markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.ms-markdown-content table th {
    background: var(--dark);
    color: white;
    font-weight: 700;
    padding: 10px 14px;
    text-align: right;
    border: 1px solid rgba(13,34,55,0.2);
}
.ms-markdown-content table td {
    border: 1px solid rgba(13,34,55,0.12);
    padding: 8px 14px;
    text-align: right;
}
.ms-markdown-content table tr:nth-child(even) { background: rgba(13,34,55,0.03); }
.ms-markdown-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 12px 0;
}
.ms-markdown-content hr {
    border: none;
    border-top: var(--border-width) var(--border-style) var(--border-color);
    margin: 24px 0;
}

/* when showing markdown detail view, remove card border to blend with background */
#ms-md-view .ms-card {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* ── تنسيق ماركداون بسيط للشات ── */
.ms-bubble.assistant .md-h1,
.ms-bubble.assistant .md-h2,
.ms-bubble.assistant .md-h3 {
    font-family: "Mada", system-ui, sans-serif;
    font-weight: 900;
    color: var(--dark);
    margin: 10px 0 6px;
    line-height: 1.3;
}
.ms-bubble.assistant .md-h1 { font-size: 1.15rem; border-bottom: 1px solid rgba(13,34,55,0.1); padding-bottom: 4px; }
.ms-bubble.assistant .md-h2 { font-size: 1.05rem; }
.ms-bubble.assistant .md-h3 { font-size: 0.98rem; }
.ms-bubble.assistant .md-strong { font-weight: 900; color: var(--dark); }
.ms-bubble.assistant .md-em { font-style: italic; }
.ms-bubble.assistant .md-code {
    background: rgba(13,34,55,0.06);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: ui-monospace, 'Courier New', monospace;
    font-size: 0.85em;
    color: #1e3a5f;
}
.ms-bubble.assistant .md-blockquote {
    border-right: 3px solid rgba(13,34,55,0.25);
    padding: 4px 10px;
    background: rgba(13,34,55,0.04);
    color: #4a6375;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
}
.ms-bubble.assistant .md-ul,
.ms-bubble.assistant .md-ol {
    padding-right: 20px;
    margin: 8px 0;
}
.ms-bubble.assistant .md-ul li,
.ms-bubble.assistant .md-ol li {
    margin-bottom: 3px;
    line-height: 1.65;
}
.ms-bubble.assistant .md-hr {
    border: none;
    border-top: 1px solid rgba(13,34,55,0.12);
    margin: 10px 0;
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.ms-divider {
    height: var(--border-width);
    background: var(--border-color);
    margin: 32px 0;
}

.ms-spinner {
    width: 26px; height: 26px;
    border: 3px solid rgba(13,34,55,0.15);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: ms-spin 0.8s linear infinite;
    display: inline-block;
}
@keyframes ms-spin { to { transform: rotate(360deg); } }

.ms-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}
.ms-section-title {
    font-family: 'thmanyahserifdisplay', sans-serif;
    font-weight: 900;
    font-size: 1.45rem;
    color: var(--dark);
    margin-bottom: 18px;
}
.ms-text-muted { color: #556c82; font-size: 0.88rem; }
.ms-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #708599;
}
.ms-empty-state svg { margin: 0 auto 16px; display: block; opacity: 0.4; }

/* ══════════════════════════════════════════════════════════════
   IKIGAI DIAGRAM
   ══════════════════════════════════════════════════════════════ */
.ms-ikigai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.ms-ikigai-circle {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.ms-ikigai-circle-title {
    font-weight: 900;
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-family: 'thmanyahserifdisplay', sans-serif;
    color: var(--dark);
}
.ms-ikigai-tag-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ms-ikigai-tag {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    border: var(--border-width) var(--border-style) var(--border-color);
    background: white;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .ms-bubble { max-width: 88%; }
    .ms-result-code { font-size: 3.2rem; }
    .ms-major-name { font-size: 1.6rem; }
    .ms-ikigai-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   FINAL DECISION ENGINE
   ══════════════════════════════════════════════════════════════ */
#box-final-decision {
    background: linear-gradient(135deg, var(--dark) 0%, #2d3f4c 100%);
    color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
#box-final-decision h3,
#box-final-decision > .ms-final-decision-header p {
    color: var(--white) !important;
}
#box-final-decision .ms-test-icon {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
#btn-generate-final-decision {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
    font-weight: 800;
    transition: background 0.2s, transform 0.15s;
}
#btn-generate-final-decision:hover:not(:disabled) {
    background: #7a2045;
    transform: translateY(-1px);
}
#btn-generate-final-decision:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
#final-decision-report-wrapper {
    display: none;
    margin-top: 24px;
}
.ms-final-report-card {
    animation: ms-fadein 0.4s ease;
}

/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */
@media print {
    body > * {
        display: none !important;
    }
    #ms-print-area {
        display: block !important;
        position: static;
        width: 100%;
        padding: 0;
        background: white;
    }
    #ms-print-area .no-print {
        display: none !important;
    }
    #ms-print-area .ms-divider {
        border-top: 1px solid #ccc;
        background: none;
        height: 0;
    }
    #ms-print-area * {
        color: #0d2237 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-color: #ccc !important;
    }
}
