:root {
    --blue-950: #062d62;
    --blue-900: #083f84;
    --blue-700: #075fb8;
    --blue-100: #eef8ff;
    --ink: #0b2c5c;
    --muted: #73839c;
    --line: #d8e1ee;
    --white: #ffffff;
    --shadow: 0 28px 70px rgba(5, 38, 78, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font: 14px/1.45 Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(rgba(5, 36, 69, 0.34), rgba(5, 36, 69, 0.34)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
}

a {
    color: inherit;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-shell {
    width: min(100%, 1010px);
    min-height: 675px;
    display: grid;
    grid-template-columns: 45% 55%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.brand-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 76px 28px 58px;
    background: linear-gradient(140deg, #f7fcff 0%, #e3f4ff 52%, #f6fbff 100%);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--blue-950);
}

.brand-mark strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    line-height: 0.9;
}

.heart-shield {
    width: 76px;
    height: 60px;
    position: relative;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    font-size: 3.8rem;
    font-weight: 800;
}

.heart-shield::before {
    content: "";
    position: absolute;
    inset: 6px 8px 8px;
    border: 7px solid #45bf69;
    border-bottom-color: #49bfd4;
    border-right-color: #49bfd4;
    border-radius: 34px 34px 10px 34px;
    transform: rotate(45deg);
}

.heart-shield span {
    position: relative;
    z-index: 1;
}

.brand-divider {
    width: 104px;
    height: 2px;
    margin: 12px 0 18px;
    background: linear-gradient(90deg, #44c96d 0 52%, #62b9e9 52% 100%);
}

.secretary {
    margin: 0;
    text-align: center;
    font-size: 1.23rem;
    line-height: 1.45;
    font-weight: 700;
}

.hospital-illustration {
    width: min(100%, 430px);
    height: 245px;
    position: relative;
    margin-top: 46px;
}

.cloud {
    position: absolute;
    width: 58px;
    height: 18px;
    border: 2px solid #a8d7ff;
    border-radius: 18px;
    border-top-color: transparent;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border: 2px solid #a8d7ff;
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}

.cloud::before {
    left: 8px;
}

.cloud::after {
    right: 10px;
}

.cloud-a {
    left: 48px;
    top: 6px;
}

.cloud-b {
    right: 54px;
    top: 18px;
}

.mountain {
    position: absolute;
    bottom: 68px;
    width: 180px;
    height: 90px;
    border: 2px solid #b7dcff;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg);
}

.mountain-a {
    left: 24px;
}

.mountain-b {
    right: 34px;
}

.hospital-building {
    position: absolute;
    left: 50%;
    bottom: 38px;
    width: 250px;
    height: 126px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 38px 34px 0;
    transform: translateX(-50%);
    border: 3px solid #0c5ba7;
    background: rgba(216, 238, 255, 0.88);
    box-shadow: inset 0 -14px 0 rgba(147, 205, 246, 0.25);
}

.hospital-roof {
    position: absolute;
    left: 50%;
    top: -27px;
    width: 120px;
    height: 54px;
    transform: translateX(-50%) perspective(90px) rotateX(26deg);
    border: 3px solid #0c5ba7;
    background: rgba(235, 248, 255, 0.92);
}

.hospital-cross {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    border: 4px solid #0c5ba7;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-700);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.hospital-building span {
    width: 18px;
    height: 30px;
    border: 2px solid #0c5ba7;
    background: #f7fdff;
}

.hospital-door {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 50px;
    transform: translateX(-50%);
    border: 3px solid #0c5ba7;
    border-bottom: 0;
    background: #9ed2f5;
}

.tree {
    position: absolute;
    bottom: 30px;
    width: 28px;
    height: 70px;
    border-bottom: 4px solid #0c5ba7;
}

.tree::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 36px;
    height: 48px;
    transform: translateX(-50%);
    border: 2px solid #0c5ba7;
    border-radius: 50%;
    background: #9bd1ef;
}

.tree-left {
    left: 42px;
}

.tree-right {
    right: 54px;
}

.brand-benefits {
    width: min(100%, 330px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
}

.brand-benefits div {
    display: grid;
    justify-items: center;
    text-align: center;
    color: var(--blue-950);
}

.brand-benefits div + div {
    border-left: 1px solid #c8dff2;
}

.brand-benefits small {
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 600;
}

.form-panel {
    display: grid;
    align-items: center;
    padding: 68px 64px;
    background: radial-gradient(circle at 78% 15%, rgba(236, 246, 255, 0.65), transparent 26%), var(--white);
}

.form-content {
    width: min(100%, 425px);
    margin: 0 auto;
}

.form-content h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 3.75rem);
    line-height: 1;
    color: var(--blue-950);
}

.subtitle {
    margin: 12px 0 36px;
    color: var(--muted);
    font-size: 1rem;
}

.field-label {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 0.98rem;
    font-weight: 800;
}

.input-wrap {
    min-height: 52px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(2, 40, 88, 0.04);
}

.input-wrap:focus-within {
    border-color: #83bff1;
    box-shadow: 0 0 0 3px rgba(11, 91, 184, 0.12);
}

.login-input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: var(--ink);
    font: inherit;
    background: transparent;
}

.login-input::placeholder {
    color: #8c9bb1;
}

.icon-button {
    min-width: 58px;
    height: 38px;
    margin-right: 6px;
    border: 0;
    border-radius: 6px;
    color: var(--blue-900);
    background: transparent;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
}

.icon-button:hover {
    background: var(--blue-100);
}

.validation-message,
.login-error {
    margin: -16px 0 18px;
    font-size: 0.9rem;
    font-weight: 600;
}

.validation-message,
.login-error {
    color: #b42318;
}

.field-error {
    display: none;
}

.field-error.visible {
    display: block;
}

.input-invalid {
    outline: 1px solid #f2a29b;
}

.submit-button {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(90deg, #073e86, #075fb8);
    box-shadow: 0 14px 28px rgba(4, 70, 146, 0.24);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.help-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: #0a63c4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}

.app-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #f5f8fc;
}

.app-page.without-sidebar {
    grid-template-columns: 1fr;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 28px 20px;
    background: #ffffff;
    border-right: 1px solid #dbe5f1;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue-950);
}

.app-brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(140deg, #40b96a, #0b63c7);
    font-size: 2rem;
    font-weight: 900;
}

.app-brand strong,
.app-brand span {
    display: block;
}

.app-brand strong {
    font-size: 1.05rem;
}

.app-brand span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
}

.app-nav {
    display: grid;
    gap: 8px;
}

.app-nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: #24466f;
    text-decoration: none;
    font-weight: 700;
}

.app-nav a:hover,
.app-nav a.active {
    color: var(--blue-950);
    background: #eaf4ff;
}

.app-main {
    min-width: 0;
    padding: 22px;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.app-topbar h1 {
    margin: 0;
    color: var(--blue-950);
    font-size: 1.65rem;
}

.app-topbar p {
    margin: 5px 0 0;
    color: var(--muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-summary {
    display: grid;
    gap: 3px;
    min-width: 220px;
    padding: 8px 12px;
    border: 1px solid #ffefb3;
    border-radius: 8px;
    background: #fff8df;
    text-align: right;
}

.user-summary strong {
    color: #8a5200;
    font-size: 0.88rem;
}

.user-summary span {
    color: #60748f;
    font-size: 0.74rem;
    font-weight: 700;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #cbd8e8;
    border-radius: 8px;
    color: var(--blue-950);
    background: #ffffff;
    text-decoration: none;
    font-weight: 800;
}

.panel-kicker {
    color: #027a48;
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.team-list-panel h2 {
    margin: 7px 0 8px;
    color: var(--blue-950);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.team-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
    align-items: start;
}

.team-list-panel,
.team-detail-panel {
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(4, 42, 84, 0.08);
}

.team-list-panel {
    min-width: 0;
    padding: 18px;
}

.link-warning {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #f7c56d;
    border-radius: 8px;
    color: #7a3b00;
    background: #fff7e6;
}

.link-warning strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.link-warning p {
    margin: 0;
    line-height: 1.45;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-subtitle {
    margin: 4px 0 0;
    color: #60748f;
    font-size: 0.82rem;
}

.primary-action,
.secondary-action {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.primary-action {
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, #073e86, #075fb8);
    box-shadow: 0 10px 22px rgba(4, 70, 146, 0.18);
}

.primary-action.muted {
    background: #dbe8f7;
    color: var(--blue-950);
    box-shadow: none;
}

.primary-action.danger-action {
    background: #b42318;
    box-shadow: 0 10px 22px rgba(180, 35, 24, 0.18);
}

.secondary-action {
    border: 1px solid #cbd8e8;
    color: var(--blue-950);
    background: #ffffff;
}

.team-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.team-toolbar label {
    display: grid;
    gap: 7px;
    width: min(100%, 420px);
    color: #24466f;
    font-size: 0.78rem;
    font-weight: 800;
}

.team-toolbar input {
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid #d2deec;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    outline: 0;
}

.team-toolbar input:focus {
    border-color: #83bff1;
    box-shadow: 0 0 0 3px rgba(11, 91, 184, 0.12);
}

.team-counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #60748f;
}

.team-counter strong {
    color: var(--blue-950);
    font-size: 1.25rem;
}

.team-table-wrap {
    overflow-x: auto;
    border: 1px solid #e0e8f2;
    border-radius: 8px;
}

.team-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.team-table th,
.team-table td {
    padding: 9px 11px;
    border-bottom: 1px solid #e6edf6;
    text-align: left;
    vertical-align: middle;
}

.team-table th {
    color: #24466f;
    background: #f3f8fe;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.team-table tbody tr:hover,
.team-table tbody tr.selected {
    background: #f0f7ff;
}

.team-table tbody tr.responsavel-row {
    background: #fff8df;
}

.team-table tbody tr.responsavel-row:hover,
.team-table tbody tr.responsavel-row.selected {
    background: #ffefb3;
}

.team-table tbody tr.responsavel-row td:nth-child(2) {
    color: #8a5200;
    font-weight: 900;
}

.team-table tbody tr:last-child td {
    border-bottom: 0;
}

.actions-column {
    width: 190px;
    text-align: right;
}

.row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.row-actions button {
    min-height: 24px;
    padding: 0 7px;
    border: 1px solid #cbd8e8;
    border-radius: 6px;
    color: var(--blue-950);
    background: #ffffff;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
}

.row-actions button.danger {
    color: #b42318;
    border-color: #f3c8c2;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    color: #027a48;
    background: #e6f6ee;
    font-size: 0.74rem;
    font-weight: 900;
}

.status-pill.inactive {
    color: #b42318;
    background: #ffe7e2;
}

.table-state {
    min-height: 170px;
    display: grid;
    place-items: center;
    border: 1px dashed #cbd8e8;
    border-radius: 8px;
    color: #60748f;
    background: #f8fbff;
    font-weight: 800;
}

.table-state.error {
    color: #b42318;
    background: #fff6f4;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.metric-card {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 18px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(4, 42, 84, 0.06);
}

.metric-card span {
    color: #60748f;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.metric-card strong {
    color: var(--blue-950);
    font-size: 2.1rem;
    line-height: 1;
}

.metric-card small {
    color: #60748f;
    font-weight: 700;
}

.internal-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.workspace-panel,
.quick-panel {
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(4, 42, 84, 0.08);
}

.workspace-panel {
    padding: 22px;
}

.empty-state {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 26px;
    border: 1px dashed #b9cbe0;
    border-radius: 8px;
    background: #f8fbff;
    text-align: center;
}

.empty-state strong {
    color: var(--blue-950);
    font-size: 1.12rem;
}

.empty-state p {
    max-width: 520px;
    margin: 0;
    color: #60748f;
    font-weight: 700;
}

.quick-panel {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.quick-header span,
.quick-header strong {
    display: block;
}

.quick-header span {
    color: #60748f;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quick-header strong {
    color: var(--blue-950);
    font-size: 1.2rem;
}

.quick-panel button {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #cbd8e8;
    border-radius: 7px;
    color: var(--blue-950);
    background: #ffffff;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.quick-panel button:hover {
    background: #eef7ff;
}

.team-detail-panel {
    padding: 16px;
    position: sticky;
    top: 18px;
}

.detail-header {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.detail-header span {
    color: #027a48;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-header strong {
    color: var(--blue-950);
    font-size: 1rem;
}

.team-detail-panel form,
.team-detail-panel label {
    display: grid;
}

.team-detail-panel form {
    gap: 11px;
}

.team-detail-panel label {
    gap: 7px;
    color: #24466f;
    font-size: 0.78rem;
    font-weight: 800;
}

.detail-input {
    min-height: 36px;
    width: 100%;
    padding: 0 11px;
    border: 1px solid #d2deec;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    outline: 0;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.form-message {
    margin: 2px 0 0;
    color: #24466f;
    font-size: 0.82rem;
    font-weight: 800;
}

.print-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.team-total {
    color: #24466f;
    font-size: 0.86rem;
    font-weight: 800;
}

.team-total strong {
    color: var(--blue-950);
    font-size: 1rem;
}

.print-button {
    min-width: 132px;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    color: #b42318;
}

@media (max-width: 820px) {
    .login-page {
        padding: 12px;
    }

    .login-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 36px 20px 28px;
    }

    .hospital-illustration {
        height: 190px;
        margin-top: 28px;
        transform: scale(0.88);
    }

    .brand-benefits {
        margin-top: 18px;
    }

    .form-panel {
        padding: 38px 22px 44px;
    }

    .app-page {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        gap: 18px;
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid #dbe5f1;
    }

    .app-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .app-nav a {
        padding: 10px 8px;
        text-align: center;
        font-size: 0.86rem;
    }

    .app-main {
        padding: 22px 16px;
    }

    .app-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .user-summary {
        min-width: 0;
        flex: 1;
        text-align: left;
    }

    .team-workspace {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .internal-workspace {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .team-toolbar,
    .topbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .team-list-panel,
    .team-detail-panel {
        padding: 18px;
    }

    .team-detail-panel {
        position: static;
    }
}

@media print {
    @page {
        size: landscape;
        margin: 12mm;
    }

    body {
        background: #ffffff;
        color: #000000;
        font-size: 11px;
    }

    .app-sidebar,
    .team-detail-panel,
    .topbar-actions,
    .team-toolbar,
    .section-heading .primary-action,
    .print-button,
    .actions-column,
    .team-table th:last-child,
    .team-table td:last-child,
    #blazor-error-ui {
        display: none !important;
    }

    .app-page,
    .app-page.without-sidebar,
    .team-workspace {
        display: block;
        background: #ffffff;
    }

    .app-main,
    .team-list-panel {
        padding: 0;
    }

    .app-topbar {
        display: block;
        margin-bottom: 12px;
    }

    .app-topbar h1 {
        font-size: 18px;
    }

    .app-topbar p,
    .section-subtitle {
        color: #333333;
    }

    .team-list-panel {
        border: 0;
        box-shadow: none;
    }

    .team-table-wrap {
        overflow: visible;
        border: 1px solid #9ca3af;
    }

    .team-table {
        min-width: 0;
        width: 100%;
        font-size: 10px;
    }

    .team-table th,
    .team-table td {
        padding: 6px 7px;
        border-bottom: 1px solid #cbd5e1;
    }

    .team-table th {
        color: #000000;
        background: #edf2f7;
    }

    .team-table tbody tr.responsavel-row {
        background: #fff2bf !important;
    }

    .print-actions {
        display: block;
        margin-top: 8px;
    }

    .team-total {
        color: #000000;
        font-size: 11px;
    }

    .team-total strong {
        color: #000000;
        font-size: 12px;
    }

    .status-pill {
        min-height: 0;
        padding: 0;
        background: transparent;
        color: #000000;
        font-size: 10px;
    }

    .status-pill.inactive {
        color: #b42318;
        background: transparent;
    }
}

/* TransporteSMS login photo layout */
body:has(.login-page-photo) {
    background:
        radial-gradient(circle at 50% 100%, rgba(232, 239, 246, 0.92) 0 9%, rgba(232, 239, 246, 0.68) 14%, transparent 31%),
        radial-gradient(circle at 0 50%, rgba(232, 239, 246, 0.9) 0 7%, transparent 22%),
        radial-gradient(circle at 100% 42%, rgba(232, 239, 246, 0.86) 0 7%, transparent 22%),
        linear-gradient(rgba(3, 35, 67, 0.08), rgba(3, 35, 67, 0.08)),
        url("images/backgrounds/login-transporte.png") center/cover fixed;
}

.login-page-photo {
    min-height: 100vh;
    padding: 24px;
}

.login-shell-photo {
    width: min(100%, 820px);
    min-height: 544px;
    grid-template-columns: 45% 55%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(5, 32, 66, 0.26);
}

.brand-panel-photo {
    gap: 18px;
    justify-content: center;
    padding: 42px 46px 34px;
    background: #eaf8ff;
}

.logos-card {
    width: min(100%, 245px);
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr 1px 1.45fr;
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
    background: #ffffff;
}

.logos-card-image {
    width: min(100%, 292px);
    height: 96px;
    object-fit: contain;
    padding: 8px 10px;
    background: #ffffff;
}

.logos-card img {
    width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.logos-card span {
    width: 1px;
    height: 70px;
    background: #173966;
}

.system-card-image {
    width: min(100%, 260px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(2, 77, 137, 0.16);
}

.brand-benefits-photo {
    width: min(100%, 292px);
    margin-top: 36px;
}

.form-panel-photo {
    padding: 44px 46px;
    background: #ffffff;
}

.form-panel-photo .form-content {
    max-width: 362px;
}

.form-panel-photo h1 {
    margin-bottom: 4px;
    color: #003874;
    font-size: 2.75rem;
}

.form-panel-photo .subtitle {
    margin-bottom: 4px;
    color: #697896;
    font-size: 1rem;
}

.app-version {
    margin: 0 0 26px;
    color: #526887;
    font-size: 0.82rem;
    font-weight: 800;
}

.form-panel-photo .field-label {
    margin-bottom: 10px;
    color: #003874;
    font-weight: 900;
}

.form-panel-photo .input-wrap {
    margin-bottom: 20px;
    background: #eef5ff;
    border-color: #cfdced;
    box-shadow: none;
}

.form-panel-photo .login-input {
    height: 44px;
    padding: 0 16px;
}

.form-panel-photo .submit-button {
    height: 46px;
    margin-top: 4px;
    background: #135baa;
    border-radius: 7px;
    box-shadow: none;
}

@media (max-width: 820px) {
    body:has(.login-page-photo) {
        background-attachment: scroll;
    }

    .login-shell-photo {
        grid-template-columns: 1fr;
        width: min(100%, 460px);
    }

    .brand-panel-photo {
        padding: 28px 24px;
    }

    .form-panel-photo {
        padding: 34px 28px;
    }
}

.login-page-photo h1:focus,
.login-page-photo h1:focus-visible {
    outline: 0;
}

.logos-card img:first-child {
    max-height: 84px;
}

