/* ============================================
   COBA CARGO - MAIN STYLESHEET
   Bright, Colorful, Modern Design
   ============================================ */

:root {
    /* Primary Colors - Vibrant & Energetic */
    --primary: #FF6B35;
    --primary-dark: #E85A28;
    --primary-light: #FF8C5A;
    
    /* Secondary Colors */
    --secondary: #00D4AA;
    --secondary-dark: #00B894;
    --secondary-light: #55EFC4;
    
    /* Accent Colors */
    --accent-blue: #0984E3;
    --accent-purple: #A855F7;
    --accent-pink: #FF6B9D;
    --accent-yellow: #FDCB6E;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Fredoka', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 40px -10px rgba(255, 107, 53, 0.4);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 48px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px -10px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
}

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

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-label.required::after {
    content: ' *';
    color: var(--error);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Searchable Select Dropdown */
.searchable-select {
    position: relative;
    width: 100%;
}

.searchable-select .form-input {
    cursor: text;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.searchable-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.searchable-select-dropdown.show {
    display: block;
}

.searchable-select-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}

.searchable-select-option:last-child {
    border-bottom: none;
}

.searchable-select-option:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.searchable-select-option.selected {
    background: var(--primary);
    color: var(--white);
}

.searchable-select-option.selected:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--gray-700);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* Hero Slideshow */
.hero-slideshow {
    padding-top: 72px;
    position: relative;
    background: var(--gray-900);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 72px);
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeSlide 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 72px);
    object-fit: cover;
    object-position: center;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-800);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 10;
}

.slide-arrow:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
    left: 20px;
}

.slide-arrow.next {
    right: 20px;
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--primary);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Old Hero (kept for reference, can be removed) */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF0F5 50%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

.hero-decoration-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--primary));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-decoration-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--accent-blue));
    bottom: 20%;
    left: 5%;
    animation-delay: 0.5s;
}

.hero-decoration-3 {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    top: 40%;
    left: 0%;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   TRACKING SECTION
   ============================================ */
.tracking-section {
    background: linear-gradient(135deg, #ed2629 0%, #e09e4f 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.tracking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tracking-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tracking-section .section-title {
    color: var(--white);
}

.tracking-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.tracking-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

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

.tracking-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    transition: var(--transition);
}

.tracking-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.tracking-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tracking-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* Tracking Result */
.tracking-result {
    margin-top: 32px;
    display: none;
}

.tracking-result.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.tracking-info {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.tracking-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.tracking-info-label {
    color: var(--gray-500);
    font-weight: 500;
}

.tracking-info-value {
    color: var(--gray-800);
    font-weight: 600;
}

/* Status Timeline */
.status-timeline {
    text-align: left;
    padding-left: 20px;
}

.status-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 24px;
}

.status-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: -8px;
    width: 2px;
    background: var(--gray-200);
}

.status-item:last-child::before {
    display: none;
}

.status-dot {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

.status-item.completed .status-dot {
    background: var(--success);
}

.status-item.current .status-dot {
    background: var(--primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.status-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.status-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.status-time {
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: var(--white);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--gray-50) 0%, transparent 50%);
    pointer-events: none;
}

.features-section .section-title {
    color: var(--gray-900);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.features-section .section-subtitle {
    color: var(--gray-700);
    font-size: 1.15rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-icon.orange { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.feature-icon.green { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }
.feature-icon.blue { background: linear-gradient(135deg, var(--accent-blue), #0073CC); }
.feature-icon.purple { background: linear-gradient(135deg, var(--accent-purple), #9333EA); }
.feature-icon.pink { background: linear-gradient(135deg, var(--accent-pink), #EC4899); }
.feature-icon.yellow { background: linear-gradient(135deg, var(--accent-yellow), #F59E0B); }

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.feature-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: linear-gradient(135deg, #FFF5F0 0%, #F0F8FF 100%);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-tab:hover,
.service-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.service-card-content {
    padding: 28px;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.service-card-desc {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-feature-tag {
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================
   CUSTOMERS SECTION
   ============================================ */
.customers-section {
    background: var(--white);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

@media (max-width: 1200px) {
    .customers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.customer-logo {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.customer-logo img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.customer-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gray-400);
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo span {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 300px;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-400);
}

.footer-contact-item i {
    color: var(--primary);
    width: 20px;
}

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

.footer-copyright {
    color: var(--gray-500);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   ADMIN LAYOUT
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--gray-900);
    color: var(--white);
    padding: 24px 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: visible;
    transition: var(--transition);
    z-index: 1000;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 0 16px 24px;
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 24px;
    position: relative;
}

.sidebar-header .logo {
    font-size: 1.4rem;
    gap: 10px;
}

.sidebar-header .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.sidebar-header .logo span {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    background: none;
}

.sidebar-toggle {
    position: absolute;
    right: -14px;
    top: 32px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: var(--transition);
    font-size: 12px;
    z-index: 1001;
    border: 2px solid var(--white);
}

.sidebar-toggle:hover {
    transform: scale(1.1);
}

.sidebar-nav {
    padding: 0 12px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 250px);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--gray-400);
    border-radius: var(--radius);
    margin-bottom: 4px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item:hover {
    background: var(--gray-800);
    color: var(--white);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.nav-item i {
    width: 20px;
    min-width: 20px;
    text-align: center;
    font-size: 1rem;
}

.nav-item span {
    white-space: nowrap;
}

.sidebar.collapsed .nav-item span {
    display: none;
}

.sidebar.collapsed .sidebar-header .logo span {
    display: none;
}

.sidebar-user {
    padding: 16px;
    border-top: 1px solid var(--gray-800);
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
}

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

.user-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.user-details p {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.sidebar.collapsed .user-details {
    display: none;
}

.sidebar-user .btn {
    font-size: 0.85rem;
    padding: 10px 12px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    background: var(--gray-100);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
}

.content-header {
    background: var(--white);
    padding: 24px 32px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-title h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.content-title p {
    color: var(--gray-500);
    margin-top: 4px;
}

.content-body {
    padding: 32px;
}

/* ============================================
   DASHBOARD CARDS
   ============================================ */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-stats.four-columns {
    grid-template-columns: repeat(4, 1fr);
}

.dashboard-stats.six-columns {
    grid-template-columns: repeat(6, 1fr);
}

.dashboard-stats.six-columns .stat-card {
    padding: 16px;
    gap: 12px;
}

.dashboard-stats.six-columns .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
}

.dashboard-stats.six-columns .stat-value {
    font-size: 1.5rem;
}

.dashboard-stats.six-columns .stat-label {
    font-size: 0.75rem;
}

@media (max-width: 1400px) {
    .dashboard-stats.six-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .dashboard-stats.four-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-stats.six-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-stats.four-columns {
        grid-template-columns: 1fr;
    }
    .dashboard-stats.six-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-icon.orange { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.stat-icon.green { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); }
.stat-icon.blue { background: linear-gradient(135deg, var(--accent-blue), #0073CC); }
.stat-icon.purple { background: linear-gradient(135deg, var(--accent-purple), #9333EA); }

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.stat-period {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    padding: 2px 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: inline-block;
}

/* ============================================
   TABLES
   ============================================ */
.table-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-info {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-select {
    width: auto;
    min-width: 80px;
    padding: 6px 12px;
    font-size: 0.875rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    padding: 0 12px;
    font-size: 0.875rem;
    color: var(--gray-700);
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 0.8rem;
}

.btn-sm i {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
}

.table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.table-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.table-search {
    display: flex;
    gap: 12px;
}

.table-search input {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    min-width: 250px;
}

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

.data-table th {
    background: var(--gray-50);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}

.data-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: none;
    color: var(--gray-700);
    vertical-align: middle;
}

.data-table tr:hover {
    background: var(--gray-50);
}

.data-table .actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

/* Sortable Table Headers */
.data-table th.sortable-header {
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.data-table th.sortable-header:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.data-table th.sortable-header i {
    margin-left: 6px;
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.data-table th.sortable-header:hover i {
    color: var(--primary);
}

/* Sort Icons */
.data-table th[data-sort] {
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.data-table th[data-sort]:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.data-table th .sort-icon {
    margin-left: 6px;
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.data-table th[data-sort]:hover .sort-icon {
    opacity: 1 !important;
    color: var(--primary);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn.edit {
    background: var(--info);
    color: var(--white);
}

.action-btn.delete {
    background: var(--error);
    color: var(--white);
}

.action-btn.view {
    background: var(--secondary);
    color: var(--white);
}

.action-btn.print {
    background: var(--accent-purple);
    color: var(--white);
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Status Badges */
.status-badge {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    box-sizing: border-box;
}

.status-badge.pickup {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.status-badge.on-process,
.status-badge.on_process {
    background: rgba(250, 204, 21, 0.25);
    color: #a16207;
}

.status-badge.depart {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.status-badge.arrive {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.status-badge.delivered {
    background: rgba(147, 51, 234, 0.15);
    color: #7c3aed;
}

.status-badge.cancel {
    background: rgba(0, 0, 0, 0.9);
    color: #ef4444;
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.form-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
}

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

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 24px;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5F0 0%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

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

.login-header .logo {
    justify-content: center;
    margin-bottom: 16px;
}

.login-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-800);
}

.login-header p {
    color: var(--gray-500);
    margin-top: 8px;
}

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

.login-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.login-error.show {
    display: block;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Alert Boxes */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert i {
    margin-top: 2px;
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* ============================================
   PACKAGES TABLE (Koli & Dimensi)
   ============================================ */
.packages-table-wrapper {
    overflow-x: auto;
    margin-bottom: 16px;
}

.packages-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.packages-table th,
.packages-table td {
    padding: 8px 6px;
    text-align: center;
    border: 1px solid var(--gray-300);
}

.packages-table th {
    background: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
}

.packages-table th.dimensi-header {
    background: var(--primary);
}

.packages-table tbody td {
    background: var(--white);
}

.packages-table input {
    width: 100%;
    padding: 6px 4px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
}

.packages-table input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.packages-table input[readonly] {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
}

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

.packages-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-totals {
    display: flex;
    align-items: center;
    gap: 32px;
}

.summary-total-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    text-transform: uppercase;
}

.summary-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    min-width: 50px;
    text-align: center;
}

.add-package-btn {
    padding: 8px 16px;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-package-btn:hover {
    background: var(--secondary-dark);
}

.koli-count {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.remove-row-btn {
    color: var(--error);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

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

/* ============================================
   ACTIVITY LOG
   ============================================ */
.activity-log {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.activity-log-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.activity-log-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.activity-log-body {
    max-height: 500px;
    overflow-y: auto;
}

.activity-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 16px;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.login { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.activity-icon.create { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.activity-icon.update { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.activity-icon.delete { background: rgba(239, 68, 68, 0.1); color: var(--error); }

.activity-content h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.activity-content p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.activity-time {
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ============================================
   PRINT AWB STYLES
   ============================================ */
@media print {
    body * {
        visibility: hidden;
    }
    
    .print-area, .print-area * {
        visibility: visible;
    }
    
    .print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}

.print-awb {
    width: 100%;
    max-width: 800px;
    padding: 32px;
    background: var(--white);
    font-size: 14px;
}

.print-awb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--gray-900);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.print-awb-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: monospace;
}

.print-awb-section {
    margin-bottom: 20px;
}

.print-awb-section h3 {
    background: var(--gray-200);
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

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

.print-awb-row {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 0;
}

.print-awb-label {
    width: 120px;
    color: var(--gray-500);
    font-weight: 500;
}

.print-awb-value {
    flex: 1;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slideshow-container {
        height: 60vh;
        min-height: 350px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tracking-input-group {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Admin Layout Mobile */
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        z-index: 1000;
        width: 260px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: flex !important;
    }
    
    .content-header {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .content-header > div:last-child {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .content-header .btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .content-body {
        padding: 16px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 700px;
    }
    
    /* Form responsive */
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-card {
        margin-bottom: 16px;
    }
    
    .form-card-header {
        padding: 12px 16px;
    }
    
    .form-card-body {
        padding: 16px;
    }
    
    /* Modal responsive */
    .modal {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        margin: 20px;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
        max-height: calc(90vh - 140px);
    }
    
    .modal-footer {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .modal-footer .btn {
        flex: 1;
        min-width: 100px;
    }
    
    /* Slideshow responsive */
    .slideshow-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Packages table responsive */
    .packages-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .packages-table {
        min-width: 800px;
    }
    
    .packages-summary {
        flex-direction: column;
        gap: 12px;
    }
    
    .summary-totals {
        flex-direction: column;
        gap: 8px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .tracking-box {
        padding: 20px;
    }
    
    .login-box {
        padding: 24px 20px;
        margin: 12px;
    }
    
    .login-box h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .content-title h1 {
        font-size: 1.25rem;
    }
    
    .content-title p {
        font-size: 0.85rem;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    /* Slideshow mobile */
    .slideshow-container {
        height: 40vh;
        min-height: 250px;
    }
    
    .slideshow-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    /* Hide action buttons text on mobile */
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Alert boxes */
    .alert {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    /* Table actions */
    .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .content-header {
        padding: 12px;
    }
    
    .content-body {
        padding: 12px;
    }
    
    .slideshow-container {
        height: 35vh;
        min-height: 200px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-fadeInScale {
    animation: fadeInScale 0.5s ease forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Loading spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInLeft 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--info); }

.toast-icon {
    font-size: 1.25rem;
}

.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--error); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.info .toast-icon { color: var(--info); }

.toast-message {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

.toast-close:hover {
    color: var(--gray-600);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray-500);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

