/* ===============================
   STAFF LAYOUT – LATIN TOURS
   Alles begint met .staff-
=============================== */

/* Container */
.staff-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

.staff-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* ===============================
   Sidebar
=============================== */

.staff-aside {
    position: sticky;
    top: 110px; /* beetje onder je navbar */
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    height: fit-content;
}

/* User card */
.staff-user-card {}

.staff-user-row {
    display: flex;
    gap: 18px;
    align-items: center;
}

.staff-avatar {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    background: #f3f4f6;
}

.staff-name {
    font-weight: 700;
    font-size: 18px;
}

.staff-muted {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.staff-badge-staff {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0f2ff, #fef3c7);
    color: #1d4ed8;
    font-weight: 600;
}

/* ===============================
   Sidebar nav
=============================== */

.staff-side-nav {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.staff-side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .1s ease;
}

.staff-side-link i {
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.staff-side-link:hover {
    background: #f3f4f6;
    transform: translateX(2px);
}

.staff-side-link:hover i {
    color: #2563eb;
}

.staff-side-link.staff-active {
    background: linear-gradient(135deg, #2563eb, #f97316);
    color: #ffffff;
}

.staff-side-link.staff-active i {
    color: #ffffff;
}

.staff-side-sep {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

/* Logout knop */
.staff-logout-form {
    margin-top: 18px;
}

.staff-btn-logout {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, transform .1s ease, box-shadow .18s ease;
}

.staff-btn-logout i {
    width: 16px;
    height: 16px;
}

.staff-btn-logout:hover {
    background: #fee2e2;
    box-shadow: 0 6px 16px rgba(248, 113, 113, 0.35);
    transform: translateY(-1px);
}

/* ===============================
   Main content
=============================== */

.staff-main {
    background: #ffffff;
    padding: 28px 26px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

/* Titels */
.staff-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.staff-subtitle {
    font-size: 14px;
    color: #6b7280;
}

/* Quick boxes */
.staff-quick-box {
    margin-top: 22px;
    padding: 18px 18px 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.staff-quick-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.staff-quick-box p {
    font-size: 14px;
    color: #4b5563;
}

.staff-quick-box ul {
    margin-top: 8px;
    padding-left: 18px;
    font-size: 14px;
}

.staff-quick-box a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.staff-quick-box a:hover {
    text-decoration: underline;
}

/* ===============================
   Staff Header
=============================== */

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

.staff-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* ===============================
   Buttons
=============================== */

.staff-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .18s ease;
}

.staff-btn i {
    width: 16px;
    height: 16px;
}

.staff-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.staff-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.staff-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.staff-btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.staff-btn-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.staff-btn-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.staff-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.staff-btn-sm i {
    width: 14px;
    height: 14px;
}

/* ===============================
   Cards
=============================== */

.staff-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

/* ===============================
   Alerts
=============================== */

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

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

/* ===============================
   Tables
=============================== */

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

.staff-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.staff-table thead th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s ease;
}

.staff-table tbody tr:last-child {
    border-bottom: none;
}

.staff-table tbody tr:hover {
    background: #f9fafb;
}

.staff-table tbody td {
    padding: 16px 18px;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}

.staff-table .text-right {
    text-align: right;
}

.staff-table .text-center {
    text-align: center;
}

.text-muted {
    color: #9ca3af;
    font-size: 13px;
}

/* ===============================
   User Info (in table)
=============================== */

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

.user-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
}

.user-name {
    font-weight: 600;
    color: #111827;
}

/* ===============================
   Badges
=============================== */

.staff-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
    margin-bottom: 4px;
}

.staff-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.staff-badge-danger {
    background: linear-gradient(135deg, #fef3c7, #fecaca);
    color: #991b1b;
}

.staff-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.staff-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* ===============================
   Action Buttons Group
=============================== */

.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ===============================
   Pagination
=============================== */

.mt-4 {
    margin-top: 20px;
}

/* ===============================
   Forms
=============================== */

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.is-invalid {
    border-color: #ef4444;
}

.invalid-feedback {
    display: block;
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

.form-text {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* ===============================
   Responsive
=============================== */

@media (max-width: 900px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-aside {
        position: static;
    }

    .staff-wrap {
        padding: 20px 14px;
    }

    .staff-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .staff-table {
        font-size: 13px;
    }

    .staff-table thead th,
    .staff-table tbody td {
        padding: 10px 12px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons .staff-btn {
        width: 100%;
        justify-content: center;
