html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #343a40;
}
/* Filter bar subtle styling */
.filter-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}
/* Table Styling */
.table-container {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.table th {
    background-color: #f1f3f5;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 0.92rem;
    color: #495057;
    border-bottom: 1px solid #f1f3f5;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}
/* Buttons styling */
.btn-custom-primary {
    background-color: #0d6efd;
    color: #ffffff;
    font-weight: 500;
}

.btn-action-edit {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-action-edit:hover {
        background-color: #ffe8a1;
        color: #664d03;
    }

.btn-action-permission {
    background-color: #cfe2ff;
    color: #084298;
    border: 1px solid #b6d4fe;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-action-permission:hover {
        background-color: #b6d4fe;
        color: #043171;
    }
.form-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}
/* Professional minimal form controls */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}

.form-control, .form-select {
    font-size: 0.92rem;
    padding: 10px 14px;
    border-color: #dee2e6;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus, .form-select:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }
/* Checkbox custom alignment */
.form-check-input {
    cursor: pointer;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
}

.form-check-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    user-select: none;
}
/* Footer styling */
.card-footer-actions {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 16px 24px;
}
/* Utility for required fields */
.text-required {
    color: #dc3545;
    margin-left: 2px;
}