:root {
    --app-primary: #0f4c81;
    --app-primary-dark: #0a3558;
    --app-primary-soft: #dbeafe;
    --app-accent: #16a34a;
    --app-bg: #eef3f8;
    --app-card: #ffffff;
    --app-border: #dfe7f1;
    --app-text: #163047;
    --app-muted: #6b7b8c;
    --app-shadow: 0 14px 35px rgba(15, 76, 129, 0.08);
    --app-shadow-soft: 0 8px 20px rgba(15, 76, 129, 0.06);
}

html, body {
    min-height: 100%;
}

body {
    background: linear-gradient(180deg, #f3f7fb 0%, #edf3f9 100%);
    color: var(--app-text);
    font-family: 'Inter', system-ui, sans-serif;
}

.auth-shell {
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 76, 129, 0.18), transparent 30%),
        linear-gradient(180deg, #f4f8fc 0%, #e9f0f7 100%);
}

.app-shell {
    background: linear-gradient(180deg, #eff4f9 0%, #eaf1f7 100%);
}

body.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main-content {
    flex: 1 0 auto;
}

.director-header {
    background: linear-gradient(135deg, var(--app-primary-dark) 0%, var(--app-primary) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.director-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.director-brand {
    min-width: 310px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
}

.director-brand:hover {
    color: #fff;
}

.director-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    font-size: 1.35rem;
}

.director-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.director-brand-text small {
    font-size: .76rem;
    letter-spacing: .14em;
    opacity: .8;
}

.director-brand-text strong {
    font-size: 2rem;
    font-weight: 800;
}

.director-nav-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.director-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    padding-left: 1rem;
}

.director-nav a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    padding: .2rem .15rem;
    transition: color .2s ease, opacity .2s ease;
}

.director-nav a:hover,
.director-nav a.active {
    color: #fff;
}

.director-nav .slash {
    color: rgba(255,255,255,0.34);
    font-weight: 300;
    font-size: 1.15rem;
}

.director-side {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.director-meta {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
}

.director-meta span {
    color: #e8f1fb;
    font-size: .86rem;
    font-weight: 700;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.12);
}

.director-userbox {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem .95rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.12);
}

.director-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 800;
}

.director-userinfo {
    color: #fff;
    line-height: 1.05;
}

.director-userinfo small {
    opacity: .75;
    font-size: .74rem;
}

.director-userinfo strong {
    display: block;
    font-size: 1.02rem;
}

.director-logout {
    font-weight: 700;
    border-radius: .95rem;
    padding-inline: 1rem;
}

.auth-page {
    min-height: calc(100vh - 120px);
    align-items: center;
}

.auth-card,
.card,
.modal-content {
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    box-shadow: var(--app-shadow);
}

.auth-card {
    backdrop-filter: blur(8px);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--app-primary), #2c73b8);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 76, 129, .24);
}

.auth-link {
    color: var(--app-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-gradient,
.btn-primary {
    background: linear-gradient(135deg, var(--app-primary), #2f7cc7);
    border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-gradient:hover {
    background: linear-gradient(135deg, #0c426f, #2466a8);
    border-color: #0c426f;
}

.btn-success {
    background: linear-gradient(135deg, #16904c, #22b35f);
    border-color: #16904c;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: .9rem;
    border-color: #d5e1ec;
    min-height: 46px;
}

textarea.form-control {
    min-height: 110px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 76, 129, 0.5);
    box-shadow: 0 0 0 .25rem rgba(15, 76, 129, 0.12);
}

.page-header h1,
.page-header h3,
h3.mb-4 {
    font-weight: 800;
    letter-spacing: -.02em;
}

.page-header p {
    font-size: 1.02rem;
}

.page-toolbar {
    gap: .75rem;
}

.page-toolbar .badge {
    border-radius: 999px;
    padding: .7rem .95rem;
}

.panel-card {
    overflow: hidden;
}

.panel-card .card-header,
.modal-header {
    border-bottom: 1px solid #e8eff6;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
    font-weight: 800;
}

.table thead th,
.panel-card .table thead th {
    background: #f5f9fc;
    color: #4d6072;
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.table td,
.table th {
    white-space: nowrap;
    vertical-align: middle;
}

.badge.text-bg-secondary {
    background: #e8eef5 !important;
    color: #425a70 !important;
}

.dashboard-mini-grid .col-6,
.dashboard-mini-grid .col-12 {
    display: flex;
}

.stats-card-mini {
    width: 100%;
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--app-shadow-soft);
    overflow: hidden;
}

.stats-card-mini .card-body {
    padding: .9rem 1rem;
}

.stats-card-mini small {
    display: block;
    font-size: .73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .88;
    margin-bottom: .45rem;
}

.stats-card-mini h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.15;
    font-weight: 800;
}

.stats-card-mini .text-muted {
    color: rgba(255,255,255,.86) !important;
    font-size: .76rem;
}

.stats-card-blue {
    background: linear-gradient(135deg, #0f4c81, #2e78c1);
    color: #fff;
}

.stats-card-indigo {
    background: linear-gradient(135deg, #4f46e5, #7c6cff);
    color: #fff;
}

.stats-card-green {
    background: linear-gradient(135deg, #0f9f6e, #28c58a);
    color: #fff;
}

.stats-card-amber {
    background: linear-gradient(135deg, #d97706, #f8b549);
    color: #fff;
}

.stats-card-rose {
    background: linear-gradient(135deg, #d1435b, #f07085);
    color: #fff;
}

.toast-stack {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.toast-stack.is-hidden {
    display: none;
}

.ajax-message-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(2px);
}

.app-toast {
    min-width: 320px;
    max-width: min(560px, calc(100vw - 2rem));
    box-shadow: 0 16px 35px rgba(22, 34, 48, 0.18);
    border-radius: 1rem;
}

.app-toast-centered {
    position: relative;
    z-index: 1;
}

.app-toast .toast-body {
    padding: 1rem 1.15rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.lookup-group .border {
    border-color: #e5edf5 !important;
    border-radius: .9rem !important;
}

canvas {
    max-width: 100%;
}

.app-footer {
    border-top: 1px solid var(--app-border);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
}

.table-footer-bar {
    background: #fbfdff;
}

.pagination .page-link {
    border-radius: .75rem;
    margin-left: .25rem;
    color: var(--app-primary);
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

@media (max-width: 1200px) {
    .director-brand {
        min-width: auto;
    }

    .director-brand-text strong {
        font-size: 1.55rem;
    }

    .director-nav-wrap {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1rem;
    }

    .director-nav {
        padding-left: 0;
    }

    .director-side {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .director-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .director-brand-text strong {
        font-size: 1.35rem;
    }

    .director-nav {
        gap: .4rem;
        font-size: .95rem;
    }

    .director-meta {
        width: 100%;
    }

    .director-userbox {
        width: 100%;
        justify-content: space-between;
    }

    .page-toolbar {
        width: 100%;
    }

    .stats-card-mini h3 {
        font-size: .98rem;
    }

    .app-toast {
        min-width: 280px;
        max-width: calc(100vw - 2rem);
    }
}



/* menu diretoria visivel */
.director-header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.director-top-shell {
    background: linear-gradient(135deg, var(--app-primary-dark) 0%, var(--app-primary) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.director-nav-shell {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--app-border);
    backdrop-filter: blur(10px);
}

.director-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.director-user-strip {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.director-pill {
    color: #e8f1fb;
    font-size: .86rem;
    font-weight: 700;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.director-menu-bar { display: none; }

.director-nav {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .95rem 0;
    overflow-x: auto;
    white-space: nowrap;
}

.director-nav a {
    color: #35506b;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: .01em;
    padding: .15rem 0;
}

.director-nav a:hover {
    color: var(--app-primary);
}

.director-nav a.active {
    color: var(--app-primary-dark);
    text-decoration: underline;
    text-underline-offset: .38rem;
    text-decoration-thickness: 3px;
}

.director-nav .slash {
    color: #9fb0c3;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .director-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .director-user-strip {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .director-nav a {
        font-size: .96rem;
    }

    .director-user-strip {
        gap: .5rem;
    }

    .director-pill {
        font-size: .78rem;
        padding: .45rem .7rem;
    }
}


.director-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.director-user-strip {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.director-pill {
    color: #e8f1fb;
    font-size: .86rem;
    font-weight: 700;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.director-password-btn {
    border-radius: .95rem;
    font-weight: 700;
    padding-inline: .95rem;
}

.director-nav-shell {
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(15, 76, 129, 0.08);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.director-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem;
    min-height: 64px;
    padding: 0;
}

.director-nav a {
    position: relative;
    color: var(--app-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    padding: .45rem 0;
    transition: color .22s ease, transform .22s ease;
}

.director-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.35rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--app-primary), #2f7cc7);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .24s ease;
}

.director-nav a:hover {
    color: var(--app-primary);
    transform: translateY(-1px);
}

.director-nav a:hover::after,
.director-nav a.active::after {
    transform: scaleX(1);
}

.director-nav a.active {
    color: var(--app-primary);
}

.director-nav .slash {
    color: #8aa0b5;
    font-size: 1.15rem;
    font-weight: 400;
    user-select: none;
    transition: transform .2s ease, color .2s ease;
}

.director-nav:hover .slash {
    color: #6d8398;
}

@media (max-width: 991.98px) {
    .director-brand-text strong {
        font-size: 1.55rem;
    }

    .director-userbox {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .director-nav {
        gap: .55rem;
        min-height: auto;
        padding: .75rem 0;
    }

    .director-nav .slash {
        display: none;
    }

    .director-nav a {
        font-size: .98rem;
        padding: .45rem .7rem;
        border-radius: .8rem;
        background: #f3f7fb;
    }

    .director-nav a::after {
        bottom: .1rem;
    }
}


.lookup-modal-dialog {
    max-width: 840px;
}

#lookupModal .modal-body {
    padding-top: 1rem;
}

#lookupModal .btn {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .lookup-modal-dialog {
        max-width: calc(100vw - 1rem);
    }
}

.auth-main {
    min-height: 100vh;
}

.auth-page--login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-login-wrap {
    width: min(100%, 460px);
}

.auth-brand--stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.auth-logo-image {
    width: min(100%, 225px);
    max-width: 225px;
    height: auto;
    display: block;
    margin-inline: auto;
}

.auth-input-group {
    border: 1px solid #cfd8e3;
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-group:focus-within {
    border-color: #7b97b8;
    box-shadow: 0 0 0 0.2rem rgba(30, 95, 170, 0.12);
}

.auth-input-group .input-group-text {
    background: transparent;
    border: 0;
    color: #212529;
    font-size: 1.3rem;
    padding-left: 1rem;
    padding-right: 0.75rem;
}

.auth-form-control {
    border: 0;
    box-shadow: none;
    min-height: 54px;
    padding-left: 0.25rem;
}

.auth-form-control:focus {
    box-shadow: none;
}

.auth-password-toggle {
    border: 0;
    background: transparent;
    color: #6f89a7;
    min-width: 56px;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
    background: transparent;
    color: #1e5faa;
    box-shadow: none;
}

.auth-login-meta {
    color: #5f6b7a;
    font-size: 0.95rem;
}

.auth-login-meta__developer a {
    color: #1f2937;
    font-weight: 700;
    text-decoration: underline;
}

.auth-login-meta__version {
    color: #98a4b5;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.director-brand {
    display: inline-flex;
    align-items: center;
    min-width: auto;
}

.director-logo-image {
    display: block;
    height: 54px;
    width: auto;
    object-fit: contain;
}

.dashboard-page-logo {
    display: block;
    width: clamp(96px, 10vw, 142px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12));
}

@media (max-width: 575.98px) {
    .auth-logo-image {
        width: min(195px, 42vw);
        max-width: 195px;
    }

    .auth-login-meta {
        font-size: 0.88rem;
    }
}


.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.dashboard-cards-grid-executive { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-card-executive {
    position: relative;
    width: 100%;
    min-height: 172px;
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(15, 76, 129, 0.08);
    color: #495866;
    background: #ffffff;
}
.stats-card-executive::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: currentColor;
}
.stats-card-executive::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -46px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: currentColor;
    opacity: .08;
}
.stats-card-executive .card-body { position: relative; padding: 1rem 1rem .9rem; }
.stats-card-icon { position: absolute; right: .85rem; top: .85rem; width: 48px; height: 48px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: currentColor; color: #fff; opacity: .16; font-size: 1.2rem; }
.stats-card-executive small { display: block; max-width: calc(100% - 62px); font-size: .66rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #687684; margin-bottom: .7rem; }
.stats-card-executive h3 { margin: 0 0 .4rem; font-size: 1.5rem; font-weight: 800; line-height: 1.08; color: currentColor; }
.stats-card-executive p { margin: 0; font-size: .78rem; line-height: 1.35; color: #707f8d; }
.stats-card-blue { color: #2563eb; }
.stats-card-cyan { color: #0ea5e9; }
.stats-card-slate { color: #475569; }
.stats-card-violet { color: #6d4aff; }
.stats-card-green { color: #16a34a; }
.stats-card-amber { color: #f59e0b; }
.stats-card-teal { color: #0f766e; }
.stats-card-rose { color: #e11d48; }
@media (max-width: 1399px) { .dashboard-cards-grid, .dashboard-cards-grid-executive, .dashboard-cards-grid-admin, .dashboard-cards-grid-programmer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .dashboard-cards-grid, .dashboard-cards-grid-executive, .dashboard-cards-grid-admin, .dashboard-cards-grid-programmer { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-card-executive { min-height: 138px; } }
@media (max-width: 575.98px) { .dashboard-cards-grid, .dashboard-cards-grid-executive, .dashboard-cards-grid-admin, .dashboard-cards-grid-programmer { grid-template-columns: 1fr; } .stats-card-executive { min-height: 132px; } .stats-card-executive h3 { font-size: 1.45rem; } }


.dashboard-cards-grid-programmer .stats-card-executive {
    min-height: 132px;
}
.dashboard-cards-grid-programmer .stats-card-executive .card-body {
    padding: .95rem .95rem .85rem;
}
.dashboard-cards-grid-programmer .stats-card-executive h3 {
    font-size: 1.45rem;
}
.dashboard-cards-grid-programmer .stats-card-executive p {
    font-size: .76rem;
}
.dashboard-cards-grid-admin .stats-card-executive {
    min-height: 138px;
}
.dashboard-cards-grid-admin .stats-card-executive h3 {
    font-size: 1.55rem;
}


/* refinamento visual do cabecalho */
.director-top-container {
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.director-top-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 22%, rgba(255,255,255,0.08), transparent 18%),
        radial-gradient(circle at 88% 18%, rgba(255,255,255,0.06), transparent 20%),
        linear-gradient(135deg, #0a3558 0%, #0f4c81 58%, #16609e 100%);
}

.director-top-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

.director-head-row {
    gap: 1rem 1.5rem;
}

.director-brand {
    position: relative;
    z-index: 1;
    padding: .15rem 0;
}

.director-logo-image {
    display: block;
    height: 78px;
    width: auto;
    max-width: min(100%, 270px);
    object-fit: contain;
    transform: translateY(1px);
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.16));
}

.director-user-strip {
    gap: .65rem;
    position: relative;
    z-index: 1;
}

.director-pill {
    min-height: 48px;
    padding: .72rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 20px rgba(4, 21, 37, 0.08);
    backdrop-filter: blur(10px);
}

.director-pill i {
    font-size: .95rem;
    opacity: .95;
}

.director-userbox {
    min-height: 52px;
    padding: .65rem .8rem .65rem .7rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.07));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 14px 30px rgba(4, 21, 37, 0.14);
    backdrop-filter: blur(12px);
}

.director-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.director-userinfo small {
    letter-spacing: .01em;
}

.director-userinfo strong {
    font-size: 1.06rem;
}

.director-password-btn,
.director-logout {
    min-height: 38px;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 700;
}

.director-password-btn {
    border-width: 1px;
    background: rgba(255,255,255,0.04);
}

.director-password-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.38);
}

.director-logout {
    box-shadow: 0 8px 16px rgba(255,255,255,0.08);
}

.director-nav-shell {
    background: rgba(255,255,255,0.985);
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.05);
}

.director-nav {
    min-height: 58px;
    gap: .9rem;
}

.director-nav a {
    font-size: 1.08rem;
}

@media (max-width: 992px) {
    .director-top-container {
        padding-top: .6rem;
        padding-bottom: .6rem;
    }

    .director-logo-image {
        height: 68px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .director-logo-image {
        height: 60px;
        max-width: 190px;
    }

    .director-pill {
        min-height: 42px;
        padding: .55rem .85rem;
    }

    .director-userbox {
        width: 100%;
    }
}

/* cabecalho textual */
.director-top-container {
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.director-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem 1.5rem;
}

.director-brand {
    flex: 0 0 auto;
    padding: 0;
}

.director-logo-image {
    height: 88px;
    max-width: min(100%, 305px);
    object-fit: contain;
    transform: translateY(0);
}

.director-user-strip--textual {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.director-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .16rem;
    color: rgba(255,255,255,0.95);
    text-align: right;
}

.director-summary-line {
    font-size: .96rem;
    line-height: 1.2;
    white-space: nowrap;
}

.director-summary-label {
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.director-summary-value {
    font-weight: 800;
    color: #ffffff;
}

.director-userbox {
    min-height: 48px;
    padding: .55rem .75rem .55rem .65rem;
    gap: .75rem;
}

.director-avatar {
    width: 44px;
    height: 44px;
}

.director-userinfo strong {
    font-size: 1.02rem;
}

.director-password-btn,
.director-logout {
    min-height: 36px;
}

@media (max-width: 1199px) {
    .director-logo-image {
        height: 82px;
        max-width: 280px;
    }

    .director-summary-line {
        font-size: .9rem;
    }
}

@media (max-width: 992px) {
    .director-head-row {
        align-items: flex-start;
    }

    .director-user-strip--textual {
        width: 100%;
        justify-content: space-between;
    }

    .director-summary {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .director-top-container {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .director-logo-image {
        height: 70px;
        max-width: 220px;
    }

    .director-user-strip--textual {
        flex-direction: column;
        align-items: stretch;
    }

    .director-summary-line {
        white-space: normal;
    }

    .director-userbox {
        width: 100%;
    }
}


.director-password-btn,
.director-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding-inline: 1rem;
}

.director-password-btn i,
.director-logout i {
    font-size: .95rem;
    line-height: 1;
}

.director-password-btn span,
.director-logout span {
    line-height: 1;
}


/* menu principal com icones */
.director-nav a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.director-nav a i {
    font-size: 1.2rem;
    line-height: 1;
}

.director-nav a span {
    line-height: 1;
}
