body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #0f1f3d;
}

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

.sidebar {
    width: 250px;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(circle at 20% 20%, rgba(50,150,255,0.35), transparent 30%),
        radial-gradient(circle at 80% 90%, rgba(0,255,170,0.20), transparent 35%),
        linear-gradient(
            180deg,
            #062f75 0%,
            #0b56b3 60%,
            #13a8d4 100%
        );
}
.sidebar::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.05) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
    pointer-events: none;
}

.sidebar::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -120px;
    left: -80px;

    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;

    pointer-events: none;
}

.sidebar h1 {
    font-size: 24px;
    margin-bottom: 35px;
}

.nav {
    display: block;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(4px);
}

.nav.active {
    background: #1266f1;
}

.sidebar-footer {
    margin-top: auto;

    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);

    text-align: center;

    position: relative;
    z-index: 5;
}

.footer-version {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.80);
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
}

.main {
    flex: 1;
    padding: 25px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.topbar input {
    width: 450px;
    padding: 14px;
    border: 1px solid #d8e0ee;
    border-radius: 8px;
}

button {
    background: #0969f9;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 12px 20px;
    font-weight: bold;
}

.subtitle {
    margin-top: -8px;
    color: #5f6f89;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}
.card, .panel {
    background: white;
    border: 1px solid #dce4f1;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(10, 31, 68, 0.04);
}


.card b {
    font-size: 22px;
    line-height: 1;
    display: block;
}

.card span {
    color: #536680;
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 20px;
}

.panel {
    padding: 18px;
}

.large {
    grid-column: span 1;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 15px 10px;
    border-bottom: 1px solid #e4ebf5;
    text-align: left;
}

th {
    font-weight: bold;
}

.badge {
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
}

.yellow {
    background: #fff1c7;
    color: #b36b00;
}

.blue {
    background: #dcefff;
    color: #0068d9;
}

.green {
    background: #d7f5df;
    color: #0d8a39;
}

label {
    display: block;
    margin-top: 16px;
    margin-bottom: 7px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d6dfec;
    border-radius: 8px;
}

.tags span {
    display: inline-block;
    background: #eaf2ff;
    color: #0068d9;
    padding: 8px;
    border-radius: 7px;
    margin: 4px;
    font-size: 13px;
}

.dropbox {
    border: 2px dashed #c7d4e5;
    border-radius: 10px;
    text-align: center;
    padding: 30px;
    margin: 18px 0;
    color: #0068d9;
}

.full {
    width: 100%;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 30px;
}.new-shipment-btn {
    background: #0969f9;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    padding: 12px 20px;
    font-weight: bold;
}
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

/* At Border */
.status-border {
    background: #FED7AA;
    color: #C2410C;
}

/* In Transit */
.status-transit {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* Customs Cleared */
.status-cleared {
    background: #BBF7D0;
    color: #166534;
}

/* Delayed */
.status-delayed {
    background: #FECACA;
    color: #991B1B;
}

/* Delivered */
.status-delivered {
    background: #86EFAC;
    color: #166534;
}
.shipment-row {
    cursor: pointer;
}

.shipment-row:hover {
    background: #f1f5f9;
}
.bottom-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}
.recent-updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f4;
}

.update-item:last-child {
    border-bottom: none;
}

.update-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.update-upload {
    background: #e8f8ee;
    color: #1f9d55;
}

.update-status {
    background: #eaf1ff;
    color: #2563eb;
}

.update-created {
    background: #fff7e6;
    color: #d97706;
}

.update-delayed {
    background: #fdeaea;
    color: #dc2626;
}

.update-general {
    background: #f1f5f9;
    color: #475569;
}

.update-content {
    flex: 1;
}

.update-text {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.update-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}
.update-status {
    background: #eaf1ff;
    color: #2563eb;
}
.update-icon.update-upload {
    background: #e8f8ee;
    color: #16a34a;
}

.update-icon.update-created {
    background: #fff7e6;
    color: #d97706;
}

.update-icon.update-change {
    background: #fdeaea;
    color: #dc2626;
}

.update-icon.update-general {
    background: #f1f5f9;
    color: #475569;
}
.progress-row {
    display: grid;
    grid-template-columns: 28px 1fr 100px;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.progress-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

.progress-green {
    background: #22c55e;
}

.progress-blue {
    background: #2563eb;
}

.progress-orange {
    background: #f97316;
}

.progress-yellow {
    background: #eab308;
    color: #111827;
}

.progress-red {
    background: #dc2626;
}

.progress-input {
    padding: 8px;
    border: 1px solid #d6dfec;
    border-radius: 7px;
}

.progress-color {
    padding: 8px;
    border: 1px solid #d6dfec;
    border-radius: 7px;
}
.progress-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 10px;
    margin-bottom: 12px;
}

.progress-input {
    padding: 10px;
    border: 1px solid #d6dfec;
    border-radius: 8px;
}

.progress-color {
    padding: 10px;
    border: 1px solid #d6dfec;
    border-radius: 8px;
}
.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #d6dfec;
    border-radius: 8px;
    box-sizing: border-box;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-grid input,
.form-grid select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d6dfec;
    border-radius: 8px;
    box-sizing: border-box;
}
.fleet-available {
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.fleet-assigned {
    background: #d6e4ff;
    color: #0b5ed7;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.fleet-transit {
    background: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}
.sidebar a.nav {
    display: block;
    color: white;
    text-decoration: none;
}
.dashboard-filter {
    max-width: 300px;
    margin: 15px 0 20px 0;
}

.dashboard-filter select {
    width: 100%;
}

.card {
    width: 220px;
    height: 70px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.app-topbar {
    background: white;
    border-bottom: 1px solid #dce4f1;
    padding: 14px 18px;
    margin: -25px -25px 25px -25px;
    align-items: center;
}

.topbar-search {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topbar-search input {
    width: 420px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #dce4f1;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: #1266f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-info strong {
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: #64748b;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 52px;
    right: 0;
    width: 160px;
    background: white;
    border: 1px solid #dce4f1;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(15, 31, 61, 0.12);
    z-index: 20;
}

.user-dropdown a {
    display: block;
    padding: 11px 14px;
    color: #0f1f3d;
    text-decoration: none;
    font-size: 14px;
}

.user-dropdown a:hover {
    background: #f1f5f9;
}

.user-menu:hover .user-dropdown {
    display: block;
}
.subscription-active {
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.subscription-suspended {
    background: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.subscription-cancelled {
    background: #f8d7da;
    color: #721c24;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}
.form-card input,
.form-card select {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
}
.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;

    background:
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.025) 0px,
            rgba(255,255,255,0.025) 2px,
            transparent 2px,
            transparent 18px
        ),
        linear-gradient(135deg, #071b3a, #0f4fa8, #16a34a);
}

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    width: 420px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.login-card h1 {
    margin: 0;
    color: #0f2f5f;
    font-size: 32px;
}

.login-card p {
    color: #64748b;
    margin-bottom: 30px;
}

.login-card label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #0f172a;
}

.login-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    margin-top: 10px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f2f5f, #1e6ff2);
    height: 100vh;
}

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 580px;
    background: white;
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
}
.login-logo {
    width: 420px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.login-card h2 {
    margin-bottom: 10px;
    color: #0f2f5f;
}

.login-card p {
    color: #64748b;
    margin-bottom: 30px;
}

.login-card label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 15px;
}

.login-card input {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #1e6ff2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.login-btn:hover {
    background: #1557c8;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.login-body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    background: linear-gradient(135deg, #071b3a, #0f4fa8, #16a34a);
    overflow: hidden;
}

.login-body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.03) 0,
            rgba(255,255,255,0.03) 2px,
            transparent 2px,
            transparent 18px
        );

    opacity: 0.6;
    pointer-events: none;
}

.login-background-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,.08), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,.06), transparent 35%);
}

.login-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 560px;
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    padding: 42px 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    text-align: center;
}

.login-logo {
    width: 430px;
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.login-card h2 {
    margin: 0;
    color: #0f2f5f;
    font-size: 28px;
}

.login-card p {
    color: #64748b;
    margin: 10px 0 28px;
}

.login-card label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0f172a;
}

.login-card input[type="email"],
.login-card input[type="password"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 15px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 24px;
    font-size: 14px;
}

.remember-me {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #475569 !important;
}

.login-options a {
    color: #1e6ff2;
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e6ff2, #16a34a);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.login-btn:hover {
    opacity: 0.92;
}

.login-footer {
    margin-top: 24px;
    color: #64748b;
    font-size: 13px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.sidebar-brand{
    position: relative;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:28px 0 32px;

    overflow:hidden;
}
.sidebar-brand-bg{
    position:absolute;
    width:120px;
    height:120px;
    top:-12px;
    object-fit:contain;
    opacity:0.25;
    z-index:1;
}
.sidebar-brand span{
    position:relative;
    z-index:2;

    font-size:28px;
    font-weight:800;
    letter-spacing:3px;
    color:#ffffff;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-title h2 {
    margin-bottom: 6px;
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 96, 180, 0.12);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(8, 37, 79, 0.08);
}

.fleet-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

.fleet-table th {
    text-align: left;
    padding: 14px 10px;
    color: #08254f;
    font-size: 14px;
    border-bottom: 1px solid #dce6f4;
}

.fleet-table td {
    padding: 16px 10px;
    border-bottom: 1px solid #e5edf7;
    font-size: 14px;
}

.fleet-table tr:hover {
    background: rgba(13, 110, 253, 0.04);
}

.status-badge {
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
}

.status-assigned {
    background: #dbeafe;
    color: #0b5ed7;
}

.status-available {
    background: #d1fae5;
    color: #047857;
}

.status-in-transit {
    background: #fef3c7;
    color: #b45309;
}

.status-maintenance,
.status-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.action-btn {
    background: linear-gradient(135deg, #0d6efd, #0056d6);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
}
.view-btn {
    background: linear-gradient(
        135deg,
        #0ea5e9,
        #0284c7
    );
}

.edit-btn {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #0056d6
    );
}
.view-btn {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.edit-btn {
    background: linear-gradient(135deg, #0d6efd, #0056d6);
}
.fleet-profile-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(50,150,255,0.25), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0,255,170,0.18), transparent 35%),
        linear-gradient(135deg, #062f75, #0b56b3, #13a8d4);
    color: white;
    border-radius: 22px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 18px 40px rgba(8, 37, 79, 0.18);
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.fleet-profile-hero h1 {
    font-size: 38px;
    margin: 0;
}

.fleet-profile-hero p {
    margin-top: 8px;
    opacity: 0.9;
}

.fleet-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.detail-card {
    background: white;
    border: 1px solid rgba(13, 96, 180, 0.12);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(8, 37, 79, 0.08);
}

.detail-card > span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.detail-card strong {
    color: #08254f;
    font-size: 18px;
}
.status-badge {
    display: inline-block;
    width: auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}
.compliance-panel {
    margin-top: 24px;
}

.compliance-grid {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.compliance-item {
    display: flex;
    align-items: center;
}

.compliance-ok {
    display: inline-block;
    background: #d1fae5;
    color: #047857;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.compliance-missing {
    display: inline-block;
    background: #fee2e2;
    color: #b91c1c;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}
.document-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.document-actions .new-shipment-btn,
.document-actions .action-btn {
    margin: 0;
}
.action-btn.delete-btn {
    background: #dc2626 !important;
    color: white !important;
    border-color: #dc2626 !important;
}

.action-btn.delete-btn:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
}
.shipment-table-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #e5e7eb;
}

.shipment-table-container table thead th,
.shipment-table-container th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.shipment-table-container::-webkit-scrollbar {
    width: 12px;
}

.shipment-table-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.shipment-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #60a5fa,
        #2563eb,
        #1e40af
    );
    border-radius: 999px;
    border: 2px solid #e5e7eb;
}

.shipment-table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #2563eb,
        #1d4ed8
    );
}
.profile-page {
    padding: 40px;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 32px;
    margin: 0;
    color: #0f172a;
}

.profile-header p {
    margin-top: 8px;
    color: #64748b;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
}

.profile-card {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.profile-card h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #0f172a;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row span {
    color: #64748b;
}

.profile-row strong {
    color: #0f172a;
}
.flash-message {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 600;
}
.date-input {
    width: 100%;
    max-width: 260px;
    padding: 12px 14px;
    border: 1px solid #d8e1ef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: #ffffff;
    color: #0f172a;
}

.date-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
/* Unique Code Card */

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1e3a8a;
}

.unique-code-box {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 10px;
    user-select: all;
}

.helper-text {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 0;
}
.progress-update-box {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    padding: 14px;
    border: 1px solid #d6deea;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.progress-update-box:focus {
    outline: none;
    border-color: #0d6efd;
}
.action-btn {
    display: inline-block;
    background-color: #1664f0;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
}

.action-btn:hover {
    background-color: #0d4fd1;
}
.notification-bell {
    width: 38px;
    height: 38px;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}

.notification-bell:hover {
    background: #f3f4f6;
    color: #111827;
}
.notification-bell {
    position: relative;
    width: 38px;
    height: 38px;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}

.notification-bell:hover {
    background: #f3f4f6;
    color: #111827;
}


.notification-count {
    position: absolute;
    top: -5px;
    right: -6px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    background: #f59e0b;
    color: white;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 0 2px white;
}
.notification-link {
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
}

.notification-link:hover {
    text-decoration: underline;
}
.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    width: 340px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 999;
    overflow: hidden;
}

.notification-wrapper:hover .notification-dropdown {
    display: block;
}

.notification-dropdown-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1f2937;
    text-decoration: none;
}

.notification-dropdown-item:hover {
    background: #f8fafc;
}

.notification-dropdown-item span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.notification-dropdown-item small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.notification-view-all {
    display: block;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: #f97316;
    text-decoration: none;
    background: #fff7ed;
}

.notification-empty {
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.kpi-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.kpi-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.kpi-number {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    min-width: 55px;
    text-align: center;
}

.kpi-info {
    display: flex;
    align-items: center;
}

.kpi-info span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* Colors */

.kpi-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.kpi-icon.orange {
    background: #ffedd5;
    color: #f97316;
}

.kpi-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.kpi-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.kpi-icon.red {
    background: #fee2e2;
    color: #dc2626;
}

.kpi-icon.teal {
    background: #ccfbf1;
    color: #0d9488;
}

.kpi-icon.yellow {
    background: #fef3c7;
    color: #d97706;
}
.shipment-filter-card {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.shipment-filter-card h3 {
    margin: 0;
    font-size: 16px;
    color: #0f172a;
}

.shipment-filter-card p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
}

.shipment-filter-form select {
    min-width: 220px;
    width: 220px;
}
.update-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.update-upload {
    background: #dbeafe;
    color: #2563eb;
}

.update-created {
    background: #dcfce7;
    color: #16a34a;
}

.update-change {
    background: #fef3c7;
    color: #d97706;
}

.update-delete {
    background: #fee2e2;
    color: #dc2626;
}

.update-progress {
    background: #ede9fe;
    color: #7c3aed;
}

.update-general {
    background: #e2e8f0;
    color: #475569;
}
.panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.panel-header h3{
    margin:0;
    font-size:22px;
}

.panel-header h3 i{
    color:#2563eb;
    margin-right:8px;
}

.panel-header p{
    margin-top:4px;
    color:#64748b;
    font-size:13px;
}

.shipment-count{
    background:#2563eb;
    color:white;
    padding:8px 16px;
    border-radius:12px;
    font-weight:600;
}
.detail-info-grid {
    display: grid;
    gap: 12px;
}

.detail-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.detail-card small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.detail-card span {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}
.detail-column{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.detail-row{
    display:grid;
    grid-template-columns:140px 1fr;
    align-items:center;
    gap:18px;
    padding-bottom:10px;
    border-bottom:1px solid #e2e8f0;
}

.detail-row:last-child{
    border-bottom:none;
}

.detail-row label {

    color: #2563EB;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-shadow: 0 0 3px rgba(37, 99, 235, 0.15);

}

.detail-row span{
    font-size:15px;
    font-weight:600;
    color:#0f172a;
    text-align:right;
    white-space:pre-line;
}
.shipment-progress-panel {
    border-left: 2px solid #e2e8f0;
    padding-left: 30px;
    min-height: 100%;
}

.shipment-progress-panel h4 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 17px;
    color: #0f172a;
}

.progress-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-timeline::before{
    left:13px;
    width:1px;
    background:#d1d5db;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    margin-bottom: 18px;
}

.timeline-icon{
    flex-shrink:0;

    width:24px;
    height:24px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:10px;
    color:white;

    box-shadow:0 0 0 4px white;
}

.timeline-content {
    flex: 1;
    padding-top: 2px;
}

.timeline-content span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.timeline-content small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.timeline-icon.progress-green {
    background: #22c55e;
}

.timeline-icon.progress-blue {
    background: #2563eb;
}

.timeline-icon.progress-orange {
    background: #f97316;
}

.timeline-icon.progress-yellow {
    background: #eab308;
}

.timeline-icon.progress-red {
    background: #dc2626;
}
.archive-warning {
    margin: 15px 0 22px;
    padding: 14px 18px;
    border-radius: 12px;

    background: #fff7ed;
    border: 1px solid #fed7aa;

    color: #9a3412;

    font-size: 14px;
    font-weight: 600;
}
.expiry-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.expiry-badge.safe {
    background: #dcfce7;
    color: #166534;
}

.expiry-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.expiry-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}
/* ================================
   LOAD ARCHIVE DETAIL HEADER
================================ */

.archive-header-card {
    margin: 20px 0 24px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.archive-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.archive-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.archive-header-top h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
}

.archive-header-top p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.archive-status-pill {
    min-width: 230px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
}

.archive-status-pill span {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.archive-status-pill strong {
    display: block;
    color: #16a34a;
    font-size: 22px;
    font-weight: 800;
}

.archive-status-pill small {
    display: block;
    margin-top: 6px;
    color: #475569;
    font-size: 12px;
}

.archive-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 18px;
}

.archive-retention-note {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
}

.archive-retention-note strong {
    display: block;
    margin-bottom: 3px;
    color: #7c2d12;
}

.archive-retention-note span {
    color: #9a3412;
}

.archive-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .archive-header-top,
    .archive-header-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .archive-status-pill {
        min-width: auto;
    }
}
.report-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.report-btn {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.report-btn:hover {
    background: #1d4ed8;
}
/* ===============================
   Archive Search Results
================================ */

.archive-results{

    margin:18px 0 20px;

    padding:14px 18px;

    background:#f8fbff;

    border:1px solid #dbeafe;

    border-left:5px solid #2563eb;

    border-radius:12px;

    color:#334155;

    font-size:15px;

    font-weight:500;

    box-shadow:0 2px 8px rgba(37,99,235,.05);

}

.archive-results strong{

    color:#1e3a8a;

    font-size:17px;

    font-weight:800;

}

.archive-results span{

    color:#2563eb;

    font-weight:700;

}
/* ==========================================================
   SHIPMENT DETAILS PAGE ONLY
========================================================== */

.shipment-info-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:28px;

}

.shipment-info-column{

    display:flex;

    flex-direction:column;

}

.shipment-info-row{

    display:grid;

    grid-template-columns:140px 1fr;

    align-items:center;

    padding:14px 0;

    border-bottom:1px solid #edf2f8;

}

.shipment-info-label{

    color:#2563eb;

    font-size:11px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    text-shadow:0 0 6px rgba(37,99,235,.20);

}

.shipment-info-value{

    font-size:21px;

    font-weight:600;

    color:#0f172a;

}

.shipment-progress-box{

    border-left:1px solid #dde6f4;

    padding-left:30px;

    margin-left:20px;

}

.shipment-details-card{

    border-radius:22px;

    padding:34px;

}
.fleet-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
    margin-bottom: 24px;
}

.fleet-detail-title span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fleet-detail-title h1 {
    margin: 8px 0 6px;
    color: #0f172a;
}

.fleet-detail-title p {
    margin: 0;
    color: #64748b;
}

.fleet-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.fleet-info-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
}

.fleet-info-card h3 {
    margin-bottom: 16px;
}

.fleet-info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    column-gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid #edf2f8;
}

.fleet-info-row:last-child {
    border-bottom: none;
}

.fleet-info-row label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin: 0;
}

.fleet-info-row span {
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;

    margin: 0;
    justify-self: start;
    text-align: left;
}
.profile-security-card {
    border-radius: 18px;
    padding: 28px;
}

.profile-security-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-security-form label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

.profile-security-form input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    font-size: 14px;
}

.profile-password-btn {
    margin-top: 14px;
    width: fit-content;
}


.shipment-details-card{

    border-radius:22px;

    padding:34px;

}
.fleet-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
    margin-bottom: 24px;
}

.fleet-detail-title span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fleet-detail-title h1 {
    margin: 8px 0 6px;
    color: #0f172a;
}

.fleet-detail-title p {
    margin: 0;
    color: #64748b;
}

.fleet-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.fleet-info-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
}

.fleet-info-card h3 {
    margin-bottom: 16px;
}

.fleet-info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    column-gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid #edf2f8;
}

.fleet-info-row:last-child {
    border-bottom: none;
}

.fleet-info-row label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin: 0;
}

.fleet-info-row span {
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;

    margin: 0;
    justify-self: start;
    text-align: left;
}
.profile-security-card {
    border-radius: 18px;
    padding: 28px;
}

.profile-security-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-security-form label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

.profile-security-form input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    font-size: 14px;
}

.profile-password-btn {
    margin-top: 14px;
    width: fit-content;
}
/* FORCE PROFILE PAGE BOTTOM PANELS */
.profile-page .profile-grid {
    display: grid !important;
    grid-template-columns: 40% 60% !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.profile-page .profile-grid > section,
.profile-page .profile-grid > div {
    width: 100% !important;
    box-sizing: border-box !important;
}

.profile-page .profile-security-card {
    width: 100% !important;
}

.profile-page .profile-security-form input {
    width: 100% !important;
    box-sizing: border-box !important;
}

.profile-page .profile-password-btn {
    width: 100% !important;
}
/* ==============================
   PROFILE BOTTOM SECTION
============================== */

.profile-bottom-grid{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:24px;
    margin-top:24px;
    align-items:start;
}

.profile-bottom-grid > section{
    width:100%;
}

.profile-bottom-grid .panel{
    padding:28px;
    border-radius:18px;
}
/* ==============================
   PROFILE BOTTOM CARDS FIX
============================== */

.profile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.profile-account-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
    min-width: 0;
}

.profile-account-card h3 {
    margin-bottom: 24px;
}

.profile-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f8;
}

.profile-info-row:last-child {
    border-bottom: none;
}

.profile-info-row span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-info-row strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    overflow-wrap: anywhere;
}

.profile-security-form input {
    width: 100%;
    box-sizing: border-box;
}

.profile-password-btn {
    margin-top: 16px;
    width: fit-content;
}
/* FINAL PROFILE BOTTOM FIX */

.vantinex-profile-bottom-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    margin-top: 24px !important;
    width: 100% !important;
    overflow: hidden !important;
}

.vantinex-profile-bottom-grid > section {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.vantinex-profile-bottom-grid .profile-account-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
}

.profile-info-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f8;
}

.profile-info-row strong {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
}
/* ===============================
   PROFILE PAGE FINAL FIX
================================ */

.profile-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.profile-clean-grid .profile-account-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 28px;

    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
}

.profile-info-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;

    padding: 15px 0;
    border-bottom: 1px solid #edf2f8;
}

.profile-info-row:last-child {
    border-bottom: none;
}

.profile-info-row span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-info-row strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-security-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-security-form input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    font-size: 14px;
}

.profile-security-form label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

.profile-password-btn {
    margin-top: 16px;
    width: fit-content;
}
.empty-text{
    color:#666;
    font-style:italic;
}
.border-posts-row{
    align-items:start;
}

.border-posts-row span{
    white-space:pre-line;
}
.fleet-detail-row{
    display:grid;
    grid-template-columns:110px 220px;
    align-items:center;
    column-gap:18px;

    width:350px;

    padding:10px 0;

    border-bottom:1px solid #e2e8f0;
}

.fleet-detail-row:last-child{
    border-bottom:none;
}

.fleet-detail-row label{

    margin:0;

    color:#2563EB;

    font-size:11px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;
}


.fleet-detail-row span{

    margin:0;

    color:#0f172a;

    font-size:15px;

    font-weight:600;

    text-align:left;
}
.fleet-search-btn {
    height: 44px;
    min-width: 90px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    line-height: 1;
}
.archive-actions{
    display:flex;
    gap:12px;
    margin:22px 0 30px;
    flex-wrap:wrap;
}
/* ===============================
   MOBILE RESPONSIVE FIX
================================ */

@media (max-width: 768px) {

    .app {
        flex-direction: column;
    }

    .sidebar {
        width: auto;
        min-height: auto;
        padding: 14px;
    }

    .main {
        padding: 14px;
    }

    .topbar,
    .app-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 0 0 18px 0;
    }

    .topbar-search {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .topbar-search input {
        width: 100%;
    }

    .topbar-actions {
        flex-wrap: wrap;
        justify-content: space-between;
    }

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

    .grid,
    .bottom-grid,
    .detail-grid,
    .form-grid,
    .profile-clean-grid,
    .fleet-info-grid {
        grid-template-columns: 1fr;
    }

    .shipment-progress-panel {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
        border-top: 1px solid #e2e8f0;
        padding-top: 20px;
    }

    .shipment-table-container {
        overflow-x: auto;
    }

    table {
        min-width: 900px;
    }

    .panel {
        padding: 16px;
    }

    .new-shipment-btn,
    button,
    .action-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}