:root {
    --app-bg: #f3f7fc;
    --app-surface: #ffffff;
    --app-surface-muted: #f8fafc;
    --app-border: #dbe3ef;
    --app-text: #07172e;
    --app-muted: #61718a;
    --app-primary: #005baa;
    --app-primary-strong: #003f7f;
    --app-accent: #ffc600;
    --app-success: #1f8a5f;
    --app-danger: #c23b3b;
    --app-sidebar: #063f86;
}

* {
    box-sizing: border-box;
}

body.app-body,
body.login-body {
    min-height: 100vh;
    color: var(--app-text);
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 198, 0, .16), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, var(--app-bg) 46%, #edf3fa 100%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.app-sidebar {
    position: sticky;
    top: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    padding: 24px 18px;
    background:
        radial-gradient(circle at 12% 6%, rgba(255, 198, 0, .24), transparent 22%),
        linear-gradient(180deg, #06498f 0%, #063f86 48%, #072f64 100%);
    color: #fff;
    box-shadow: 16px 0 40px rgba(7, 23, 46, .12);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
}

.app-brand img {
    width: 58px;
    height: 52px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 14px 28px rgba(0, 25, 58, .22);
}

.app-brand-mobile {
    color: var(--app-text);
}

.app-nav {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 11px 13px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-weight: 750;
    border: 1px solid transparent;
}

.app-mobile-menu .app-nav-link {
    color: var(--app-text);
}

.app-nav-link:hover,
.app-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .14);
}

.app-nav-link.active {
    box-shadow: inset 4px 0 0 var(--app-accent);
}

.app-mobile-menu .app-nav-link:hover,
.app-mobile-menu .app-nav-link.active {
    color: var(--app-primary);
    background: #edf4fb;
}

.app-sidebar-footer {
    margin-top: auto;
    padding: 14px 12px;
    color: rgba(255, 255, 255, .68);
    font-size: .875rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 18px 32px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--app-border);
    backdrop-filter: blur(10px);
}

.app-topbar h1 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 820;
    letter-spacing: 0;
}

.app-topbar p {
    margin: 3px 0 0;
    color: var(--app-muted);
    font-size: .92rem;
}

.app-userbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.app-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--app-muted);
    font-weight: 600;
    white-space: nowrap;
}

.app-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 36px;
    flex: 1;
}

.app-footer {
    padding: 18px 28px;
    color: var(--app-muted);
    text-align: center;
    border-top: 1px solid var(--app-border);
    background: #fff;
}

.page-panel,
.metric-card,
.action-card,
.form-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(7, 23, 46, .08);
}

.page-panel {
    padding: 22px;
}

.page-panel-clean {
    padding: 20px;
    box-shadow: 0 14px 36px rgba(7, 23, 46, .06);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.section-title h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
}

.section-title p {
    margin: 4px 0 0;
    color: var(--app-muted);
}

.compact-title {
    margin-bottom: 14px;
}

.compact-title h2 {
    font-size: 1.15rem;
    font-weight: 850;
}

.search-panel {
    margin: 0 0 16px;
    padding: 14px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    border: 1px solid rgba(0, 91, 170, .1);
    border-radius: 8px;
}

.dashboard-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 22px 24px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 198, 0, .28), transparent 22%),
        linear-gradient(135deg, #06498f 0%, #005baa 52%, #003f7f 100%);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(0, 63, 127, .18);
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 30px solid rgba(255, 198, 0, .18);
    border-radius: 50%;
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 0 58%, rgba(255, 198, 0, .14) 58% 66%, transparent 66%);
    pointer-events: none;
}

.dashboard-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.dashboard-hero-logo {
    width: 170px;
    flex: 0 0 auto;
    padding: 12px 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(3, 30, 70, .18);
}

.dashboard-kicker,
.dashboard-section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-kicker {
    margin-bottom: 7px;
    color: #fff3b0;
}

.dashboard-hero h2 {
    margin: 0 0 6px;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.dashboard-hero p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: .98rem;
    line-height: 1.45;
}

.dashboard-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.btn-hero-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .1);
}

.btn-hero-outline:hover {
    color: #073f80;
    background: #fff;
    border-color: #fff;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-action-tile {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 150px;
    padding: 20px;
    color: var(--app-text);
    text-decoration: none;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(0, 91, 170, .14);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(7, 23, 46, .07);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dashboard-action-tile:hover {
    color: var(--app-text);
    border-color: rgba(0, 91, 170, .28);
    box-shadow: 0 18px 44px rgba(7, 23, 46, .11);
    transform: translateY(-2px);
}

.dashboard-action-primary {
    border-color: rgba(255, 198, 0, .46);
    background: linear-gradient(180deg, #fffdf5, #fff);
}

.dashboard-action-tile span {
    display: block;
    color: var(--app-primary);
    font-size: .74rem;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-action-tile h2 {
    margin: 5px 0 6px;
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: 0;
}

.dashboard-action-tile p {
    margin: 0;
    color: var(--app-muted);
    font-size: .92rem;
    line-height: 1.45;
}

.dashboard-action-arrow {
    color: var(--app-primary);
    font-size: 1.8rem;
}

.dashboard-action-primary .action-icon {
    color: #073f80;
    background: #fff3bf;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.action-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--app-primary), var(--app-accent));
}

.action-card h2 {
    font-weight: 820;
}

.action-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    color: var(--app-primary);
    background: #edf5ff;
    font-size: 1.5rem;
}

.action-card-featured {
    border-color: rgba(0, 91, 170, .28);
}

.action-card-featured .action-icon {
    color: #073f80;
    background: #fff3bf;
}

.btn {
    border-radius: 7px;
    font-weight: 650;
}

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

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

.btn-success {
    background: var(--app-success);
    border-color: var(--app-success);
}

.btn-warning {
    color: #073f80;
    background: #ffc600;
    border-color: #ffc600;
}

.btn-warning:hover {
    color: #073f80;
    background: #e8b400;
    border-color: #e8b400;
}

.btn-info,
.btn-accent {
    color: #073f80;
    background: #fff3bf;
    border-color: #ffd84d;
}

.btn-info:hover,
.btn-accent:hover {
    color: #073f80;
    background: #ffc600;
    border-color: #ffc600;
}

.btn-danger {
    background: var(--app-danger);
    border-color: var(--app-danger);
}

.btn-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--app-border);
    background: #fff;
}

.btn i + span {
    margin-left: 6px;
}

.form-control,
.form-select {
    border-color: var(--app-border);
    border-radius: 7px;
    min-height: 42px;
    background-color: #fbfdff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 .2rem rgba(0, 91, 170, .12);
}

.form-label {
    color: #334155;
    font-size: .9rem;
    font-weight: 650;
}

.card {
    border-color: var(--app-border);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(7, 23, 46, .05);
}

.card-header {
    border-bottom-color: var(--app-border);
    font-weight: 700;
}

.form-card .card-header,
.accordion-button {
    background: linear-gradient(180deg, #f8fbff, #f2f7fd);
    color: var(--app-text);
}

.form-card {
    border-color: rgba(0, 91, 170, .12);
    box-shadow: none;
}

.form-card .card-header {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--app-primary);
}

.accordion {
    --bs-accordion-border-color: var(--app-border);
    --bs-accordion-border-radius: 8px;
    --bs-accordion-inner-border-radius: 8px;
}

.accordion-button {
    font-weight: 750;
    gap: 10px;
}

.accordion-button:not(.collapsed) {
    color: var(--app-primary);
    background: #edf4fb;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--app-border);
}

.app-accordion {
    margin-bottom: 0;
}

.app-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 91, 170, .12);
    border-radius: 8px;
}

.app-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.app-accordion .accordion-body {
    padding: 16px;
    background: #fff;
}

.step-index {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #073f80;
    background: #fff3bf;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 850;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    color: #38506e;
    background: #f3f8ff;
    border-bottom: 1px solid var(--app-border);
    font-size: .84rem;
    text-transform: uppercase;
}

.table tbody tr:hover {
    background: #f8fbff;
}

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

.action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.parcel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.parcel-grid-clean {
    align-items: start;
}

.parcel-card {
    min-height: 250px;
    border-color: rgba(0, 91, 170, .12);
}

.parcel-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.parcel-card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    color: var(--app-primary);
    background: linear-gradient(180deg, #f8fbff, #f2f7fd);
}

.parcel-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.client-summary {
    box-shadow: none;
}

.client-summary .card-header {
    color: var(--app-primary);
    background: #f8fbff;
}

.parcel-client-panel .section-title {
    align-items: flex-start;
}

.client-facts {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.client-facts span {
    min-width: 132px;
    padding: 9px 10px;
    background: #f8fbff;
    border: 1px solid rgba(0, 91, 170, .1);
    border-radius: 8px;
    color: var(--app-text);
    font-weight: 700;
}

.client-facts strong {
    display: block;
    margin-bottom: 2px;
    color: var(--app-muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.parcel-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.parcel-summary-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px 12px;
    min-height: 92px;
    padding: 16px;
    text-align: left;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(0, 91, 170, .14);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(7, 23, 46, .06);
}

.parcel-summary-card i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    grid-row: span 2;
    color: var(--app-primary);
    background: #edf5ff;
    border-radius: 8px;
    font-size: 1.2rem;
}

.parcel-summary-card span {
    color: var(--app-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.parcel-summary-card strong {
    color: var(--app-text);
    font-size: 1.35rem;
    font-weight: 850;
}

.parcel-summary-card small {
    grid-column: 2 / 4;
    color: var(--app-muted);
}

.parcel-summary-card.active {
    border-color: rgba(255, 198, 0, .56);
    box-shadow: inset 4px 0 0 var(--app-accent), 0 14px 32px rgba(7, 23, 46, .08);
}

.parcel-workspace {
    overflow: hidden;
    border-color: rgba(0, 91, 170, .12);
}

.parcel-workspace > .card-header {
    padding: 0 16px;
    background: #fff;
}

.parcel-tabs {
    border-bottom: 0;
}

.parcel-tabs .nav-link {
    min-height: 54px;
    color: var(--app-muted);
    border: 0;
    border-bottom: 3px solid transparent;
    font-weight: 800;
}

.parcel-tabs .nav-link.active {
    color: var(--app-primary);
    background: transparent;
    border-bottom-color: var(--app-accent);
}

.parcel-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    border: 1px solid rgba(0, 91, 170, .1);
    border-radius: 8px;
}

.parcel-toolbar h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 850;
}

.parcel-toolbar p {
    margin: 4px 0 0;
    color: var(--app-muted);
}

.parcel-output {
    min-height: 360px;
}

.parcel-empty-state {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 28px;
    text-align: center;
    color: var(--app-muted);
    background: #fbfdff;
    border: 1px dashed rgba(0, 91, 170, .24);
    border-radius: 8px;
}

.parcel-empty-state i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    color: var(--app-primary);
    background: #edf5ff;
    border-radius: 8px;
    font-size: 1.45rem;
}

.parcel-empty-state strong,
.parcel-empty-state span {
    display: block;
}

.parcel-empty-state strong {
    color: var(--app-text);
}

.parcel-result-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.parcel-result-summary span {
    padding: 8px 10px;
    color: var(--app-muted);
    background: #f8fbff;
    border: 1px solid rgba(0, 91, 170, .1);
    border-radius: 8px;
}

.parcel-result-summary strong {
    color: var(--app-text);
}

.parcel-list-scroll {
    max-height: 430px;
    overflow: auto;
    border: 1px solid var(--app-border);
    border-radius: 8px;
}

.parcel-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.signature-list {
    display: grid;
}

.signature-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid var(--app-border);
}

.signature-row:last-child {
    border-bottom: 0;
}

.parcel-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.list-group-item {
    border-color: var(--app-border);
}

.modal-content {
    border: 1px solid rgba(0, 91, 170, .12);
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(7, 23, 46, .16);
}

.modal-header {
    background: #f8fbff;
    border-bottom-color: var(--app-border);
}

.login-body {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 198, 0, .16), transparent 26%),
        radial-gradient(circle at 86% 10%, rgba(0, 91, 170, .12), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
}

.login-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 440px;
    min-height: 620px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, .16);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(10, 40, 74, .18);
}

.login-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 52px;
    color: #fff;
    background:
        linear-gradient(132deg, rgba(255, 198, 0, .95) 0 2px, transparent 2px 34px),
        radial-gradient(circle at 82% 18%, rgba(255, 198, 0, .32), transparent 24%),
        linear-gradient(145deg, #063f86 0%, #005baa 48%, #003c73 100%);
}

.login-panel::before,
.login-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.login-panel::before {
    inset: auto -90px -120px auto;
    width: 310px;
    height: 310px;
    border: 44px solid rgba(255, 198, 0, .22);
    border-radius: 50%;
}

.login-panel::after {
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 198, 0, .34), rgba(255, 198, 0, 0));
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
}

.login-brand-card,
.login-panel-content,
.login-feature-list {
    position: relative;
    z-index: 1;
}

.login-brand-card {
    display: inline-flex;
    align-items: center;
    width: 250px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(4, 34, 70, .2);
}

.login-panel img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.login-eyebrow,
.login-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-eyebrow {
    color: #fff7c7;
}

.login-panel h1 {
    max-width: 520px;
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 820;
    letter-spacing: 0;
}

.login-panel p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.08rem;
    line-height: 1.65;
}

.login-feature-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.login-feature {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 12px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    font-weight: 700;
}

.login-feature i {
    color: #ffc600;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.login-form-kicker {
    color: #005baa;
}

.login-form h2 {
    margin-bottom: 8px;
    color: #07172e;
    font-size: 1.65rem;
    font-weight: 820;
}

.login-input-group {
    position: relative;
}

.login-input-group > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #005baa;
    transform: translateY(-50%);
}

.login-input-group .form-control {
    min-height: 54px;
    padding-left: 46px;
    padding-right: 48px;
    color: #07172e;
    background: #f7faff;
    border-color: #c9d8ea;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.login-input-group .form-control:focus {
    border-color: #005baa;
    background: #fff;
    box-shadow: 0 0 0 .22rem rgba(0, 91, 170, .14);
}

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #60738d;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
}

.login-password-toggle:hover {
    color: #005baa;
    background: #edf4fb;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    background: linear-gradient(135deg, #005baa, #004985);
    border-color: #005baa;
    box-shadow: 0 14px 28px rgba(0, 91, 170, .24);
}

.login-submit:hover {
    background: linear-gradient(135deg, #004985, #003c73);
    border-color: #004985;
    box-shadow: 0 16px 34px rgba(0, 91, 170, .3);
}

@media (max-width: 1199px) {
    .parcel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .app-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .app-userbar {
        width: 100%;
        justify-content: flex-start;
    }

    .app-content {
        padding: 18px;
    }

    .parcel-client-panel .section-title,
    .parcel-toolbar {
        flex-direction: column;
    }

    .client-facts {
        width: 100%;
        justify-content: flex-start;
    }

    .parcel-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-panel {
        padding: 16px;
    }

    .dashboard-hero {
        padding: 22px;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
    }

    .dashboard-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-hero-logo {
        width: 150px;
    }

    .signature-row {
        align-items: stretch;
        flex-direction: column;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-panel {
        padding: 28px;
        min-height: 410px;
    }

    .login-brand-card {
        width: 210px;
    }

    .login-form {
        padding: 28px;
    }

    .table-responsive {
        border: 1px solid var(--app-border);
        border-radius: 8px;
    }
}
