:root {
    --primary-color: #4a90e2;
    --secondary-color: #2ecc71;
    --accent-color: #e67e22;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Decorations */
.background-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    border-radius: 50%;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, #f1f3f5 0%, rgba(248, 249, 250, 0) 100%);
    z-index: -2;
}

/* Header Styles */
.main-header {
    padding: 60px 20px 40px;
    text-align: center;
}

.logo {
    width: 150px !important;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.sub-title {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Container & Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    flex: 1;
}

.cards-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.card-header i {
    font-size: 1.4rem;
    color: #e67e22;
}

.inspection-card .card-header i { color: #e67e22; }
.manifest-card .card-header i { color: #e67e22; }

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 1rem;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Cairo', Arial, sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-box input:focus {
    outline: none;
    border-color: #e67e22;
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.search-box input::placeholder {
    color: #95a5a6;
}
}

/* Items List */
.items-list {
    min-height: 350px;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 5px;
}

/* Custom Scrollbar */
.items-list::-webkit-scrollbar {
    width: 8px;
}

.items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.items-list::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 10px;
}

.items-list::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: none;
    width: 100%;
}

.list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.list-item i {
    font-size: 1rem;
}

.item-green {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.item-blue {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 15px;
    opacity: 0.6;
}

.empty-state i {
    font-size: 3rem;
}

/* Button Styles */
.card-footer {
    margin-top: auto;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-orange {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-orange:active {
    transform: scale(0.98);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 30px;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.02);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        width: 120px !important;
    }
    .main-title {
        font-size: 2rem;
    }
    .cards-grid {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 100%;
        max-width: 100%;
    }
}

/* Drivers Card Styles */
.drivers-card .card-header i { 
    color: #764ba2; 
}

.btn-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.btn-purple:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

.btn-purple:active {
    transform: scale(0.98);
}
