/* 
    EasyMovers Premium Design System 
    Author: Antigravity
    Version: 1.0
*/

:root {
    /* Premium Color Palette (Navy & Green) */
    --primary-navy: #0f172a;
    --primary-green: #10b981;
    --primary-green-hover: #059669;
    --accent-glow: #34d399;

    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-soft: #f1f5f9;

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-bg: #0f172a;
    /* Navy sidebar for premium feel */
    --portal-bg: #fcfcfd;
    --container-max: 1400px;

    /* Spacing & Scaling */
    --section-pad: 6rem;

    /* Effects & Shadows (Subtle & Clean) */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
    --premium-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15);

    /* Auth Specific */
    --auth-bg-grad: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --input-bg: #f8fafc;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 13px;
    /* Standardize on slightly smaller, premium base size */
}

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 0.8rem 8%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.logo-nav {
    height: 34px;
    /* Slightly more compact */
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-nav img {
    height: 100%;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 850;
    color: var(--primary-navy);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--primary-green);
}

.logo-nav:hover .logo-text {
    color: var(--primary-green);
}

/* Hero Section - Centered & Premium */
.hero {
    padding: 10rem 5% 8rem;
    text-align: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        linear-gradient(to bottom, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    color: var(--primary-navy);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin: 0 auto 2.5rem;
    text-align: center;
    width: fit-content;
}

.hero h1 span {
    color: var(--primary-green);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-body);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.pulsing {
    animation: pulse-green 4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-heading);
    font-weight: 600;
    /* Slightly bolder for better readability */
    font-size: 0.9rem;
    text-decoration: none;
    /* Removed underlines */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.nav-btn {
    background: var(--primary-navy);
    color: #fff !important;
    padding: 0.65rem 1.8rem;
    border-radius: 100px;
    /* Pill shape is more modern */
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    /* Removed underlines */
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-green);
}

/* Sections */
.section-std {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tagline {
    display: inline-block;
    background: #ecfdf5;
    color: var(--primary-green);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--text-heading);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-premium {
    padding: 1.2rem 2.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-navy);
    color: #fff;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.4);
}

.btn-white {
    background: #fff;
    color: var(--primary-navy);
    border: 1px solid var(--border-soft);
}

.btn-white:hover {
    border-color: var(--primary-navy);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* How it Works - Restore Colored Circles */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.how-item {
    text-align: center;
}

.how-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    font-size: 2.2rem;
    font-weight: 850;
    color: #fff;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.how-circle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.how-item:hover .how-circle {
    transform: scale(1.1) rotate(5deg);
}

.how-item:hover .how-circle::after {
    border-color: inherit;
    transform: scale(1.1);
}

.how-circle.step-1 {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.how-circle.step-2 {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.how-circle.step-3 {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.how-item h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.how-item p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Bento Grid / Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: #fff;
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--premium-shadow);
    border-color: var(--primary-green);
}

.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 28px;
    margin-top: 2rem;
    transition: all 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Mission Split */
.mv-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.mv-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid var(--border-soft);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.mv-card:hover {
    background: #fff;
    border-color: var(--primary-green);
    transform: translateX(12px);
    box-shadow: var(--shadow-xl);
}

.mv-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    height: 600px;
}

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

/* Footer */
footer {
    background: var(--primary-navy);
    color: #fff;
    padding: 10rem 8% 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.95rem;
}

/* Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {

    .how-grid,
    .services-grid,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-std {
        padding: 6rem 0;
    }

    .hero {
        padding-top: 10rem;
    }
}

/* Auth Page Styles - Split Screen Premium */
.auth-page {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-wrapper {
    display: flex;
    max-width: 1180px;
    width: 95%;
    height: 90vh;
    max-height: 740px;
    min-height: 540px;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.auth-form-side {
    flex: 1;
    background: var(--auth-bg-grad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centered content since logo is gone */
    padding: 2.5rem 3.5rem;
    position: relative;
    z-index: 2;
    overflow-y: auto;
}

.auth-image-side {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    display: block;
}

.auth-image-side div.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.auth-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-image-side .logo-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-image-side .logo-overlay img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.auth-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.logo-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 1.5rem;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 850;
    color: var(--primary-navy);
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    padding-left: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--input-bg);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    background: #fff;
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 5;
    background: none;
    border: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-navy);
}

.btn-auth-submit {
    width: 100%;
    background: var(--primary-green);
    color: var(--primary-navy);
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-auth-submit:hover {
    background: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.social-auth {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.7rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: var(--bg-surface);
    border-color: var(--text-muted);
}

.btn-social img {
    height: 20px;
    width: auto;
}

.auth-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer-wrap {
    margin-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 0.8rem;
    text-align: center;
}

.auth-footer a {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Floating UI Widgets for Image Side */
.ui-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.widget-job {
    top: 10%;
    right: 15%;
    border-left: 6px solid var(--primary-green);
}

.widget-history {
    bottom: 15%;
    left: 10%;
    max-width: 280px;
}

@media (max-width: 1024px) {
    .auth-image-side {
        display: none;
    }

    .auth-form-side {
        padding: 2rem 8%;
    }
}

/* Portal Layout */
.portal-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--portal-bg);
}

.portal-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    /* Navy Sidebar */
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-brand {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo-container {
    height: 38px;
    width: auto;
    display: flex;
    align-items: center;
}

.brand-logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.user-profile-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ups-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ups-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-green);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    font-size: 0.75rem;
    overflow: hidden;
}

.ups-details {
    flex: 1;
    min-width: 0;
}

.ups-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.ups-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    opacity: 0.8;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.nav-item.active {
    background: var(--primary-green);
    color: var(--primary-navy);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.2);
}

.nav-item.active i {
    opacity: 1;
}

.portal-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2.5rem 4rem;
    background: var(--portal-bg);
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Dashboard Components */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 23, 42, 0.08);
}

.stat-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 850;
    color: var(--primary-navy);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.dashboard-section {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 1.25rem;
    font-weight: 850;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.cargo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cargo-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--border-soft);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cargo-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-xl);
}

.cargo-icon {
    width: 70px;
    height: 70px;
    background: #fbfbfb;
    color: var(--primary-navy);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cargo-card:hover .cargo-icon {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.cargo-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

.cargo-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.price-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-navy);
    background: #f8fafc;
    border: 1px solid var(--border-soft);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
}

/* Premium Tables */
.table-container {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table.portal-table {
    width: 100%;
    border-collapse: collapse;
}

table.portal-table th {
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

table.portal-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.95rem;
    color: var(--text-body);
}

table.portal-table tr:last-child td {
    border-bottom: none;
}

.status-pill {
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
}

.status-active {
    background: #e0f2fe;
    color: #075985;
}

/* Premium Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: #fff;
    max-width: 650px;
    width: 100%;
    max-height: 80vh;
    border-radius: 30px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 850;
    color: var(--primary-navy);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: flex-end;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .portal-sidebar {
        transform: translateX(-100%);
    }

    .portal-main {
        margin-left: 0;
    }

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