/* =====================================================
   🎨 BOSS SHIPPING - PROFESSIONAL LIGHT DESIGN v2.1
   Clean, Animated & Highly Professional Interface
   ===================================================== */

/* ===== ROOT VARIABLES - PROFESSIONAL LIGHT THEME ===== */
:root {
    /* Professional Blue Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --premium-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    
    /* Professional Colors */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-dark: #334155;
    --text-light: #64748b;
    
    /* Professional Shadows */
    --shadow-sm: 0 2px 10px rgba(37, 99, 235, 0.08);
    --shadow-md: 0 8px 30px rgba(37, 99, 235, 0.12);
    --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.15);
    --shadow-xl: 0 30px 90px rgba(37, 99, 235, 0.2);
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #dbeafe 100%);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Simplified Background - Smooth & Fast */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(224, 231, 255, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ===== CARD STYLES - SMOOTH & FAST ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
}

/* ===== HEADER - OPTIMIZED ===== */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.main-nav {
    padding: 20px 0;
}

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

/* Logo - Simple & Clean */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
    border-radius: 10px;
}

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

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

/* Action Buttons */
.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-outline,
.btn-primary {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(37, 99, 235, 0.3);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    opacity: 0.95;
}

/* Navigation Call Button */
.nav-call-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-call-btn:hover {
    transform: translateY(-2px);
}

.nav-call-btn i {
    animation: phoneRing 2s infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

/* ===== HERO SECTION - ULTRA MODERN ===== */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Simplified Hero Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.stat:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TRACKING SECTION - GLASSMORPHISM ===== */
.tracking-section {
    padding: 100px 0;
    position: relative;
}

.search-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    text-align: center;
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.search-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.search-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 60px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
}

#containerInput {
    flex: 1;
    padding: 18px 30px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

#containerInput::placeholder {
    color: var(--text-light);
}

#containerInput:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

#trackBtn {
    padding: 18px 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

#trackBtn:hover {
    opacity: 0.95;
}

#trackBtn i {
    font-size: 1.2rem;
}

/* Search Features - Animated Icons */
.search-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
}

.feature i {
    font-size: 1.5rem;
    color: #2563eb;
}

.feature:hover i {
    color: #1e40af;
}

/* ===== TRACKING DETAILS - OPTIMIZED ===== */
.tracking-details {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    padding: 50px;
    margin: 50px 0;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

/* Error Message Styles */
.error-message {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 24px;
    padding: 50px;
    margin: 50px 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
    animation: slideDown 0.3s ease;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message p {
    font-size: 1.1rem;
    color: #991b1b;
    margin: 10px 0;
    line-height: 1.6;
}

.error-message .btn-primary {
    margin-top: 30px;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.tracking-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    flex-wrap: wrap;
    line-height: 1.4;
}

.tracking-header h2 span {
    color: #2563eb;
    font-weight: 900;
    word-break: break-all;
}

.tracking-header h2::before {
    content: '';
    width: 5px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

/* PDF Download and Print Buttons */
.tracking-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-download,
.btn-view,
.btn-print {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-download {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-download:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-view {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

.btn-view:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-print {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-print:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-download i,
.btn-view i,
.btn-print i {
    font-size: 1.1rem;
}

.btn-download:active,
.btn-view:active,
.btn-print:active {
    transform: translateY(0);
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-left: 4px solid var(--primary-color);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    transition: box-shadow 0.2s ease;
}

.info-card:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.route-info,
.product-info,
.pol-pod-info,
.vessel-voyage-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    color: var(--text-dark);
}

.route-section,
.eta-section,
.product-section,
.hsn-section,
.pol-section,
.pod-section,
.vessel-section,
.voyage-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.route-section i,
.eta-section i,
.product-section i,
.hsn-section i,
.pol-section i,
.pod-section i,
.vessel-section i,
.voyage-section i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 40px;
}

.route-section label,
.eta-section label,
.product-section label,
.hsn-section label,
.pol-section label,
.pod-section label,
.vessel-section label,
.voyage-section label {
    font-weight: 700;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.route-path,
.eta-date,
.product-details,
.hsn-code,
.pol-details,
.pod-details,
.vessel-details,
.voyage-details {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.2rem;
}

/* ===== MOVEMENTS TABLE - MODERN DESIGN ===== */
.movements-section {
    margin-top: 40px;
}

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

.movements-header h3 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.movements-header h3::before {
    content: '🚚';
    font-size: 2rem;
}

.movements-header h3 span {
    color: #2563eb;
    font-weight: 800;
    word-break: break-all;
}

.email-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.toggle {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: all var(--transition-normal);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: var(--primary-gradient);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.movements-table {
    overflow-x: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 15px;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

tr {
    transition: all var(--transition-normal);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.highlighted-row td {
    background: rgba(247, 151, 30, 0.15) !important;
    border-left: 4px solid #2563eb;
    font-weight: 600;
}

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

.ship-icon {
    color: #2563eb;
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION - PREMIUM CARDS ===== */
.services-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 25px;
    padding: 45px 35px;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.service-card li {
    padding: 10px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card .btn-outline {
    width: 100%;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.service-card:hover .btn-outline {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}


/* Main Content */
.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    max-width: 300px;
    height: 250px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.visual-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.visual-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.visual-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Simple Stats */
.about-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.number-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    transition: box-shadow 0.2s ease;
}

.number-item:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.number-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.number-item p {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

/* Simple Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    transition: box-shadow 0.2s ease;
}

.feature-item:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.feature-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== CONTACT SECTION - IMPROVED ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(224, 231, 255, 0.5) 100%);
    position: relative;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Contact Left Side */
.contact-left .contact-list { 
    display: grid; 
    gap: 25px; 
}

.contact-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    padding: 25px;
    transition: box-shadow 0.2s ease;
}

.contact-line:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.contact-line-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.contact-line-body h4 { 
    margin: 0 0 8px 0; 
    font-size: 1.2rem; 
    font-weight: 700;
    color: var(--text-dark); 
}

.contact-line-body p {
    margin: 8px 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.contact-link { 
    color: #2563eb; 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-link:hover { 
    color: #1e40af;
    text-decoration: underline; 
}

.contact-hint { 
    display: block;
    margin-top: 8px;
    color: var(--text-light); 
    font-size: 0.9rem;
    font-style: italic;
}

/* Contact Right Side - Form */
.contact-right .contact-form { 
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.contact-right .contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-hint { 
    margin-top: 15px; 
    color: var(--text-light); 
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Address Title Styling */
.address-title {
    display: inline-block;
    margin: 12px 0 6px;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.contact-line-body .address-title {
    color: var(--primary-color);
    display: inline-block;
    margin: 8px 0 4px 0;
}

.footer-address .address-title {
    color: var(--primary-color);
    display: block;
    margin: 15px 0 8px 0;
    font-size: 0.9rem;
}

.contact-card span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-form-content {
    display: grid;
    gap: 20px;
}

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

.contact-form-content input,
.contact-form-content textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.contact-form-content input::placeholder,
.contact-form-content textarea::placeholder {
    color: var(--text-light);
}

.contact-form-content input:focus,
.contact-form-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-form-content textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form-content .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
    font-size: 1.05rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== FOOTER - IMPROVED DESIGN ===== */
.main-footer {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-top: 3px solid var(--primary-color);
    padding: 80px 0 30px;
    margin-top: 100px;
    color: white;
}

/* Footer Top Section */
.footer-top { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 50px; 
    margin-bottom: 50px; 
}

/* Footer Brand Section */
.footer-top .brand { 
    padding-right: 20px; 
}

/* Footer Column Headings */
.footer-col h4 { 
    color: white; 
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Lists */
.footer-col ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

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

.footer-col ul li a { 
    color: rgba(255, 255, 255, 0.7); 
    text-decoration: none; 
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover { 
    color: white;
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact li { 
    display: flex; 
    gap: 12px; 
    align-items: flex-start; 
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i { 
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-contact span {
    line-height: 1.6;
}

/* Footer Address */
.footer-address { 
    color: rgba(255, 255, 255, 0.7); 
    line-height: 1.8; 
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
}

.modal-content {
    background: rgba(26, 26, 46, 0.95);
    margin: 5% auto;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--text-dark);
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 40px 35px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.form-group input::placeholder {
    color: rgba(100, 116, 139, 0.5);
}

/* File Upload Styling */
.form-group input[type="file"] {
    padding: 12px 15px;
    background: rgba(248, 250, 252, 0.9);
    cursor: pointer;
    font-size: 0.95rem;
}

.form-group input[type="file"]:hover {
    background: rgba(241, 245, 249, 0.9);
    border-color: var(--primary-color);
}

.file-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 15px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.file-hint i {
    font-size: 1rem;
}

/* Upload BL Later Checkbox */
.checkbox-container {
    display: block;
    cursor: pointer;
    padding: 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    cursor: pointer;
    transform: scale(1.2);
    accent-color: #f59e0b;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #92400e;
    font-size: 1.05rem;
}

.checkbox-label i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.checkbox-hint {
    display: block;
    margin-top: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #92400e;
    line-height: 1.5;
    border-left: 3px solid #f59e0b;
}

.form-group.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

/* ===== BEAUTIFUL LOGIN MODAL ===== */
.login-modal {
    max-width: 450px !important;
    background: white !important;
    border: none !important;
    box-shadow: 0 40px 100px rgba(37, 99, 235, 0.3) !important;
}

.login-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    z-index: 10;
}

.login-modal .close:hover {
    color: var(--primary-color);
}

.login-modal-content {
    padding: 50px 40px;
}

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

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.login-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
    font-size: 1rem;
}

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

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

.input-icon {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 55px !important;
    border: 2px solid rgba(37, 99, 235, 0.15) !important;
    background: rgba(248, 250, 252, 0.8) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    transition: all var(--transition-normal);
}

.input-wrapper input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

.input-wrapper input::placeholder {
    color: var(--text-light) !important;
}

.btn-login {
    width: 100%;
    padding: 18px 30px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
}

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

.btn-login i {
    font-size: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-footer i {
    color: var(--success-color);
}

/* ===== QR CODE MODAL STYLES ===== */
.qr-modal {
    max-width: 500px !important;
    background: white !important;
    border: none !important;
    box-shadow: 0 40px 100px rgba(37, 99, 235, 0.3) !important;
}

.qr-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    z-index: 10;
}

.qr-modal .close:hover {
    color: var(--primary-color);
}

.qr-modal-content {
    padding: 50px 40px;
}

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

.qr-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.qr-icon i {
    font-size: 2.5rem;
    color: white;
}

.qr-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.qr-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 20px;
    margin-bottom: 30px;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
}

#qrcode img,
#qrcode canvas {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.qr-instructions {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.qr-instructions p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 8px 0;
}

.qr-instructions i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.qr-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.qr-actions .btn-primary,
.qr-actions .btn-secondary {
    flex: 1;
    min-width: 180px;
    justify-content: center;
    padding: 14px 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard {
    background: transparent;
    min-height: 100vh;
    padding: 50px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 30px;
    padding: 50px 60px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

.dashboard-title h1 {
    color: var(--text-dark);
    font-size: 2.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.dashboard-title h1 i {
    font-size: 2.5rem;
}

.dashboard-title p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-left: 65px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 24px;
    padding: 40px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.stat-card:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(247, 151, 30, 0.35);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Inline Edit Panel Styles */
.inline-edit-panel {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.inline-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
}

.inline-edit-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.inline-edit-header h2 i {
    color: var(--primary-color);
}

.btn-close {
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.inline-edit-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.inline-edit-body::-webkit-scrollbar {
    width: 8px;
}

.inline-edit-body::-webkit-scrollbar-track {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
}

.inline-edit-body::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2);
    border-radius: 10px;
}

.inline-edit-body::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.3);
}

.inline-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
}

.inline-edit-actions .btn-cancel {
    padding: 14px 28px;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 2px solid rgba(100, 116, 139, 0.2);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-edit-actions .btn-cancel:hover {
    background: rgba(100, 116, 139, 0.2);
    transform: translateY(-2px);
}

.inline-edit-actions .btn-success {
    padding: 14px 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.inline-edit-actions .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.inline-edit-actions .btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Table Styles */
.data-table-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
    overflow-x: auto;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.table-header h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    padding: 14px 28px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 1rem;
    min-width: 300px;
    transition: all var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Data Table Styling */
.data-table-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.data-table-container thead th {
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 20px;
    text-align: left;
    border: none;
}

.data-table-container thead th:first-child {
    border-radius: 12px 0 0 12px;
}

.data-table-container thead th:last-child {
    border-radius: 0 12px 12px 0;
}

.data-table-container tbody tr {
    background: white;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.data-table-container tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.data-table-container tbody td {
    padding: 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border: none;
    vertical-align: middle;
}

.data-table-container tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.data-table-container tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

.btn-qr,
.btn-edit,
.btn-delete {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-qr {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-qr-bl {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-qr-bl:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.btn-qr-bl:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-edit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Status Toggle */
.status-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-toggle-slider {
    position: relative;
    width: 55px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.status-toggle-checkbox:checked + .status-toggle-slider {
    background: var(--primary-gradient);
}

.status-toggle-slider:before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.status-toggle-checkbox:checked + .status-toggle-slider:before {
    transform: translateX(27px);
}

.status-toggle-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Quick Add Section */
.quick-add-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 30px;
    padding: 50px;
    margin: 50px 0;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
}

.quick-add-header {
    text-align: center;
    margin-bottom: 50px;
}

.quick-add-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.quick-add-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

.form-section {
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 35px;
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-section h3 i {
    color: #2563eb;
    font-size: 1.4rem;
}

/* ===== MULTIPLE CONTAINERS SECTION ===== */
.containers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.containers-header label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.containers-header label i {
    color: #2563eb;
}

.btn-add-container {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-container:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.containers-list {
    margin-bottom: 15px;
}

.container-row {
    margin-bottom: 15px;
    animation: slideIn 0.3s ease;
}

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

.container-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    transition: all var(--transition-normal);
}

.container-input-group:hover {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(37, 99, 235, 0.25);
}

.container-input-group .form-group {
    margin-bottom: 0;
}

.btn-remove-container {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.btn-remove-container:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #dc2626;
    transform: scale(1.05);
}

.containers-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #1e40af;
    font-size: 0.9rem;
    margin-top: 10px;
}

.containers-hint i {
    color: #3b82f6;
    font-size: 1rem;
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== MULTIPLE CONTAINERS TRACKING ===== */
.bl-summary {
    margin-top: 15px;
    padding: 15px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    color: #1e40af;
    font-size: 1rem;
}

.bl-summary i {
    margin-right: 8px;
}

.shared-info {
    margin-bottom: 30px;
}

.shared-info h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shared-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.shared-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.shared-info-item label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shared-info-item label i {
    color: #2563eb;
}

.shared-info-item span {
    color: var(--text-light);
    font-size: 1rem;
}

.containers-tracking-list {
    margin-top: 30px;
}

.containers-tracking-list > h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.container-tracking-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.container-tracking-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.container-tracking-card.expanded {
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.container-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(248, 250, 252, 0.6);
    transition: background var(--transition-normal);
    position: relative;
}

.container-card-header:hover {
    background: rgba(248, 250, 252, 0.9);
}

.container-card-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.container-number-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.container-id-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.container-card-toggle {
    color: #2563eb;
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.container-tracking-card.expanded .container-card-toggle {
    transform: rotate(180deg);
}

.container-card-body {
    display: none;
    padding: 20px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.container-tracking-card.expanded .container-card-body {
    display: block;
}

.container-movements h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.movements-table-wrapper {
    overflow-x: auto;
}

.container-movements-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.container-movements-table thead {
    background: rgba(37, 99, 235, 0.1);
}

.container-movements-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.container-movements-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.container-movements-table tr.highlighted-row {
    background: rgba(255, 193, 7, 0.1);
}

.container-movements-table .no-movements {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 30px;
}

/* ===== CONTAINER MOVEMENTS SECTION ===== */
.movements-container {
    margin-bottom: 25px;
}

.movement-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 15px;
    margin-bottom: 15px;
}

.movement-item:hover {
    background: rgba(248, 250, 252, 0.95);
}

.movement-item input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-normal);
    font-family: inherit;
}

.movement-item input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.movement-item input::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.movement-remove-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.movement-remove-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

.movement-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.movement-actions .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.movement-actions .btn-outline:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.movement-actions .btn-secondary {
    background: rgba(107, 114, 128, 0.1);
    border: 2px solid rgba(107, 114, 128, 0.2);
    color: #6b7280;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.movement-actions .btn-secondary:hover {
    background: rgba(107, 114, 128, 0.15);
}

/* Empty state for movements */
.movements-container:empty::after {
    content: "No movements added yet. Click 'Add Movement' to get started.";
    display: block;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 40px 20px;
    background: rgba(248, 250, 252, 0.5);
    border: 2px dashed rgba(37, 99, 235, 0.2);
    border-radius: 15px;
    margin: 20px 0;
}

/* Date input styling */
.movement-item input[type="date"] {
    position: relative;
}

.movement-item input[type="date"]::-webkit-calendar-picker-indicator {
    color: #2563eb;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.movement-item input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

.btn-success {
    background: var(--success-gradient);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid rgba(37, 99, 235, 0.25);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

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

/* ===== MOBILE HEADER - OPTIMIZED ===== */
.mobile-header {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.mobile-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-logo-text h1 {
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.mobile-logo-text span {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.mobile-login-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-login-btn:active {
    opacity: 0.9;
}

/* Mobile Navigation - Optimized */
.horizontal-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
    position: sticky;
    top: 74px;
    z-index: 999;
    display: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.horizontal-nav-content {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.nav-item i {
    font-size: 1.3rem;
}

.nav-login {
    background: transparent;
    border: none;
    position: relative;
}

.nav-login i {
    color: var(--primary-color);
}

.nav-login span {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-login:hover {
    background: rgba(37, 99, 235, 0.15) !important;
}

.nav-login::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Error Message */
.error-message {
    background: rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: var(--text-dark);
}

.error-icon {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.error-message p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Notification Card */
.notification-card {
    background: rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-content i {
    font-size: 2.5rem;
    color: #ff6b6b;
}

.notification-content p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.notification-sub {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-notification {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-notification:hover {
    opacity: 0.95;
}

/* Utility Classes */
.fade-in {
    opacity: 1;
}

.no-movements {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    font-style: italic;
}

/* Loading */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== MOBILE RESPONSIVE - OPTIMIZED ===== */
@media (max-width: 768px) {
    /* Hide desktop header, show mobile header + nav */
    .main-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .horizontal-nav {
        display: block;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Hero */
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }
    
    .stat {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    /* Search Section - Mobile Optimized */
    .search-section {
        padding: 35px 20px;
        border-radius: 20px;
        margin: 0 -5px;
    }
    
    .search-section h2 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }
    
    .search-section p {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 12px;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    #containerInput {
        padding: 18px 20px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 12px;
        border: 2px solid rgba(37, 99, 235, 0.2);
        background: white;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    }
    
    #containerInput:focus {
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    }
    
    #trackBtn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        font-size: 1.05rem;
        min-height: 52px;
        border-radius: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    .search-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 25px;
    }
    
    .feature {
        flex-direction: column;
        font-size: 0.8rem;
        padding: 15px 8px;
        gap: 8px;
        text-align: center;
        background: rgba(37, 99, 235, 0.05);
        border-radius: 12px;
    }
    
    .feature i {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .feature span {
        line-height: 1.3;
    }
    
    /* Error Message - Mobile */
    .error-message {
        padding: 30px 20px;
        margin: 20px 0;
        border-radius: 20px;
    }
    
    .error-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .error-message h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .error-message p {
        font-size: 1rem;
    }
    
    /* Tracking Details - Mobile Optimized */
    .tracking-details {
        padding: 25px 15px;
        border-radius: 20px;
        margin: 20px 0;
    }
    
    .tracking-header {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 0 5px;
    }
    
    .tracking-header h2 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 0;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .tracking-header h2::before {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
    }
    
    .tracking-header h2 span {
        display: block;
        margin-top: 8px;
        margin-left: 0;
        font-size: 1.3rem;
        color: #2563eb;
        font-weight: 900;
        word-break: break-all;
        line-height: 1.4;
    }
    
    .tracking-header h2::before {
        width: 4px;
        height: 28px;
        flex-shrink: 0;
    }
    
    /* Mobile PDF/Print Buttons */
    .tracking-actions {
        width: 100%;
        gap: 10px;
        flex-direction: column;
    }
    
    .btn-download,
    .btn-view,
    .btn-print {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .btn-download span,
    .btn-view span,
    .btn-print span {
        display: inline-block;
        margin-left: 6px;
    }
    
    .btn-download i,
    .btn-view i,
    .btn-print i {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .info-card {
        padding: 20px 15px;
        border-radius: 15px;
        margin: 15px 0;
    }
    
    .route-info,
    .product-info,
    .pol-pod-info,
    .vessel-voyage-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .route-section,
    .eta-section,
    .product-section,
    .hsn-section,
    .pol-section,
    .pod-section,
    .vessel-section,
    .voyage-section {
        gap: 10px;
    }
    
    .route-section i,
    .eta-section i,
    .product-section i,
    .hsn-section i,
    .pol-section i,
    .pod-section i,
    .vessel-section i,
    .voyage-section i {
        font-size: 1.3rem;
        min-width: 30px;
    }
    
    .route-section label,
    .eta-section label,
    .product-section label,
    .hsn-section label,
    .pol-section label,
    .pod-section label,
    .vessel-section label,
    .voyage-section label {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .route-path,
    .eta-date,
    .product-details,
    .hsn-code,
    .pol-details,
    .pod-details,
    .vessel-details,
    .voyage-details {
        font-size: 1rem;
        line-height: 1.4;
        word-break: break-word;
    }
    
    /* Movements Section - Mobile */
    .movements-section {
        margin-top: 25px;
    }
    
    .movements-header {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .movements-header h3 {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 15px;
        display: block;
        line-height: 1.6;
    }
    
    .movements-header h3::before {
        display: inline-block;
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .movements-header h3 span {
        display: block;
        margin-top: 8px;
        margin-left: 0;
        font-size: 1.2rem;
        color: #2563eb;
        font-weight: 900;
        word-break: break-all;
        line-height: 1.5;
    }
    
    .email-toggle {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Services */
    .services-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Dashboard */
    .dashboard {
        padding: 30px 20px;
    }
    
    .dashboard-header {
        padding: 30px 25px;
        border-radius: 24px;
    }
    
    .dashboard-title h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        gap: 15px;
    }
    
    .dashboard-title h1 i {
        font-size: 1.6rem;
    }
    
    .dashboard-title p {
        font-size: 1rem;
        margin-left: 0;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 25px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .stat-info h3 {
        font-size: 2.2rem;
    }
    
    /* Inline Edit Panel - Mobile */
    .inline-edit-panel {
        padding: 25px 20px;
        border-radius: 20px;
        margin-bottom: 25px;
    }
    
    .inline-edit-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .inline-edit-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-close {
        width: 100%;
        justify-content: center;
    }
    
    .inline-edit-body {
        max-height: 60vh;
    }
    
    .inline-edit-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .inline-edit-actions .btn-cancel,
    .inline-edit-actions .btn-success {
        width: 100%;
        justify-content: center;
    }
    
    .data-table-container {
        padding: 30px 20px;
        border-radius: 24px;
    }
    
    .table-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .table-header h2 {
        font-size: 1.6rem;
    }
    
    .search-input {
        width: 100%;
        min-width: 100%;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .btn-qr,
    .btn-qr-bl,
    .btn-edit,
    .btn-delete {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    
    .btn-qr-bl {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .search-input {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Buttons - Mobile Optimized */
    .btn-primary,
    .btn-outline,
    .btn-success,
    .btn-secondary {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .btn-edit,
    .btn-delete {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select {
        min-height: 48px;
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .quick-add-section {
        padding: 35px 20px;
        border-radius: 24px;
    }
    
    .quick-add-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .quick-add-header p {
        font-size: 1rem;
    }
    
    .form-section {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .form-section h3 {
        font-size: 1.3rem;
        gap: 12px;
    }
    
    .form-section h3 i {
        font-size: 1.2rem;
    }
    
    /* Multiple Containers - Mobile */
    .containers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-add-container {
        width: 100%;
        justify-content: center;
    }
    
    .container-input-group {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .btn-remove-container {
        width: 100%;
        justify-content: center;
    }
    
    .containers-hint {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    /* Multiple Containers Tracking - Mobile Optimized */
    .bl-summary {
        font-size: 0.9rem;
        padding: 12px;
        border-radius: 8px;
        margin: 15px 0;
    }
    
    .bl-summary p {
        margin: 0;
        line-height: 1.6;
    }
    
    .shared-info {
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .shared-info h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .shared-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .shared-info-item {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .shared-info-item label {
        font-size: 0.85rem;
    }
    
    .shared-info-item span {
        font-size: 0.95rem;
        word-break: break-word;
    }
    
    /* Container Cards - Mobile */
    .containers-tracking-list {
        margin-top: 20px;
    }
    
    .containers-tracking-list > h3 {
        font-size: 1.2rem;
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .container-tracking-card {
        margin-bottom: 15px;
        border-radius: 12px;
        border-width: 1.5px;
    }
    
    .container-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        padding-right: 45px; /* Space for toggle icon */
    }
    
    .container-card-info {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .container-number-badge {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 8px;
    }
    
    .container-number-badge i {
        font-size: 1.1rem;
    }
    
    .container-id-badge {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 10px 14px;
        border-radius: 6px;
    }
    
    .container-card-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.3rem;
        padding: 5px;
    }
    
    .container-card-body {
        padding: 15px;
        background: rgba(248, 250, 252, 0.5);
    }
    
    .container-movements h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .movements-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    
    .container-movements-table {
        font-size: 0.85rem;
        min-width: 600px; /* Allow horizontal scroll for full data */
    }
    
    .container-movements-table th,
    .container-movements-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .container-movements-table th {
        background: rgba(37, 99, 235, 0.1);
        position: sticky;
        top: 0;
        z-index: 1;
    }
    
    /* View BL Button - Mobile Optimized */
    .tracking-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .tracking-actions .btn-view {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        justify-content: center;
        gap: 12px;
    }
    
    .tracking-actions .btn-view i {
        font-size: 1.2rem;
    }
    
    /* Better Touch Targets for Mobile */
    .container-card-header {
        min-height: 60px;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
    }
    
    /* Smooth Animations on Mobile */
    .container-tracking-card {
        transition: all 0.3s ease;
    }
    
    .container-card-body {
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Container Movements - Mobile */
    .movement-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .movement-item input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .movement-remove-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        justify-self: start;
        margin-top: 10px;
    }
    
    .movement-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .movement-actions .btn-outline,
    .movement-actions .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .movements-container:empty::after {
        padding: 30px 15px;
        font-size: 0.9rem;
    }
    
    /* Contact Section - Mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    
    .contact-line {
        padding: 20px;
        gap: 15px;
    }
    
    .contact-line-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-line-body h4 {
        font-size: 1.1rem;
    }
    
    .contact-right .contact-form {
        padding: 30px 20px;
    }
    
    .contact-right .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-content .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-content input,
    .contact-form-content textarea {
        padding: 14px 18px;
    }
    
    /* Footer - Mobile */
    .main-footer {
        padding: 60px 0 25px;
        margin-top: 60px;
    }
    
    .footer-top { 
        grid-template-columns: 1fr; 
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-logo i {
        font-size: 2.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-address {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        padding-top: 25px;
        margin-top: 25px;
    }
    
    .footer-bottom-content {
        text-align: center;
    }
    
    .footer-bottom-content p {
        font-size: 0.85rem;
    }
    
    /* Table Scroll - Better Mobile */
    .movements-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        margin: 0;
        padding: 0;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    table {
        min-width: 100%;
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
    }
    
    thead {
        display: block;
        background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    }
    
    tbody {
        display: block;
    }
    
    tr {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-bottom: 1px solid #e5e7eb;
    }
    
    th {
        padding: 14px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
        font-weight: 700;
        color: #1e293b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    td {
        padding: 14px 10px;
        font-size: 0.85rem;
        word-break: break-word;
        line-height: 1.5;
        color: #334155;
    }
    
    /* Column widths for better spacing */
    th:first-child,
    td:first-child {
        width: 90px;
        font-weight: 600;
    }
    
    th:nth-child(2),
    td:nth-child(2) {
        width: 100px;
        font-weight: 600;
        color: #2563eb;
    }
    
    th:nth-child(3),
    td:nth-child(3) {
        width: 140px;
    }
    
    th:last-child,
    td:last-child {
        width: 90px;
        text-align: center;
    }
    
    /* Highlighted row - Better visibility on mobile */
    .highlighted-row td {
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
        border-left: 4px solid #2563eb !important;
        font-weight: 700 !important;
        color: #1e40af !important;
        padding-left: 8px !important;
    }
    
    .highlighted-row .ship-icon {
        animation: pulse 1.5s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }
    
    .movements-header h3 {
        font-size: 1.3rem;
    }
    
    .carrier-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }
    
    .ship-icon {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }
    
    /* Better row hover on mobile (touch) */
    tr:active td {
        background: #f1f5f9;
    }
    
    /* Modals - Mobile Optimized */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        border-radius: 20px;
    }
    
    .login-modal-content {
        padding: 40px 25px !important;
    }
    
    .login-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .login-icon i {
        font-size: 2rem !important;
    }
    
    .login-header h2 {
        font-size: 1.6rem !important;
    }
    
    .login-header p {
        font-size: 0.95rem !important;
    }
    
    .btn-login {
        padding: 16px 25px !important;
        font-size: 1rem !important;
    }
    
    /* QR Code Modal - Mobile */
    .qr-modal-content {
        padding: 40px 25px !important;
    }
    
    .qr-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .qr-icon i {
        font-size: 2rem !important;
    }
    
    .qr-header h2 {
        font-size: 1.6rem !important;
    }
    
    .qr-code-container {
        padding: 20px !important;
    }
    
    #qrcode canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .qr-actions {
        flex-direction: column;
    }
    
    .qr-actions .btn-primary,
    .qr-actions .btn-secondary {
        width: 100%;
        min-width: 100%;
    }
    
    .modal-header {
        padding: 20px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    /* Navigation - Mobile */
    .nav-item {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    /* Footer - Mobile */
    .main-footer {
        padding: 60px 0 20px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Error Messages - Mobile */
    .error-message {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .error-message h3 {
        font-size: 1.5rem;
    }
    
    .error-message p {
        font-size: 1rem;
    }
    
    /* About Section - Mobile */
    .about-section {
        padding: 80px 0;
    }
    
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .visual-card {
        height: 200px;
        max-width: 250px;
    }
    
    .visual-card i {
        font-size: 3rem;
    }
    
    .visual-card h4 {
        font-size: 1.3rem;
    }
    
    .about-numbers {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .number-item {
        padding: 25px 15px;
    }
    
    .number-item h3 {
        font-size: 2rem;
    }
    
    .number-item p {
        font-size: 0.9rem;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .feature-item i {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    /* Contact Section - Mobile */
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-form-content .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-content input,
    .contact-form-content textarea {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--text-dark);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

/* Ensure all elements respect box-sizing */
* {
    box-sizing: border-box;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .main-header,
    .horizontal-nav,
    .main-footer,
    .btn-primary,
    .btn-outline {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.1s !important;
    }
}

/* ===== END OF STYLES ===== */

