:root {
    --safana-primary: #E44122;
    --safana-primary-dark: #be3318;
    --safana-secondary: #023D5B;
    --safana-secondary-soft: #e7f3f8;
    --safana-bg: #f4f7fb;
    --safana-border: #e5eaf1;
    --safana-text: #122033;
    --safana-muted: #667085;
    --safana-card: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--safana-bg);
    color: var(--safana-text);
    font-family: "DM Sans", Arial, sans-serif;
}

a {
    color: inherit;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(228, 65, 34, 0.26), transparent 24%),
        radial-gradient(circle at 88% 78%, rgba(2, 61, 91, 0.18), transparent 28%),
        linear-gradient(110deg, #071923 0%, #10293a 46%, #f3f6f9 46%, #f3f6f9 100%);
}

.login-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 430px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(4, 18, 31, 0.34);
    backdrop-filter: blur(14px);
}

.login-brand {
    position: relative;
    min-height: 610px;
    padding: 34px;
    background:
        linear-gradient(180deg, rgba(2, 19, 32, 0.12), rgba(2, 19, 32, 0.9)),
        linear-gradient(135deg, rgba(228, 65, 34, 0.5), transparent 34%),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1200&q=80") center / cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
}

.login-brand::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 9px solid #fff;
    border-radius: 30px;
    pointer-events: none;
    z-index: -1;
}

.login-brand::after {
    content: "";
    position: absolute;
    right: 56px;
    bottom: 118px;
    width: 118px;
    aspect-ratio: 1;
    border-radius: 999px;
    border: 24px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.login-showcase-nav,
.login-showcase-footer,
.login-card-head,
.login-helper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.login-showcase-nav {
    padding: 20px 24px 0;
    font-weight: 800;
    font-size: 14px;
}

.login-showcase-nav a {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 12px;
}

.login-showcase-copy {
    padding: 0 30px 10px;
    max-width: 520px;
}

.login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(228, 65, 34, 0.92);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.login-brand h1 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    margin: 18px 0 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.login-brand p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.login-showcase-footer {
    align-self: flex-start;
    margin: 0 30px 24px;
    padding: 12px 16px 12px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.login-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--safana-primary);
    font-size: 24px;
}

.login-showcase-footer strong,
.login-showcase-footer span {
    display: block;
}

.login-showcase-footer span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.login-panel {
    padding: 42px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.login-logo {
    width: 142px;
    margin: 0;
    display: block;
}

.login-language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--safana-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    background: #f3f8fb;
    border: 1px solid var(--safana-border);
    border-radius: 999px;
    padding: 8px 13px;
}

.login-small-title {
    display: block;
    margin: 48px 0 8px;
    color: var(--safana-muted);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.login-panel h2 {
    margin: 0 0 8px;
    font-size: 42px;
    font-weight: 900;
    color: #161b22;
    text-align: center;
}

.login-panel .muted {
    margin: 0 0 28px;
    color: var(--safana-muted);
    font-size: 14px;
    text-align: center;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-field {
    position: relative;
}

.login-field .form-label {
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.login-field i {
    position: absolute;
    left: 14px;
    bottom: 13px;
    color: #8a97a8;
    font-size: 18px;
    pointer-events: none;
}

.login-field .form-control {
    height: 48px;
    border-radius: 8px;
    padding-left: 43px;
    border-color: #dfe5ed;
    background: #fbfcfe;
}

.login-field .password-input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    bottom: 7px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #8a97a8;
    background: transparent;
    border: 0;
    border-radius: 6px;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--safana-primary);
    background: #fff1ed;
    outline: 0;
}

.login-field .password-toggle i {
    position: static;
    font-size: 18px;
    pointer-events: auto;
}

.login-field .form-control:focus {
    border-color: var(--safana-primary);
    box-shadow: 0 0 0 4px rgba(228, 65, 34, 0.1);
}

.login-helper {
    margin: 0 0 8px;
    color: var(--safana-muted);
    font-size: 12px;
    font-weight: 700;
}

.login-helper span:first-child {
    color: var(--safana-secondary);
}

.login-form .btn-main {
    min-height: 50px;
    border-radius: 999px;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 26px rgba(228, 65, 34, 0.22);
}

.layout {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 264px;
    height: 100vh;
    background: var(--safana-secondary);
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

.logo-box {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

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

.admin-logo-wrap {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    flex-shrink: 0;
}

.admin-logo-wrap img {
    width: 48px;
    max-width: 100%;
    display: block;
}

.admin-brand strong {
    display: block;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.admin-brand small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
}

.menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.menu::-webkit-scrollbar {
    width: 6px;
}

.menu::-webkit-scrollbar-track {
    background: transparent;
}

.menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

.menu-label {
    padding: 14px 12px 7px;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.44);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 0;
    border-radius: 9px;
    margin-bottom: 4px;
}

.menu a i {
    width: 21px;
    font-size: 19px;
}

.menu a:hover,
.menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 3px 0 0 var(--safana-primary);
}

.sidebar-footer {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(0, 0, 0, 0.08);
}

.user-row {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--safana-primary);
    font-weight: 800;
}

.user-list-identity {
    display: flex;
    align-items: center;
    gap: 9px;
}

.user-list-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 34px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--safana-primary), var(--safana-secondary));
    font-size: 12px;
    font-weight: 900;
}

.user-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info .name {
    font-size: 13px;
    font-weight: 800;
}

.user-info .role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.58);
}

.logout-btn {
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(228, 65, 34, 0.42);
    background: rgba(228, 65, 34, 0.14);
    color: #ffd8d1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.admin-topbar {
    position: sticky;
    top: 10px;
    z-index: 18;
    min-height: 70px;
    margin-left: 264px;
    padding: 10px 24px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    background: linear-gradient(180deg, rgba(244, 247, 251, 0.96), rgba(244, 247, 251, 0.72));
    border-bottom: 1px solid rgba(229, 234, 241, 0.55);
    backdrop-filter: blur(14px);
}

.admin-topbar-actions {
    min-height: 48px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--safana-border);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.top-logout-btn {
    color: #b42318;
    display: none !important;
}

.top-logout-btn:hover {
    color: #fff;
    background: var(--safana-primary);
}

.top-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #152238;
    background: transparent;
    border-radius: 50%;
    text-decoration: none;
    font-size: 19px;
}

.top-icon-btn:hover {
    color: var(--safana-primary);
    background: #fff1ed;
}

.top-icon-btn.has-dot::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--safana-primary);
    border: 2px solid #fff;
}

.top-profile-card {
    min-width: 270px;
    min-height: 68px;
    padding: 8px 16px 8px 9px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #152238;
    background:
        linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
    border: 1px solid var(--safana-border);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    text-decoration: none;
}

.top-profile-card:hover {
    color: var(--safana-secondary);
    border-color: rgba(2, 61, 91, 0.22);
}

.top-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--safana-primary), var(--safana-secondary));
    color: #fff;
    font-weight: 900;
    flex-shrink: 0;
    border: 3px solid #fff;
    outline: 3px solid rgba(228, 65, 34, 0.16);
    box-shadow: 0 10px 24px rgba(2, 61, 91, 0.2);
}

.top-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-profile-text {
    min-width: 0;
}

.top-profile-text strong,
.top-profile-text small {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-profile-text strong {
    color: #1f2937;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.top-profile-text small {
    margin-top: 4px;
    color: var(--safana-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.top-profile-card > i {
    color: #98a2b3;
    font-size: 16px;
}

.content {
    margin-left: 264px;
    padding: 24px;
    min-height: 100vh;
}

.topbar,
.page-header,
.card-box,
.panel,
.table-panel,
.form-card {
    background: var(--safana-card);
    border: 1px solid var(--safana-border);
    border-radius: 8px;
}

.topbar {
    min-height: 68px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar h4,
.page-header h2 {
    margin: 0;
    font-size: 19px;
    color: var(--safana-secondary);
    font-weight: 800;
}

.topbar-right,
.page-actions,
.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.date-badge,
.soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--safana-border);
    color: var(--safana-muted);
    font-size: 13px;
    font-weight: 700;
}

.notif-btn,
.icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid var(--safana-border);
    background: #fff;
    color: var(--safana-secondary);
    text-decoration: none;
    cursor: pointer;
}

.notif-btn:hover,
.icon-btn:hover {
    color: #fff;
    background: var(--safana-primary);
    border-color: var(--safana-primary);
}

.page-header {
    padding: 18px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.h-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(228, 65, 34, 0.1);
    color: var(--safana-primary);
    display: grid;
    place-items: center;
}

.btn-main,
.btn-soft,
.btn-danger-soft {
    min-height: 40px;
    border-radius: 8px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.btn-main {
    background: var(--safana-primary);
    color: #fff;
}

.btn-main:hover {
    background: var(--safana-primary-dark);
    color: #fff;
}

.btn-soft {
    background: #fff;
    color: var(--safana-secondary);
    border-color: var(--safana-border);
}

.btn-soft:hover {
    border-color: var(--safana-secondary);
    color: var(--safana-secondary);
}

.btn-danger-soft {
    color: #b42318;
    background: #fff5f3;
    border-color: #fecdca;
}

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

.card-box {
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-box:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--accent, var(--safana-primary));
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft, var(--safana-secondary-soft));
    color: var(--accent, var(--safana-secondary));
    font-size: 21px;
    margin-bottom: 14px;
}

.card-box h6 {
    margin: 0 0 6px;
    color: var(--safana-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.card-box h3 {
    margin: 0 0 7px;
    font-size: 30px;
    color: var(--safana-secondary);
    font-weight: 900;
}

.card-sub {
    margin: 0;
    color: #98a2b3;
    font-size: 13px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quick-link-card {
    background: #fff;
    border: 1px solid var(--safana-border);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--safana-secondary);
    font-weight: 800;
    text-decoration: none;
}

.quick-link-card i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--safana-secondary-soft);
    color: var(--safana-secondary);
    font-size: 20px;
}

.quick-link-card:hover {
    color: var(--safana-primary);
    border-color: rgba(228, 65, 34, 0.45);
}

.dashboard-content {
    background: #f4f5f7;
}

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

.dash-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--safana-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dash-hero h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
    color: #1a1f2b;
    font-weight: 900;
}

.dash-hero p {
    margin: 8px 0 0;
    color: var(--safana-muted);
    font-size: 14px;
}

.dash-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.finance-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr) minmax(260px, 0.92fr);
    gap: 18px;
    margin-bottom: 18px;
}

.balance-card,
.money-card,
.chart-card,
.limit-card,
.recent-card {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.balance-card {
    padding: 22px;
}

.card-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-head-row > span,
.card-head-row h3 {
    margin: 0;
}

.card-head-row > span,
.balance-card p,
.money-card span,
.money-card small,
.progress-labels,
.modern-table span {
    color: var(--safana-muted);
}

.currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f7f8fa;
    color: var(--safana-secondary) !important;
    font-weight: 900;
    font-size: 12px;
}

.balance-card h2 {
    margin: 14px 0 6px;
    font-size: 34px;
    color: #111827;
    font-weight: 900;
}

.balance-card p {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 800;
}

.balance-card p i {
    color: #16a34a;
}

.balance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.balance-actions a {
    min-height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: #15181f;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

.balance-actions a:last-child {
    color: #1f2937;
    background: #f3f4f6;
}

.wallet-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wallet-row div {
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

.wallet-row span,
.wallet-row strong {
    display: block;
}

.wallet-row span {
    color: var(--safana-muted);
    font-size: 11px;
    font-weight: 800;
}

.wallet-row strong {
    margin-top: 4px;
    color: var(--safana-secondary);
    font-size: 14px;
    font-weight: 900;
}

.metric-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.money-card {
    padding: 18px;
}

.money-card.hot {
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(135deg, #ff7a3d 0%, var(--safana-primary) 100%);
    border-color: transparent;
}

.money-card span,
.money-card strong,
.money-card small {
    display: block;
}

.money-card span {
    font-size: 12px;
    font-weight: 900;
}

.money-card strong {
    margin: 14px 0 8px;
    color: #111827;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

.money-card.hot span,
.money-card.hot strong,
.money-card.hot small {
    color: #fff;
}

.money-card small {
    font-size: 12px;
    font-weight: 800;
}

.chart-card {
    padding: 18px;
}

.chart-card h3 {
    margin: 3px 0 0;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
}

.chart-card .card-head-row i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--safana-primary);
    background: #fff1ed;
}

.status-bars {
    min-height: 170px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 8px;
    padding-top: 20px;
}

.status-bar-item {
    display: grid;
    align-items: end;
    gap: 8px;
    text-align: center;
}

.status-bar-item .bar {
    width: 100%;
    max-width: 26px;
    margin: 0 auto;
    border-radius: 999px 999px 5px 5px;
    background: linear-gradient(180deg, var(--safana-primary), #171b22);
}

.status-bar-item:nth-child(even) .bar {
    background: linear-gradient(180deg, #023D5B, #171b22);
}

.status-bar-item small {
    color: var(--safana-muted);
    font-size: 11px;
    font-weight: 900;
}

.dashboard-lower-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.6fr);
    gap: 18px;
}

.limit-card,
.recent-card {
    padding: 18px;
}

.limit-card h3,
.recent-card h3 {
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.progress-track {
    height: 12px;
    overflow: hidden;
    margin: 18px 0 10px;
    border-radius: 999px;
    background: #eef2f6;
}

.progress-track span {
    display: block;
    height: 100%;
    min-width: 5px;
    max-width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--safana-primary), #ffb34f);
}

.progress-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 18px;
}

.progress-labels strong {
    color: var(--safana-secondary);
}

.action-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-card-grid a {
    min-height: 76px;
    padding: 14px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #111827;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

.action-card-grid i {
    color: var(--safana-primary);
    font-size: 22px;
}

.recent-card .card-head-row a {
    color: var(--safana-primary);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

.modern-table-wrap {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.modern-table th {
    padding: 0 12px 8px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 900;
}

.modern-table td {
    padding: 13px 12px;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    color: #1f2937;
    font-size: 13px;
    vertical-align: middle;
}

.modern-table td:first-child {
    border-left: 1px solid #eef2f6;
    border-radius: 12px 0 0 12px;
}

.modern-table td:last-child {
    border-right: 1px solid #eef2f6;
    border-radius: 0 12px 12px 0;
}

.modern-table strong,
.modern-table span {
    display: block;
}

.modern-table strong {
    color: var(--safana-secondary);
    font-weight: 900;
}

.modern-table span {
    font-size: 12px;
}

.section-title {
    color: var(--safana-secondary);
    font-size: 15px;
    font-weight: 900;
    margin: 0 0 12px;
}

.panel,
.table-panel,
.form-card {
    margin-bottom: 18px;
    overflow: hidden;
}

.panel {
    padding: 20px;
}

.report-template-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-color: rgba(228, 65, 34, 0.18);
    background:
        linear-gradient(135deg, rgba(228, 65, 34, 0.08), rgba(231, 243, 248, 0.76)),
        #fff;
}

.manifest-panel {
    padding: 0;
    overflow: hidden;
}

.manifest-head {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--safana-border);
    background:
        linear-gradient(135deg, rgba(2, 61, 91, 0.07), rgba(228, 65, 34, 0.07)),
        #fff;
}

.manifest-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.manifest-meta-grid {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    background: #fbfcfe;
    border-bottom: 1px solid var(--safana-border);
}

.manifest-meta-grid label {
    color: var(--safana-secondary);
    font-size: 12px;
    font-weight: 900;
}

.manifest-table-wrap {
    overflow-x: auto;
}

.manifest-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.manifest-table th {
    padding: 10px 8px;
    color: #fff;
    background: var(--safana-secondary);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.manifest-table td {
    padding: 0;
    border: 1px solid #d7e1ea;
    background: #fff;
}

.manifest-table tr:nth-child(even) td {
    background: #fafcfe;
}

.manifest-table input,
.manifest-table select {
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    border: 0;
    background: transparent;
    color: var(--safana-text);
    font: inherit;
    outline: none;
}

.manifest-table input:focus,
.manifest-table select:focus {
    background: #fff7f4;
    box-shadow: inset 0 0 0 2px rgba(228, 65, 34, 0.28);
}

.manifest-calculated {
    min-width: 110px;
    padding: 9px 8px !important;
    color: var(--safana-secondary);
    background: #e7f3f8 !important;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.manifest-summary {
    padding: 16px 20px 20px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    background: #fff;
}

.manifest-summary div {
    padding: 14px;
    border-radius: 8px;
    background: #fff1ed;
    border: 1px solid rgba(228, 65, 34, 0.18);
}

.manifest-summary span,
.manifest-summary strong {
    display: block;
}

.manifest-summary span {
    color: var(--safana-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.manifest-summary strong {
    margin-top: 5px;
    color: var(--safana-secondary);
    font-size: 18px;
    font-weight: 900;
}

.panel-title,
.form-card-header {
    padding: 15px 18px;
    border-bottom: 1px solid var(--safana-border);
    color: var(--safana-secondary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-card-body {
    padding: 20px;
}

.form-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--safana-border);
    background: #fbfcfe;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-upload-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-preview {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--safana-primary), var(--safana-secondary));
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    border: 5px solid #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-upload-fields {
    flex: 1;
    min-width: 220px;
}

.form-label {
    margin-bottom: 6px;
    color: var(--safana-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.req {
    color: var(--safana-primary);
}

.form-control,
.form-select {
    border-color: var(--safana-border);
    border-radius: 8px;
    min-height: 42px;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--safana-secondary);
    box-shadow: 0 0 0 3px rgba(2, 61, 91, 0.1) !important;
}

.table {
    margin: 0;
    vertical-align: middle;
}

.table thead th {
    color: var(--safana-muted);
    background: #f8fafc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--safana-border);
}

.table td,
.table th {
    padding: 13px 16px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
}

.status-info {
    color: #175cd3;
    background: #eff8ff;
}

.status-primary {
    color: #023D5B;
    background: #e7f3f8;
}

.status-warning {
    color: #b54708;
    background: #fffaeb;
}

.status-success {
    color: #067647;
    background: #ecfdf3;
}

.status-danger {
    color: #b42318;
    background: #fff1f0;
}

.status-muted {
    color: #475467;
    background: #f2f4f7;
}

.alert-custom {
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert-success-custom {
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

.alert-error-custom {
    color: #b42318;
    background: #fff1f0;
    border: 1px solid #fecdca;
}

.tracking-code {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--safana-secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--safana-secondary-soft);
    color: var(--safana-secondary);
}

.empty-state {
    padding: 36px 20px;
    text-align: center;
    color: var(--safana-muted);
}

.empty-state i {
    display: block;
    margin-bottom: 10px;
    font-size: 34px;
    color: #98a2b3;
}

.public-body {
    background: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--safana-border);
    backdrop-filter: blur(14px);
}

.site-nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--safana-secondary);
    font-weight: 900;
}

.site-brand img {
    width: 62px;
}

.site-brand span {
    display: block;
    line-height: 1.05;
}

.site-brand small {
    display: block;
    color: var(--safana-primary);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 4px;
}

.site-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.site-links a {
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: var(--safana-secondary);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.site-links a:hover,
.site-links a.active {
    background: var(--safana-secondary-soft);
    color: var(--safana-secondary);
}

.public-hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0.72) 100%),
        url("../Images/logo-01.png") right 9vw center / min(420px, 46vw) auto no-repeat;
    border-bottom: 1px solid var(--safana-border);
}

.hero-copy {
    max-width: 720px;
    padding: 74px 0;
}

.hero-kicker {
    color: var(--safana-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    margin-bottom: 14px;
}

.hero-copy h1 {
    color: var(--safana-secondary);
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 900;
    margin: 0 0 18px;
}

.hero-copy p {
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 620px;
}

.hero-actions,
.public-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.public-section {
    padding: 72px 0;
}

.public-section.alt {
    background: #f8fafc;
}

.public-title {
    color: var(--safana-secondary);
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 12px;
}

.public-lead {
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 0 28px;
}

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

.service-item {
    border: 1px solid var(--safana-border);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
}

.service-item i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--safana-secondary-soft);
    color: var(--safana-secondary);
    font-size: 22px;
    margin-bottom: 14px;
}

.service-item h3 {
    color: var(--safana-secondary);
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 8px;
}

.service-item p {
    color: #667085;
    margin: 0;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #475467;
    font-weight: 700;
}

.contact-list i {
    color: var(--safana-primary);
    font-size: 22px;
}

.site-footer {
    padding: 24px 0;
    background: var(--safana-secondary);
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer strong {
    color: #fff;
}

@media (max-width: 1100px) {
    .dashboard-cards,
    .quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finance-grid,
    .dashboard-lower-grid {
        grid-template-columns: 1fr;
    }

    .metric-stack {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .login-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .login-brand {
        min-height: 300px;
        padding: 24px;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .login-brand::before {
        inset: 16px;
        border-width: 6px;
        border-radius: 24px;
    }

    .login-brand::after {
        display: none;
    }

    .login-showcase-nav {
        padding: 12px 16px 0;
    }

    .login-showcase-copy {
        padding: 0 18px 6px;
    }

    .login-brand h1 {
        font-size: 38px;
        max-width: 420px;
    }

    .login-brand p {
        max-width: 420px;
        font-size: 14px;
    }

    .login-showcase-footer {
        display: none;
    }
}

@media (max-width: 820px) {
    .layout,
    .dashboard-content,
    .dashboard-content > section,
    .finance-grid,
    .dashboard-lower-grid,
    .metric-stack {
        min-width: 0;
    }

    .layout {
        width: 100%;
        overflow-x: clip;
    }

    .sidebar {
        position: sticky;
        top: 0;
        width: 100%;
        height: auto;
        max-height: none;
        box-shadow: 0 12px 34px rgba(2, 61, 91, 0.18);
    }

    .logo-box {
        padding: 10px 12px;
    }

    .admin-brand {
        gap: 9px;
    }

    .admin-logo-wrap {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .admin-logo-wrap img {
        width: 38px;
    }

    .admin-brand strong {
        font-size: 14px;
    }

    .admin-brand small {
        font-size: 10px;
    }

    .menu {
        flex: none;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 12px;
        scroll-snap-type: x proximity;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .menu-label {
        display: none;
    }

    .menu a {
        min-height: 42px;
        margin: 0;
        padding: 9px 12px;
        flex: 0 0 auto;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.07);
        scroll-snap-align: start;
        white-space: nowrap;
        font-size: 13px;
    }

    .menu a.active {
        background: var(--safana-primary);
        box-shadow: none;
    }

    .sidebar-footer {
        display: none;
    }

    .content {
        margin-left: 0;
        padding: 14px;
    }

    .admin-topbar {
        margin-left: 0;
        top: 0;
        min-height: auto;
        padding: 12px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        background: linear-gradient(180deg, rgba(244, 247, 251, 0.98), rgba(244, 247, 251, 0.94));
    }

    .top-profile-card {
        order: 1;
        width: 100%;
        min-width: 0;
        min-height: 66px;
        padding: 8px 14px 8px 9px;
        border-radius: 18px;
        justify-content: flex-start;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .admin-topbar-actions {
        order: 2;
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        border-radius: 16px;
        padding: 6px;
    }

    .top-icon-btn {
        width: 42px;
        height: 38px;
        border-radius: 12px;
    }

    .top-logout-btn {
        display: none !important;
        width: auto;
        min-width: 96px;
        padding: 0 14px;
        gap: 7px;
        color: #fff;
        background: var(--safana-primary);
        font-weight: 900;
    }

    .top-logout-btn::after {
        content: "Logout";
        font-size: 12px;
    }

    .topbar,
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-template-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-template-panel .btn-soft {
        width: 100%;
    }

    .manifest-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .manifest-actions,
    .manifest-actions .btn-main,
    .manifest-actions .btn-soft {
        width: 100%;
    }

    .manifest-meta-grid,
    .manifest-summary {
        grid-template-columns: 1fr;
    }

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

    .metric-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .public-hero {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
            url("../Images/logo-01.png") right 20px bottom 28px / 220px auto no-repeat;
    }

    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* CargoAlfa-inspired public website */
.cargo-topbar {
    background: #130b0b;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.cargo-topbar .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cargo-topbar i {
    color: var(--safana-primary);
    margin-right: 5px;
}

.public-body .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    box-shadow: 0 6px 22px rgba(16, 24, 40, 0.05);
}

.public-body .site-nav {
    min-height: 76px;
}

.public-body .site-brand img {
    width: 54px;
}

.public-body .site-brand span {
    font-size: 18px;
    color: var(--safana-secondary);
    font-weight: 900;
}

.public-body .site-brand small {
    color: var(--safana-primary);
    letter-spacing: 0.12em;
}

.public-body .site-links {
    gap: 4px;
}

.public-body .site-links a {
    font-size: 13px;
    min-height: 36px;
    padding: 8px 12px;
}

.public-body .site-links a.btn-main {
    color: #fff;
    padding: 9px 16px;
    margin-left: 8px;
}

.cargo-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(11, 17, 28, 0.86), rgba(11, 17, 28, 0.68)),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1800&q=80") center / cover no-repeat;
    color: #fff;
}

.cargo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 42px;
    align-items: center;
    padding: 74px 12px;
}

.cargo-hero-copy h1 {
    max-width: 660px;
    margin: 12px 0 18px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    font-weight: 900;
    color: #fff;
}

.cargo-hero-copy h1 span {
    color: var(--safana-primary);
}

.cargo-hero-copy p {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 26px;
}

.cargo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.cargo-kicker.red {
    color: var(--safana-primary);
}

.cargo-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--safana-primary);
    display: inline-grid;
    place-items: center;
    text-decoration: none;
}

.quote-card {
    background: #fff;
    color: var(--safana-text);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.quote-card h3 {
    color: var(--safana-secondary);
    font-weight: 900;
    margin-bottom: 18px;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quote-card input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.quote-card button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--safana-primary);
    color: #fff;
    font-weight: 900;
}

.feature-row {
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

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

.feature-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.08);
    padding: 22px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px 14px;
    align-items: center;
}

.feature-card i {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--safana-primary);
    color: #fff;
    font-size: 25px;
}

.feature-card strong {
    color: var(--safana-secondary);
    font-weight: 900;
}

.feature-card span {
    color: var(--safana-muted);
    font-size: 13px;
}

.cargo-section {
    padding: 86px 0;
}

.cargo-section.soft {
    background: #f4f7fb;
}

.cargo-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 48px;
    align-items: center;
}

.cargo-about-grid h2,
.section-head-row h2,
.achievement-grid h2 {
    color: var(--safana-secondary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.cargo-about-grid p {
    color: var(--safana-muted);
    line-height: 1.8;
}

.about-points {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.about-points div {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    gap: 12px;
}

.about-points i {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(228, 65, 34, 0.1);
    color: var(--safana-primary);
    flex-shrink: 0;
}

.about-points span {
    color: var(--safana-muted);
}

.about-points strong {
    display: block;
    color: var(--safana-secondary);
}

.about-photo {
    min-height: 440px;
    border-radius: 8px;
    background: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1000&q=80") center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.about-photo span {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--safana-primary);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.about-photo small {
    display: block;
    color: var(--safana-secondary);
    font-size: 11px;
    line-height: 1.2;
}

.section-head-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.btn-soft.dark {
    color: var(--safana-secondary);
    border-color: var(--safana-border);
}

.cargo-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cargo-service-grid article {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.cargo-service-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.cargo-service-grid article i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--safana-primary);
    color: #fff;
    margin: -22px 22px 14px;
    position: relative;
}

.cargo-service-grid h3,
.cargo-service-grid p,
.cargo-service-grid a {
    margin-left: 22px;
    margin-right: 22px;
}

.cargo-service-grid h3 {
    color: var(--safana-secondary);
    font-weight: 900;
}

.cargo-service-grid p {
    color: var(--safana-muted);
    line-height: 1.65;
}

.cargo-service-grid a {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--safana-primary);
    font-weight: 900;
    text-decoration: none;
}

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

.team-grid div {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    overflow: hidden;
}

.team-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.team-grid strong,
.team-grid span {
    display: block;
    padding: 0 16px;
}

.team-grid strong {
    padding-top: 14px;
    color: var(--safana-secondary);
    font-weight: 900;
}

.team-grid span {
    padding-bottom: 16px;
    color: var(--safana-primary);
    font-size: 13px;
    font-weight: 800;
}

.achievement-band {
    background:
        linear-gradient(90deg, rgba(2, 61, 91, 0.94), rgba(2, 61, 91, 0.88)),
        url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?w=1600&q=80") center / cover no-repeat;
    color: #fff;
    padding: 60px 0;
}

.achievement-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(130px, 1fr));
    gap: 20px;
    align-items: center;
}

.achievement-grid h2 {
    color: #fff;
}

.achievement-grid strong {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
}

.achievement-grid span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.cargo-subhero {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(231, 243, 248, 0.86)),
        url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1200&q=80") right center / 42% auto no-repeat;
}

.cargo-footer {
    background: #130b0b;
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 22px;
}

.cargo-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 34px;
}

.cargo-footer h3,
.cargo-footer h4 {
    color: #fff;
    font-weight: 900;
}

.cargo-footer h3 span {
    color: var(--safana-primary);
}

.cargo-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    margin-bottom: 9px;
    font-weight: 700;
}

.cargo-footer a:hover {
    color: var(--safana-primary);
}

.cargo-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    margin-top: 38px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cargo-footer-bottom a {
    margin: 0;
}

@media (max-width: 980px) {
    .cargo-hero-grid,
    .cargo-about-grid,
    .cargo-service-grid,
    .team-grid,
    .achievement-grid,
    .cargo-footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .dashboard-cards,
    .quick-links {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        gap: 10px;
        padding: 10px;
    }

    .admin-topbar-actions {
        min-height: 48px;
        padding: 6px;
        gap: 6px;
        justify-content: space-between;
        border-radius: 16px;
    }

    .top-icon-btn {
        width: 42px;
        height: 36px;
        font-size: 17px;
        border-radius: 12px;
    }

    .top-icon-btn.has-dot::after {
        top: 8px;
        right: 8px;
    }

    .top-profile-card {
        width: 100%;
        min-width: 0;
        min-height: 68px;
        padding: 8px 13px 8px 9px;
        justify-content: flex-start;
        border-radius: 18px;
        gap: 12px;
    }

    .top-profile-avatar {
        width: 50px;
        height: 50px;
        font-size: 14px;
        border-width: 3px;
    }

    .top-profile-text {
        flex: 1;
    }

    .top-profile-text strong,
    .top-profile-text small {
        max-width: 210px;
    }

    .top-profile-text strong {
        font-size: 14px;
    }

    .top-logout-btn {
        display: inline-flex !important;
        min-width: 100px;
        width: auto;
        padding: 0 13px;
        color: #fff;
        background: var(--safana-primary);
        border-radius: 12px;
    }

    .top-logout-btn::after {
        content: "Logout";
        font-size: 12px;
        font-weight: 900;
    }

    .profile-upload-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-content {
        padding: 12px;
        background: #f3f6fa;
    }

    .dash-hero h1 {
        font-size: 24px;
        line-height: 1.12;
    }

    .dash-hero {
        padding: 16px;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    }

    .dash-hero p {
        font-size: 13px;
        line-height: 1.55;
    }

    .finance-grid,
    .dashboard-lower-grid,
    .metric-stack,
    .wallet-row,
    .balance-actions,
    .action-card-grid {
        grid-template-columns: 1fr;
    }

    .balance-card,
    .chart-card,
    .limit-card,
    .recent-card {
        border-radius: 18px;
        padding: 16px;
    }

    .money-card {
        border-radius: 16px;
    }

    .balance-card h2 {
        font-size: 28px;
    }

    .wallet-row div,
    .action-card-grid a {
        border-radius: 14px;
    }

    .chart-card {
        overflow: hidden;
    }

    .status-bars {
        min-width: 0;
        gap: 5px;
    }

    .modern-table {
        min-width: 0;
        table-layout: fixed;
    }

    .modern-table th,
    .modern-table td {
        padding-inline: 6px;
        overflow-wrap: anywhere;
    }

    .auth-page {
        padding: 14px;
        background:
            radial-gradient(circle at 22% 12%, rgba(228, 65, 34, 0.28), transparent 28%),
            linear-gradient(180deg, #071923 0%, #10293a 34%, #f3f6f9 34%, #f3f6f9 100%);
    }

    .login-shell {
        border-radius: 24px;
    }

    .login-brand {
        min-height: 245px;
        padding: 18px;
    }

    .login-showcase-nav {
        padding: 8px 12px 0;
    }

    .login-showcase-nav a {
        padding: 7px 12px;
    }

    .login-showcase-copy {
        padding: 0 12px;
    }

    .login-kicker {
        padding: 7px 11px;
        font-size: 10px;
    }

    .login-brand h1 {
        font-size: 30px;
        margin: 12px 0 8px;
    }

    .login-brand p {
        font-size: 13px;
        line-height: 1.55;
    }

    .login-panel {
        padding: 26px 22px 28px;
    }

    .login-card-head {
        align-items: flex-start;
    }

    .login-logo {
        width: 118px;
    }

    .login-small-title {
        margin-top: 28px;
    }

    .login-panel h2 {
        font-size: 34px;
    }

    .login-helper {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 420px) {
    .admin-topbar {
        padding-inline: 10px;
        gap: 6px;
    }

    .admin-topbar-actions {
        gap: 5px;
    }

    .top-icon-btn {
        width: 36px;
        height: 34px;
    }

    .top-profile-avatar {
        width: 46px;
        height: 46px;
    }

    .top-profile-text strong,
    .top-profile-text small {
        max-width: 180px;
    }

    .top-logout-btn {
        min-width: 88px;
        padding-inline: 10px;
    }

    .top-profile-card > i {
        display: none;
    }
}

/* Public website polish */
.pro-hero {
    min-height: 720px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 54%, rgba(231, 243, 248, 0.82) 100%),
        url("../Images/logo-01.png") right 9vw center / min(420px, 42vw) auto no-repeat;
}

.pro-hero .hero-copy {
    max-width: 800px;
}

.pro-hero .hero-copy h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
}

.eyebrow {
    display: inline-flex;
    color: var(--safana-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    margin-bottom: 12px;
}

.metric-band {
    background: var(--safana-secondary);
    color: #fff;
}

.metric-grid,
.process-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid div {
    padding: 28px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
}

.metric-grid span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 38px;
    align-items: center;
    margin-bottom: 36px;
}

.operations-panel {
    background: var(--safana-secondary);
    border-radius: 8px;
    padding: 24px;
    display: grid;
    gap: 12px;
}

.operations-panel div {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
}

.operations-panel i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--safana-primary);
    border-radius: 8px;
    font-size: 20px;
}

.pro-services {
    margin-top: 8px;
}

.process-strip {
    gap: 14px;
    margin-top: 26px;
}

.process-strip div {
    background: #fff;
    border: 1px solid var(--safana-border);
    border-radius: 8px;
    padding: 22px;
}

.process-strip strong {
    display: block;
    color: var(--safana-primary);
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
}

.process-strip span {
    color: var(--safana-secondary);
    font-weight: 900;
}

.cta-panel {
    background: var(--safana-secondary);
    color: #fff;
    padding: 58px 0;
}

.cta-panel .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
}

.cta-panel .eyebrow {
    color: #ffb4a4;
}

.subhero {
    padding: 86px 0 64px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(231, 243, 248, 0.82)),
        url("../Images/logo-01.png") right 10vw center / 260px auto no-repeat;
    border-bottom: 1px solid var(--safana-border);
}

.subhero h1 {
    color: var(--safana-secondary);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    margin: 0 0 14px;
}

.value-list {
    display: grid;
    gap: 12px;
}

.value-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475467;
    font-weight: 700;
}

.value-list i {
    color: var(--safana-primary);
    font-size: 22px;
    margin-top: 2px;
}

@media (max-width: 820px) {
    .top-logout-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 96px;
        color: #fff;
        background: var(--safana-primary);
        border-radius: 12px;
    }

    .top-logout-btn::after {
        content: "Logout";
        font-size: 12px;
        font-weight: 900;
    }

    .metric-grid,
    .section-split,
    .process-strip {
        grid-template-columns: 1fr;
    }

    .metric-grid div,
    .metric-grid div:last-child {
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}
