/* 
   Sant Roadlines Global Design System
   Sleek Dark Tech Logistics Vibe
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Customized to match logo brand assets */
    --bg-main: #070907;
    --bg-card: rgba(13, 24, 18, 0.45);
    --bg-card-hover: rgba(20, 38, 28, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.14);
    
    --primary: #1E4620; /* Logo Deep Emerald Green */
    --primary-glow: rgba(30, 70, 32, 0.35);
    --primary-hover: #153316;
    
    --secondary: #E2B870; /* Logo Warm Wood Gold Accent */
    --secondary-glow: rgba(226, 184, 112, 0.3);
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Gradients */
    --grad-orange: linear-gradient(135deg, #3A7D44 0%, #1E4620 100%);
    --grad-cyan: linear-gradient(135deg, #E2B870 0%, #C59A5F 100%);
    --grad-dark: linear-gradient(180deg, #090E0A 0%, #040604 100%);
    --grad-glow: radial-gradient(circle, rgba(30, 70, 32, 0.2) 0%, rgba(226, 184, 112, 0.05) 50%, rgba(0,0,0,0) 100%);
    
    /* Layout Tokens */
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    background-image: var(--grad-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background glowing blur points for depth */
body::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.08) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Typography utilities */
.text-gradient-orange {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: var(--grad-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Glassmorphism elements */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 90, 31, 0.05);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 9, 19, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(4, 6, 12, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Premium Typography Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    display: block;
    margin-top: -4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--grad-orange);
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 31, 0.5);
    background: linear-gradient(135deg, #FF8C5A 0%, #FF6B35 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: linear-gradient(to bottom, rgba(6,9,19,0.3) 0%, rgba(6,9,19,1) 90%), url('assets/hero_truck.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(255, 90, 31, 0.08), transparent 50%),
                linear-gradient(to bottom, rgba(6, 9, 19, 0.4) 0%, rgba(6, 9, 19, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.badge {
    background: rgba(255, 90, 31, 0.1);
    border: 1px solid rgba(255, 90, 31, 0.25);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 25px;
}

.badge-cyan {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--secondary);
}

.hero h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Quick Tracking Input on Hero */
.quick-track-container {
    max-width: 550px;
}

.quick-track {
    display: flex;
    background: rgba(13, 19, 36, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.quick-track:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 90, 31, 0.15);
}

.quick-track input {
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 20px;
    color: var(--text-primary);
    flex-grow: 1;
    font-size: 15px;
}

.quick-track input::placeholder {
    color: var(--text-muted);
}

.quick-track button {
    padding: 12px 24px;
}

/* Section Common Styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-top: 10px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Info Cards / Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 90, 31, 0.08);
    border: 1px solid rgba(255, 90, 31, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 8px 20px var(--primary-glow);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-features li svg {
    color: var(--secondary);
    width: 16px;
    height: 16px;
}

/* Dashboard Interactive Area (Quote & Tracking) */
.dashboard-section {
    background: linear-gradient(180deg, rgba(6, 9, 19, 0.2) 0%, rgba(13, 19, 36, 0.5) 50%, rgba(6, 9, 19, 0.2) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

/* Interactive Quote Calculator Card */
.calc-card {
    padding: 35px;
    background: rgba(10, 15, 29, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    background: rgba(6, 9, 19, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

/* Styled Weight Slider */
.weight-slider-container {
    margin-bottom: 25px;
}

.slider-val-box {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.slider-val-box span {
    color: var(--secondary);
}

.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #1E293B;
    outline: none;
    margin: 15px 0;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--secondary-glow);
    transition: var(--transition);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Calculator Visual Output */
.calc-output {
    background: rgba(0, 240, 255, 0.03);
    border: 1px dashed rgba(0, 240, 255, 0.25);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.calc-output-item {
    display: flex;
    flex-direction: column;
}

.calc-output-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.calc-output-value {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
}

.calc-output-value.price {
    color: var(--primary);
}

/* Interactive Tracking Card */
.tracker-card {
    padding: 35px;
    border-color: rgba(255, 90, 31, 0.15);
}

.tracker-search {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tracker-search input {
    background: rgba(6, 9, 19, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 15px;
    flex-grow: 1;
    outline: none;
    transition: var(--transition);
}

.tracker-search input:focus {
    border-color: var(--primary);
}

.tracker-search button {
    border-radius: 10px;
    padding: 0 20px;
}

/* Custom Visual Timeline for Cargo status */
.timeline {
    margin-top: 30px;
    display: none; /* Shown dynamically via JS */
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.timeline-info h4 {
    font-size: 16px;
}

.timeline-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.tracking-status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
}

.timeline-steps {
    position: relative;
    list-style: none;
    padding-left: 30px;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 2px;
    height: calc(100% - 25px);
    background: #1E293B;
}

.timeline-step {
    position: relative;
    margin-bottom: 25px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1E293B;
    border: 4px solid var(--bg-main);
    z-index: 2;
    transition: var(--transition);
}

.timeline-step.active::before {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-step.completed::before {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

.timeline-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.timeline-step.active .timeline-step-title {
    color: var(--text-primary);
}

.timeline-step-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.timeline-step.active .timeline-step-desc {
    color: var(--text-secondary);
}

.timeline-step-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Fleet Showcase / Vehicle slider */
.fleet-section {
    background: var(--bg-main);
}

.fleet-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .fleet-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.fleet-display {
    background: rgba(13, 19, 36, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.fleet-display::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

/* Pure CSS/SVG Dynamic Fleet Truck Rendering */
.truck-svg-canvas {
    width: 100%;
    max-width: 420px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.fleet-specs-card {
    padding: 40px;
}

.fleet-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fleet-tab {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.fleet-tab:hover, .fleet-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.spec-title-group h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.spec-title-group p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 10px;
}

.spec-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.spec-value {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
}

/* About / Stats Highlights */
.about-section {
    position: relative;
    background: linear-gradient(180deg, rgba(6, 9, 19, 1) 0%, rgba(10, 15, 29, 0.4) 100%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-visual {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 400px;
    background: url('assets/warehouse.png') center/cover no-repeat;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
}

.about-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6,9,19,0.8) 0%, transparent 70%);
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 19, 36, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 90, 31, 0.2);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.about-experience-badge h4 {
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
}

.about-experience-badge p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text-primary);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

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

.stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-number span {
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Contact Section & Dynamic Form */
.contact-section {
    background: var(--bg-main);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    margin-top: 35px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 10px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 15px;
}

.contact-detail-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--text-primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Premium Form Panel styling */
.contact-form-panel {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Success Screen (HTML Overlay for visual feedback) */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10B981;
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.form-success-overlay h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.form-success-overlay p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 320px;
}

/* Footer Section */
footer {
    background: #03050B;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

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

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* Responsive navigation drawer for mobile */
.menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    z-index: 101;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #090D16;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px;
        z-index: 100;
        transition: 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .btn-primary.nav-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PORTAL & TYRE MANAGEMENT SYSTEM STYLES
   ========================================================================== */

/* Portal Body & Global Glows */
.portal-body {
    background-color: #050705;
    background-image: radial-gradient(circle at top left, #0d1a10 0%, #040604 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

.portal-glow-1 {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(30, 70, 32, 0.15) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
}

.portal-glow-2 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(226, 184, 112, 0.08) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
}

/* ==================== LOGIN SCREEN ==================== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: rgba(13, 24, 18, 0.65);
    border: 1px solid rgba(30, 70, 32, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(30, 70, 32, 0.15);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.login-card:hover {
    border-color: rgba(226, 184, 112, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(226, 184, 112, 0.1);
    transform: translateY(0); /* Lock login card */
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.portal-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.portal-logo-img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(30, 70, 32, 0.5));
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px;
    border: 2px solid var(--secondary);
}

.portal-logo h2 {
    font-size: 26px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.input-wrapper input, .styled-select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: rgba(4, 6, 4, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.input-wrapper input:focus, .styled-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(226, 184, 112, 0.15);
    background: rgba(0, 0, 0, 0.9);
}

.input-wrapper input:focus + i {
    color: var(--secondary);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 10px;
    gap: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.support-mail {
    margin-top: 5px;
    color: var(--text-secondary);
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #FCA5A5;
}

/* ==================== MAIN DASHBOARD LAYOUT ==================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: transparent;
}

/* Sidebar Styling */
.sidebar {
    background: rgba(9, 14, 10, 0.85);
    border-right: 1px solid rgba(30, 70, 32, 0.2);
    border-radius: 0; /* Align perfectly to the side */
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar:hover {
    border-color: rgba(30, 70, 32, 0.2); /* Prevent float effects */
    transform: none;
    box-shadow: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.sidebar-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid var(--secondary);
}

.sidebar-brand h3 {
    font-size: 18px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    width: 100%;
}

.nav-item i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-item:hover {
    background: rgba(30, 70, 32, 0.15);
    color: var(--text-primary);
}

.nav-item:hover i {
    color: var(--secondary);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(30, 70, 32, 0.4) 0%, rgba(30, 70, 32, 0.8) 100%);
    border: 1px solid rgba(30, 70, 32, 0.6);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(30, 70, 32, 0.2);
}

.nav-item.active i {
    color: var(--secondary);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid var(--secondary);
}

.profile-info h4 {
    font-size: 13px;
    font-weight: 600;
}

.profile-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.logout-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logout-btn:hover {
    color: #EF4444;
}

/* Main Content Area */
.main-content {
    padding: 40px;
    overflow-y: auto;
    height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 40px;
    border-radius: 16px;
    border: 1px solid rgba(30, 70, 32, 0.2);
    background: rgba(13, 24, 18, 0.4);
}

.dashboard-header:hover {
    transform: none; /* Lock dashboard header */
    box-shadow: none;
}

.header-left h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.header-left p {
    font-size: 13px;
    color: var(--text-secondary);
}

.date-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

/* Stats Counter Grid */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.counter-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(13, 24, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.counter-card:hover {
    border-color: rgba(30, 70, 32, 0.3);
}

.counter-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-icon i {
    width: 24px;
    height: 24px;
}

.bg-green-glow {
    background: rgba(30, 70, 32, 0.2);
    border: 1px solid rgba(30, 70, 32, 0.4);
    color: #4ADE80;
}

.bg-gold-glow {
    background: rgba(226, 184, 112, 0.15);
    border: 1px solid rgba(226, 184, 112, 0.3);
    color: var(--secondary);
}

.bg-blue-glow {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
}

.bg-red-glow {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.counter-data {
    display: flex;
    flex-direction: column;
}

.counter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-data h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 4px 0;
}

.counter-trend {
    font-size: 11px;
    font-weight: 500;
}

.green-trend { color: #4ADE80; }
.gold-trend { color: var(--secondary); }
.blue-trend { color: #60A5FA; }
.red-trend { color: #F87171; }

/* Paneling & Tables */
.panel {
    background: rgba(13, 24, 18, 0.45);
    border: 1px solid rgba(30, 70, 32, 0.15);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.panel:hover {
    border-color: rgba(30, 70, 32, 0.25);
    transform: none; /* Lock standard panels */
    box-shadow: none;
}

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

.panel-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.panel-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: -5px;
    margin-bottom: 25px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Quick Actions Op stack */
.quick-ops {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.op-button {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.op-button:hover {
    background: rgba(30, 70, 32, 0.15);
    border-color: rgba(30, 70, 32, 0.3);
    transform: translateY(-2px);
}

.op-button i {
    width: 24px;
    height: 24px;
}

.op-button h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.op-button p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Table responsiveness & details */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: rgba(30, 70, 32, 0.25);
    color: var(--text-primary);
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(30, 70, 32, 0.2);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table tbody tr:hover td {
    background: rgba(30, 70, 32, 0.08);
    color: #fff;
}

.loading-placeholder {
    text-align: center;
    padding: 40px !important;
    font-style: italic;
    color: var(--text-muted);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge-pos {
    background: rgba(96, 165, 250, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.badge-old {
    background: rgba(248, 113, 113, 0.15);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-dest {
    background: rgba(226, 184, 112, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(226, 184, 112, 0.3);
}

.badge-claim {
    background: rgba(251, 146, 60, 0.15);
    color: #FB923C;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Toolbar & Filters */
.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

.search-box input {
    width: 100%;
    padding: 11px 15px 11px 40px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.5);
}

.filter-group {
    display: flex;
    gap: 12px;
}

.filter-group select, .styled-select {
    padding: 11px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus, .filter-group select:hover {
    border-color: rgba(30, 70, 32, 0.5);
    color: #fff;
}

/* ==================== FORMS AND PORTAL INPUTS ==================== */
.max-width-form {
    max-width: 850px;
    margin: 0 auto;
}

.portal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-12 { grid-column: span 12; }

.portal-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.portal-form input[type="text"],
.portal-form input[type="number"],
.portal-form input[type="date"],
.portal-form select,
.portal-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(226, 184, 112, 0.1);
}

.portal-form select:disabled {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.03);
    cursor: not-allowed;
}

.input-hint {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.portal-form textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    margin-top: 10px;
}

/* Photo upload slot styling */
.photos-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.photo-upload-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.photo-upload-card:hover {
    border-color: var(--secondary);
    background: rgba(30, 70, 32, 0.08);
}

.photo-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.photo-label i {
    width: 14px;
    height: 14px;
    color: var(--secondary);
}

.preview-slot {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.camera-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
}

.photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-upload {
    background: rgba(30, 70, 32, 0.2);
    border: 1px solid rgba(30, 70, 32, 0.5);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-upload:hover {
    background: var(--primary);
    border-color: var(--secondary);
}

.photo-input {
    display: none; /* hidden native selector */
}

/* ==================== INTERACTIVE TRUCK AXLE MAPPING ==================== */
.fleet-selector-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.fleet-selector-bar label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.styled-select {
    padding: 10px 40px 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    max-width: 350px;
}

.fleet-axle-map-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.truck-map-card {
    width: 100%;
    max-width: 750px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(30, 70, 32, 0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 30px rgba(30, 70, 32, 0.05);
    position: relative;
}

.truck-cab {
    background: linear-gradient(135deg, rgba(30, 70, 32, 0.35) 0%, rgba(13, 24, 18, 0.6) 100%);
    border: 2px solid rgba(30, 70, 32, 0.6);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Steering Cabin Plate styling */
.truck-cab::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 15px;
    background: #000;
    border-radius: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cab-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(226, 184, 112, 0.3);
}

.axle-tag {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: 4px;
}

.truck-body-chassis {
    border-left: 4px solid #1E293B;
    border-right: 4px solid #1E293B;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 30px 10px;
    position: relative;
}

.chassis-spacer {
    height: 60px;
    position: relative;
}

.chassis-spacer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: #1e293b;
}

.chassis-spacer.small {
    height: 35px;
}

.truck-axle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.axle-shaft {
    flex-grow: 1;
    height: 12px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.axle-shaft::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.axle-shaft span {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -30px;
    position: absolute;
    white-space: nowrap;
}

.axle-wheel {
    width: 150px;
    height: 85px;
    background: rgba(6, 9, 6, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.axle-wheel.empty {
    border: 2px dashed rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.02);
    color: #F87171;
    cursor: not-allowed;
}

.axle-wheel.fitted {
    border-color: rgba(30, 70, 32, 0.6);
    background: rgba(13, 24, 18, 0.85);
}

.axle-wheel.fitted:hover {
    border-color: var(--secondary);
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(226, 184, 112, 0.15), 0 0 10px rgba(30, 70, 32, 0.2);
}

.wheel-pos {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.wheel-serial {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 3px 0;
}

.wheel-brand {
    font-size: 9px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fitment-action-hint {
    position: absolute;
    bottom: 5px;
    font-size: 8px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transition: var(--transition);
}

.axle-wheel.fitted:hover .fitment-action-hint {
    opacity: 1;
}

.fitment-action-hint i {
    width: 8px;
    height: 8px;
}

.axle-wheel-dual {
    display: flex;
    gap: 8px;
}

.axle-wheel-dual .axle-wheel {
    width: 105px;
    height: 85px;
}

/* ==================== SLIDING POPUP MODALS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 4, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    animation: fadeIn 0.3s ease-out;
}

.modal-card {
    width: 100%;
    max-width: 650px;
    background: rgba(13, 24, 18, 0.95);
    border: 1px solid rgba(226, 184, 112, 0.2);
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 30px rgba(30, 70, 32, 0.2);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 20px;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.modal-close:hover {
    color: #fff;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    margin-top: 25px;
}

/* ==================== TAB: DATA REPORTS ==================== */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.report-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: rgba(13, 24, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.report-card:hover {
    border-color: rgba(226, 184, 112, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.report-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.report-icon i {
    width: 28px;
    height: 28px;
}

.report-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.report-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Loader Spinners and Micro Animations */
.loader-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,0.1);
    border-top: 2px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* Mobile Responsiveness for Portal */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none; /* simple hidden for mobile mockup, or we can make toggle drawer */
    }
    .main-content {
        padding: 20px;
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .photos-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* Fleet Management specific styles */
.vehicle-tyres-setup-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 5px;
}

.red-trend {
    color: #F87171 !important;
}

.red-trend:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #EF4444 !important;
    color: #fff !important;
}


