:root {
    --primary-color: #2c3e50;
    --primary-hover: #34495e;
    --secondary-color: #ecf0f1;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --border-color: #bdc3c7;
}

body {
    background-color: #f8f9fa;
    color: var(--text-color);
}

/* Login pagina achtergrond styling */
body.login-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../uploads/login_background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

body.login-page .container {
    position: relative;
    z-index: 2;
}

body.login-page .card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.login-page .card-body {
    padding: 2rem;
}

body.login-page h2 {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.login-page .btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
}

body.login-page .btn-success:hover {
    background-color: #229954;
    border-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

body.login-page .nav-tabs .nav-link {
    color: var(--text-color);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.login-page .nav-tabs .nav-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

body.login-page .nav-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background-color: transparent;
}

body.login-page .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(189, 195, 199, 0.5);
    transition: all 0.3s ease;
}

body.login-page .form-control:focus {
    background-color: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

body.login-page .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

body.login-page .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

body.reserve-page .navbar.bg-primary {
    background-color: #2c3e50 !important;
}

.container {
    flex: 1;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: white;
    border-bottom: none;
    font-weight: 600;
}

/* Form Styles */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
}

/* Button styling */
.btn {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Profile completion page styling */
.complete-profile-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
}

.complete-profile-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.complete-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.complete-profile-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.complete-profile-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.complete-profile-body {
    padding: 2rem;
}

.complete-profile-form .form-control {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.complete-profile-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

.complete-profile-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.complete-profile-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.complete-profile-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.complete-profile-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.complete-profile-info i {
    color: #667eea;
    margin-right: 0.5rem;
}

.complete-profile-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.complete-profile-footer small {
    color: #6c757d;
}

.complete-profile-footer i {
    color: #28a745;
    margin-right: 0.25rem;
}

.btn i {
    font-size: 1.1em;
}

/* Primary button */
.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

/* Success button */
.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #2ecc71;
}

/* Warning button */
.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #f1c40f;
}

/* Danger button */
.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Light button */
.btn-light {
    background: var(--secondary-color);
    color: var(--text-color);
}

.btn-light:hover {
    background: #bdc3c7;
}

/* Small button */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Button group styling */
.btn-group {
    gap: 0.5rem;
}

.btn-group .btn {
    border-radius: 6px !important;
}

/* Outline button variants */
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

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

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

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

/* Disabled button state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: var(--text-color);
    border-top: none;
}

.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-danger {
    background-color: var(--danger-color) !important;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.25rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Modal Styles */
.modal-content {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    background-color: white;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    background-color: white;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        margin-bottom: 0;
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-text {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    /* Algemene container aanpassingen */
    .container-fluid {
        padding: 0;
        margin: 0;
    }

    /* Card aanpassingen */
    .card {
        border-radius: 0;
        margin-bottom: 1rem;
        box-shadow: none;
        border: none;
    }

    .card-header {
        padding: 1rem;
        border-radius: 0;
    }

    /* Tabel naar card-list transformatie */
    .table-responsive {
        border: none;
    }

    .table {
        background: transparent;
    }

    /* Verberg table headers op mobiel */
    .table thead {
        display: none;
    }

    /* Maak elke rij een card-achtig element */
    .table tbody tr {
        display: block;
        background: white;
        margin-bottom: 1rem;
        padding: 0.75rem;
        border-bottom: 1px solid #dee2e6;
    }

    /* Reset table cell styling */
    .table td {
        display: block;
        padding: 0.25rem 0;
        border: none;
        text-align: left;
        position: relative;
    }

    /* Apparaat en Lokaal op één regel */
    .table td:nth-child(1),
    .table td:nth-child(2) {
        display: inline-block;
        width: auto;
        padding-right: 0.5rem;
    }

    .table td:nth-child(2)::before {
        content: "•";
        margin: 0 0.5rem;
    }

    /* Datum en Tijd op één regel */
    .table td:nth-child(3),
    .table td:nth-child(4) {
        display: inline-block;
        font-size: 0.9rem;
        color: #666;
    }

    .table td:nth-child(4)::before {
        content: "•";
        margin: 0 0.5rem;
    }

    /* Status badge styling */
    .table td:nth-child(5) {
        float: right;
        margin-top: -2.5rem;
    }

    /* Actie knoppen */
    .table td:last-child {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid #eee;
    }

    .table td:last-child .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Badge styling */
    .badge {
        font-size: 0.75rem;
        padding: 0.35em 0.65em;
    }

    /* Nieuwe reservering knop */
    .card-header .btn-light {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border: 1px solid #dee2e6;
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
    }

    /* Verbeterde typografie */
    .table td {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Apparaatnaam styling */
    .table td:first-child {
        font-weight: 500;
        font-size: 1rem;
        color: #333;
    }

    /* Lokaal styling */
    .table td:nth-child(2) {
        color: #666;
    }

    /* Geen reserveringen melding */
    .p-4.text-center {
        padding: 2rem !important;
    }

    .p-4.text-center .bi {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }

    .p-4.text-center .btn {
        margin-top: 1rem;
        width: 100%;
        max-width: 250px;
    }
}

/* Algemene verbeteringen */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-bottom: none;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    background-color: rgba(0, 0, 0, 0.02);
}

.btn {
    border-radius: 0.25rem;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

/* Animaties */
.btn, .badge {
    transition: all 0.2s ease-in-out;
}

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

/* Verbeterde leesbaarheid */
.text-muted {
    color: #6c757d !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

/* Verbeterde toegankelijkheid */
.btn:focus, 
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Verbeterde interactie */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Verbeterde formulier elementen */
.form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #80bdff;
}

/* Verbeterde alerts */
.alert {
    border: none;
    border-radius: 0.25rem;
}

.alert-dismissible .btn-close {
    padding: 1rem;
}

/* Algemene verbeteringen voor knoppen */
.btn-primary, .btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary .bi, .btn-light .bi {
    font-size: 1.1em;
}

/* Verbeterde card headers */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.card-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
} 