/* Boiten Techniek Custom Styles */

:root {
    --boiten-primary: #213F60;
    --boiten-secondary: #6c757d;
    --boiten-accent: #dc3545;
    --boiten-light: #f8f9fa;
    --boiten-dark: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Header Styles */
.boiten-header {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    max-height: 40px;
}

/* Login Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(33, 63, 96, 0.8), rgba(26, 47, 74, 0.8)), url('vrachtauto-met-gasflessen-boiten.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.route-card {
    cursor: pointer;
}

/* Customer Item */
.customer-item .card {
    cursor: pointer;
}

/* Product Card */
.product-card {
    cursor: pointer;
    border: 2px solid transparent;
}

.product-card.selected {
    border-color: var(--boiten-primary);
    background-color: #e3f2fd;
}

.product-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.product-image.w-100 {
    height: 80px;
    object-fit: cover;
}

/* Map Placeholder */
.map-placeholder {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
}

/* Delivery Item */
.delivery-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--boiten-primary);
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Button Styles */
.btn-primary {
    background-color: var(--boiten-primary);
    border-color: var(--boiten-primary);
}

.btn-primary:hover {
    background-color: #1a2f4a;
    border-color: #1a2f4a;
}

.btn-outline-primary {
    color: var(--boiten-primary);
    border-color: var(--boiten-primary);
}

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

/* Text Colors */
.text-primary {
    color: var(--boiten-primary) !important;
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-menu-content {
    padding: 1rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .login-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        font-size: 0.9rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-image {
        width: 50px;
        height: 50px;
    }
    
    .w-100.w-md-auto {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .boiten-header .container-fluid {
        padding: 0.5rem;
    }
    
    .logo {
        max-height: 30px;
    }
    
    .boiten-header h5 {
        font-size: 1rem;
    }
    
    .boiten-header small {
        font-size: 0.7rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .d-flex.justify-content-between .btn {
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation Classes */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1a2f4a;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--boiten-primary);
    box-shadow: 0 0 0 0.2rem rgba(33, 63, 96, 0.25);
}

/* Icon Styles */
.fas, .far {
    color: var(--boiten-primary);
}

/* Status Indicators */
.status-delivered {
    color: #28a745;
}

.status-collected {
    color: #ffc107;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
