/* Modal z-index fixes */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}
/* Make everything in modal clickable */
.modal-content * {
    pointer-events: auto !important;
}
/* Ensure proper modal height */
.modal-dialog {
    max-height: 95vh;
    overflow-y: auto;
}

/* Main styles */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --border-radius: 0.375rem;
    --transition-base: all .2s ease-in-out;
}

body {
    background-color: #f5f8fa;
    color: #4a5568;
}

/* Page layout */
.page-container {
    padding: 1.5rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
}

/* Card styles */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    background-color: #fff;
}

/* Table styles */
.table {
    margin-bottom: 0;
}

    .table > thead {
        background-color: #f8fafc;
    }

        .table > thead > tr > th {
            font-weight: 600;
            color: #4a5568;
            border-bottom-width: 1px;
            vertical-align: middle;
        }

    .table > tbody > tr {
        transition: var(--transition-base);
    }

        .table > tbody > tr:hover {
            background-color: rgba(13, 110, 253, 0.04);
        }

/* Badge styles */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Modal styles */
.modal-content {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8fafc;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8fafc;
}

/* Form styles */
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    border-color: var(--primary);
}

    .form-floating > .form-control:focus ~ label {
        color: var(--primary);
    }

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
}

    .password-toggle:hover {
        color: var(--primary);
    }

/* Empty state */
.empty-state {
    padding: 2rem;
    text-align: center;
}

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #cbd5e0;
    }

    .empty-state p {
        color: #718096;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

/* Button styles */
.btn-sm {
    padding: 0.25rem 0.5rem;
}

.btn-outline-primary:hover,
.btn-outline-danger:hover {
    color: white;
}
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --text-muted: #6c757d;
    --header-height: 64px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.3s;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-height);
    background-color: #f5f8fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.dropdown-menu {
    margin-top: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}


