/* =========================================================
   NU Result – Premium Design System v4.0.0
   Matches: nu_result_fixed.html reference design
   Fonts: Outfit + Hind Siliguri | Icons: SVG inline
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────── */
.nucom-app,
.ebru-app,
.ebru-redesign {
    --primary:      #0F52BA;
    --primary-rgb:  15, 82, 186;
    --secondary:    #2563EB;
    --accent:       #3B82F6;
    --success:      #10B981;
    --warning:      #F59E0B;
    --danger:       #EF4444;
    --dark:         #0F172A;
    --light:        #F8FAFC;
    --white:        #FFFFFF;
    --gray-100:     #F1F5F9;
    --gray-200:     #E2E8F0;
    --gray-300:     #CBD5E1;
    --gray-400:     #64748B;
    --gray-600:     #475569;
    --gray-800:     #1E293B;

    --primary-dk:   #1d4ed8;
    --primary-xdk:  #1e3a8a;
    --primary-lt:   #eff6ff;
    --primary-md:   #bfdbfe;
    --green:        #10b981;
    --green-lt:     #d1fae5;
    --red:          #ef4444;
    --red-lt:       #fef2f2;
    --border:       #E2E8F0;
    --bg:           #F8FAFC;
    --card:         #ffffff;
    --text:         #0F172A;
    --text-2:       #334155;
    --muted:        #64748B;

    --shadow-sm:  0 1px 2px 0 rgba(0,0,0,.05);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.06), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-xl:  0 20px 25px -5px rgba(15,82,186,.06), 0 10px 10px -5px rgba(0,0,0,.03);

    --radius:     16px;
    --radius-sm:  6px;
    --radius-xs:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    font-family: 'Outfit', 'Hind Siliguri', sans-serif;
    font-size: 14px;
    color: var(--dark);
    max-width: 720px;
    margin: 32px auto;
    padding: 0 .75rem;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nucom-app *, .nucom-app *::before, .nucom-app *::after,
.ebru-app *,  .ebru-app *::before,  .ebru-app *::after,
.ebru-redesign *, .ebru-redesign *::before, .ebru-redesign *::after {
    box-sizing: inherit;
}

/* ── Utility ─────────────────────────────────────────────── */
.nucom-hide { display: none !important; }

/* ── Card ─────────────────────────────────────────────────── */
.nucom-card {
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1rem;
    animation: nucom-fadein .28s ease;
    position: relative;
}

@keyframes nucom-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Dividers ─────────────────────────────────────────────── */
.nucom-divider-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 16px;
    color: var(--gray-400);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nucom-divider-label::before,
.nucom-divider-label::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--gray-200);
}

.nucom-divider-label svg {
    stroke: var(--gray-400);
    flex-shrink: 0;
}

/* ── Form grid ────────────────────────────────────────────── */
.nucom-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.nucom-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nucom-field--full {
    grid-column: 1 / -1;
}

/* ── Labels ───────────────────────────────────────────────── */
.nucom-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .01em;
    flex-wrap: wrap;
}

.nucom-label svg {
    flex-shrink: 0;
    stroke: var(--primary);
}

.nucom-label-sub {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: .72rem;
    color: var(--gray-400);
    font-weight: 400;
    margin-left: auto;
    text-transform: none;
    letter-spacing: 0;
}

.nucom-req { color: var(--danger); font-size: .85em; }

/* ── Select ───────────────────────────────────────────────── */
.nucom-select-wrap { position: relative; }

.nucom-select-wrap select {
    width: 100%;
    padding: .75rem 1rem;
    padding-right: 2.4rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 600;
    background: var(--white);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
}

.nucom-select-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,82,186,.10);
}

.nucom-chevron {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    stroke: var(--gray-400);
}

/* ── Text inputs ──────────────────────────────────────────── */
.nucom-input-wrap input {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 600;
    background: var(--white);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.nucom-input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,82,186,.10);
}

.nucom-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 2px rgba(239,68,68,.12) !important;
}

/* ── Alert ────────────────────────────────────────────────── */
.nucom-alert {
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 14px;
    border: 1px solid transparent;
    animation: nucom-fadein .25s ease;
}

.nucom-alert--error   { background: var(--red-lt);   color: #991b1b; border-color: #fecaca; }
.nucom-alert--success { background: var(--green-lt); color: #065f46; border-color: #a7f3d0; }

/* ── CAPTCHA ──────────────────────────────────────────────── */
.nucom-captcha-section { margin-bottom: 4px; }

.nucom-captcha-label {
    font-size: .77rem;
    font-weight: 700;
    color: var(--gray-600);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: .35rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.nucom-captcha-label svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Captcha row: question box + refresh btn | answer input */
.nucom-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Captcha box: question + refresh button side by side */
.nucom-captcha-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--gray-100);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: .75rem 1.25rem;
    height: 48px;
    flex-shrink: 0;
    min-width: 160px;
}

.nucom-captcha-q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: .05em;
    user-select: none;
    white-space: nowrap;
    transition: opacity .3s;
}

.nucom-fading { opacity: .4; }

/* Refresh button — sits inside the captcha box */
.nucom-refresh-math {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    border-radius: 4px;
    transition: color .15s, background .15s;
    flex-shrink: 0;
    line-height: 0;
}

.nucom-refresh-math svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke: var(--gray-400);
    fill: none;
    pointer-events: none;
    flex-shrink: 0;
}

.nucom-refresh-math:hover {
    color: var(--primary);
    background: rgba(15,82,186,.08);
}

.nucom-refresh-math:hover svg {
    stroke: var(--primary);
}

.nucom-refresh-math:active svg {
    animation: nucom-spin .4s linear;
}

/* Captcha answer input */
.nucom-captcha-input {
    flex: 1;
    min-width: 120px;
}

.nucom-captcha-input input {
    text-align: center;
    letter-spacing: .10em;
    font-weight: 700;
    height: 48px;
    padding: .75rem 1rem;
}

/* ── Submit row ───────────────────────────────────────────── */
.nucom-submit-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nucom-btn-submit {
    flex: 1;
    min-width: 0;
    padding: .85rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    box-shadow: 0 4px 14px rgba(15,82,186,.20);
    transition: var(--transition);
}

.nucom-btn-submit:hover:not(:disabled) {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15,82,186,.25);
}

.nucom-btn-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}

.nucom-btn-submit svg { stroke: currentColor; flex-shrink: 0; }

/* ── Reset button ─────────────────────────────────────────── */
.nucom-btn-reset {
    padding: .85rem 1.4rem;
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.nucom-btn-reset svg { stroke: currentColor; flex-shrink: 0; }

.nucom-btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15,82,186,.02);
}

/* ── Spinner ──────────────────────────────────────────────── */
@keyframes nucom-spin {
    to { transform: rotate(360deg); }
}

.nucom-spin {
    animation: nucom-spin .75s linear infinite;
}

.nucom-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 52px 0;
    color: var(--gray-400);
    font-size: .9rem;
    font-weight: 500;
}

.nucom-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(15,82,186,.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: nucom-spin .75s linear infinite;
}

/* ── Error panel ──────────────────────────────────────────── */
.nucom-err-text {
    text-align: center;
    color: var(--danger);
    font-weight: 600;
    margin: 0 0 16px;
}

/* ── Result section ───────────────────────────────────────── */
/* ── Modal overlay ────────────────────────────────────────── */
.nucom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 20, 50, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: nucom-fadein .25s ease;
}

.nucom-modal-overlay.nucom-modal-open {
    display: flex;
}

.nucom-modal-box {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(10,20,50,.38);
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: nucom-modal-in .28s cubic-bezier(.34,1.56,.64,1);
}

@keyframes nucom-modal-in {
    from { opacity: 0; transform: scale(.93) translateY(18px); }
    to   { opacity: 1; transform: scale(1)  translateY(0);     }
}

/* ── Modal header ─────────────────────────────────────────── */
.nucom-modal-header {
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.nucom-modal-titles {
    min-width: 0;
}

.nucom-result-title-1 {
    font-size: .8rem;
    font-weight: 500;
    margin: 0 0 2px;
    color: rgba(255,255,255,.85);
    letter-spacing: .03em;
}

.nucom-result-title-2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nucom-modal-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .18s;
    line-height: 1;
}

.nucom-modal-close svg {
    display: block;
    stroke: #fff;
    flex-shrink: 0;
}

.nucom-modal-close:hover {
    background: rgba(255,255,255,.28);
}

/* ── Modal body (scrollable) ──────────────────────────────── */
.nucom-modal-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    background: var(--light);
}

/* ── PDF iframe ───────────────────────────────────────────── */
.nucom-pdf-viewer-wrap {
    background: var(--light);
    height: 100%;
}

.nucom-pdf-iframe {
    display: block;
    width: 100%;
    height: 62vh;
    border: none;
    min-height: 320px;
}

.nucom-pdf-image-viewer {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nucom-pdf-page-wrap {
    background: var(--white);
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.nucom-pdf-page-img { width: 100%; display: block; }

/* ── Modal footer / action buttons ───────────────────────── */
.nucom-result-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1.5px solid var(--gray-200);
    background: var(--white);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.nucom-result-btn {
    flex: 1;
    min-width: 140px;
    padding: .68rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-decoration: none;
    transition: var(--transition);
}

.nucom-result-btn svg { stroke: currentColor; flex-shrink: 0; }

.nucom-result-btn--download {
    background: var(--primary);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(15,82,186,.22);
}

.nucom-result-btn--download:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15,82,186,.28);
}

.nucom-result-btn--search {
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
}

.nucom-result-btn--search:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15,82,186,.03);
    transform: translateY(-1px);
}

.nucom-pdf-mobile-note {
    font-size: .77rem;
    color: var(--gray-400);
    text-align: center;
    padding: 4px 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: var(--white);
    flex-shrink: 0;
}

/* keep old selector harmless */
.nucom-result-section { display: none; }

/* ── Admission result sheet ───────────────────────────────── */
.nu-result-sheet { border: none; font-family: 'Outfit', Arial, sans-serif; font-size: 12.5px; color: var(--dark); }
.nu-sheet-header { background: var(--white); text-align: center; padding: 16px 20px 12px; border-bottom: 3px solid var(--primary); }
.nu-sheet-logo   { width: 60px; height: 60px; display: block; margin: 0 auto 8px; }
.nu-sheet-org    { font-size: 17px; font-weight: 800; color: var(--primary); letter-spacing: .3px; }
.nu-sheet-type   { font-size: 11.5px; color: var(--gray-600); margin-top: 3px; line-height: 1.6; }
.nu-info-wrap    { padding: 12px 18px 6px; }
.nu-info-table   { width: 100%; border-collapse: collapse; border: 1px solid #dde6f5; }
.nu-info-table td { padding: 6px 11px; border: 1px solid #e2eaf6; font-size: 12px; vertical-align: middle; }
td.nu-lbl    { background: var(--primary-lt); font-weight: 700; color: var(--primary-xdk); width: 150px; white-space: nowrap; }
td.nu-lbl-sm { background: var(--primary-lt); font-weight: 700; color: var(--primary-xdk); width: 120px; white-space: nowrap; }
td.nu-val    { color: var(--dark); font-weight: 500; }
.nu-result-badge        { display: inline-block; background: var(--primary-lt); color: #1e40af; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 4px; border: 1px solid var(--primary-md); }
.nu-result-badge.fail-badge { background: var(--red-lt); color: #991b1b; border-color: #fca5a5; }
.nu-gpa-badge           { display: inline-block; background: var(--green-lt); color: #065f46; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; border: 1px solid #6ee7b7; }
.nu-course-wrap    { padding: 8px 18px 16px; }
.nu-course-heading { text-align: center; font-size: 13px; font-weight: 700; color: var(--primary-xdk); margin-bottom: 7px; padding-top: 9px; border-top: 1px solid #e2eaf6; }
.nu-course-table   { width: 100%; border-collapse: collapse; border: 1px solid #dde6f5; }
.nu-course-table th { background: var(--primary); color: #fff; padding: 7px 11px; font-size: 11.5px; font-weight: 700; text-align: left; border: 1px solid var(--primary-dk); }
.nu-th-cr   { text-align: center; width: 55px; }
.nu-th-c    { text-align: center; width: 70px; }
.nu-th-code { width: 80px; }
.nu-th-gp   { text-align: center; width: 55px; }
.nu-course-table td { padding: 6px 11px; border: 1px solid #e2eaf6; font-size: 12px; vertical-align: middle; }
.nu-course-table tbody tr:nth-child(even) td { background: var(--light); }
.nu-td-code   { color: var(--gray-400); font-family: monospace; font-size: 11px; }
.nu-td-grade  { text-align: center; font-weight: 700; font-size: 13px; }
.nu-td-gp     { text-align: center; font-size: 12px; font-weight: 600; color: var(--primary-xdk); }
.nu-td-credit { text-align: center; font-size: 11.5px; color: var(--primary-xdk); font-weight: 600; }
.nu-grade-fail { color: #dc2626; }
.nu-grade-d    { color: #92600a; }
.nu-grade-c    { color: #1d4ed8; }
.nu-grade-b    { color: #15803d; }
.nu-grade-a    { color: #14532d; }
.nu-grade-pass { color: #166534; }
.nu-sheet-footer { display: flex; justify-content: space-between; align-items: flex-end; padding: 9px 18px 14px; border-top: 1px solid var(--gray-200); margin-top: 2px; }
.nu-footer-sig   { text-align: right; }
.nu-sig-top      { display: block; font-style: italic; font-size: 11px; color: var(--gray-600); }
.nu-sig-title    { display: block; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); }
.nu-sig-org      { display: block; font-size: 10.5px; color: var(--primary); font-weight: 700; text-transform: uppercase; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .nucom-app { margin: 10px auto; padding: 0 .5rem; font-size: 13px; }
    .nucom-card { padding: 1.25rem; }
    .nucom-form-grid { grid-template-columns: 1fr; }
    .nucom-pdf-iframe { height: 52vh; min-height: 280px; }
    .nucom-result-actions { flex-direction: column; }
    .nucom-result-btn { min-width: unset; }
    .nucom-modal-overlay { padding: 0; align-items: flex-end; }
    .nucom-modal-box { max-width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; max-height: 94vh; }
    .nu-info-table td { font-size: 11px; padding: 5px 8px; }
    td.nu-lbl, td.nu-lbl-sm { width: 100px; }
    .nucom-captcha-row { flex-direction: column; align-items: stretch; }
    .nucom-captcha-box { min-width: unset; width: 100%; justify-content: space-between; }
    .nucom-captcha-input { width: 100%; }
    .nucom-submit-row { flex-direction: column; gap: 10px; }
    .nucom-btn-submit { width: 100%; flex: none; }
    .nucom-btn-reset { width: 100%; flex: none; }
}

/* ══════════════════════════════════════════════════════════
   UNIFIED FORM EXTRAS — v6.0.0
   ══════════════════════════════════════════════════════ */

/* Full-width field — spans both grid columns */
.nucom-field--full {
    grid-column: 1 / -1;
}

/* HTML result area */
.nucom-html-result {
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.88rem;
}
.nucom-html-result table {
    width: 100%;
    border-collapse: collapse;
}
.nucom-html-result th,
.nucom-html-result td {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.nucom-html-result th { background: #f8fafc; font-weight: 600; }

/* ── Locked-type form heading ───────────────────────────────────── */
.nucom-form-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nucom-primary, #1a56db);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nucom-primary, #1a56db);
    letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════
   EXAM LABEL BAR — shown between modal header & student info
   ══════════════════════════════════════════════════════ */

/* Centered exam label bar (e.g. "RESULT OF SSC ... – 2024") */
.ebru-exam-label-bar {
    text-align: center;
    padding: 10px 16px 6px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 10px;
    background: var(--white);
}

.ebru-exam-label-bar .ebru-result-exam-label {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* Student summary block — left-aligned card above the table */
.ebru-student-summary {
    background: var(--primary-lt);
    border: 1px solid var(--primary-md);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 10px;
    font-size: .82rem;
    color: var(--primary-xdk);
    font-weight: 600;
    text-align: left;
}

/* Fix modal header so the title block is truly centered
   (the close button stays on the right via flex) */
.ebru-modal-header--centered {
    position: relative;
}

.ebru-modal-header--centered .nucom-modal-titles {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* keep the close button from overlapping long text */
    max-width: calc(100% - 80px);
}
