/* ====================================
   VARIABLES CSS - MODO CLARO Y OSCURO
   ==================================== */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --secondary-hover: #545b62;
    --success-color: #28a745;
    --success-hover: #218838;
    --danger-color: #dc3545;
    --danger-hover: #c82333;
    --warning-color: #ffc107;
    --warning-hover: #e0a800;
    --info-color: #17a2b8;

    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-body: #f4f7f6;

    /* Textos */
    --text-primary: #343a40;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;

    /* Bordes y sombras */
    --border-color: #dee2e6;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);

    /* Transiciones */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* MODO OSCURO */
[data-theme="dark"] {
    --primary-color: #4da3ff;
    --primary-hover: #3390ff;

    --bg-primary: #1e1e1e;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --bg-body: #121212;

    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;

    --border-color: #404040;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* ====================================
   RESET Y BASE
   ==================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
}

/* ====================================
   BARRA SUPERIOR
   ==================================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar h1 {
    font-size: 1.5rem;
    margin: 0;
    border: none;
    padding: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-bell {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ====================================
   PANEL DE NOTIFICACIONES
   ==================================== */
.notification-panel {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow: hidden;
    transition: transform var(--transition), opacity var(--transition);
}

.notification-panel.hidden {
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
}

.notification-header {
    background: var(--bg-secondary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.notification-item:hover {
    background: var(--bg-secondary);
}

.notification-item.unread {
    background: rgba(0, 123, 255, 0.05);
    border-left: 3px solid var(--primary-color);
}

.notification-item .time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ====================================
   CONTAINER PRINCIPAL
   ==================================== */
.container {
    max-width: 1400px;
    margin: 20px auto;
    background-color: var(--bg-primary);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ====================================
   TIPOGRAFÍA
   ==================================== */
h1,
h2,
h3,
h4 {
    color: var(--text-primary);
}

h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.required {
    color: var(--danger-color);
}

/* ====================================
   PESTAÑAS
   ==================================== */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
}

.tab-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: rgba(0, 123, 255, 0.08);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   FORMULARIOS
   ==================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input:read-only {
    background-color: var(--bg-secondary);
    cursor: not-allowed;
}

.horas-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.horas-group input {
    flex: 1;
}

.horas-group label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.form-actions-left,
.form-actions-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ====================================
   BOTONES
   ==================================== */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-hover);
}

.btn-warning {
    background-color: var(--warning-color);
    color: var(--text-primary);
}

.btn-warning:hover {
    background-color: var(--warning-hover);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: var(--danger-hover);
}

/* ====================================
   FILTROS AVANZADOS
   ==================================== */
.filters-panel {
    margin-bottom: 20px;
}

.advanced-filters {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.advanced-filters.hidden {
    display: none;
}

.search-bar {
    margin: 15px 0;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

/* ====================================
   TABLAS
   ==================================== */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

thead th {
    background-color: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
    position: sticky;
    top: 0;
    white-space: nowrap;
    z-index: 10;
    cursor: pointer;
    user-select: none;
}

thead th:hover {
    background-color: var(--bg-tertiary);
}

tbody tr {
    transition: background-color var(--transition-fast);
}

tbody tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

tbody tr:hover {
    background-color: var(--bg-tertiary);
}

.actions-cell {
    white-space: nowrap;
}

.actions-cell button {
    padding: 6px 12px;
    font-size: 13px;
    margin-right: 5px;
}

/* ====================================
   PAGINACIÓN
   ==================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
}

.pagination button {
    padding: 8px 12px;
    min-width: 40px;
}

.pagination button.active {
    background-color: var(--primary-color);
    color: white;
}

/* ====================================
   ESTADÍSTICAS
   ==================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card p {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ====================================
   GRÁFICOS
   ==================================== */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.chart-container {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.chart-container h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.chart-container canvas {
    max-height: 300px;
}

/* ====================================
   ANALYTICS
   ==================================== */
.analytics-section {
    margin-bottom: 40px;
}

.analytics-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.comparison-cards,
.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.comparison-card,
.ranking-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.comparison-card h4,
.ranking-card h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.ranking-list {
    list-style: none;
    padding: 0;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.ranking-item:nth-child(1) {
    border-left-color: #FFD700;
}

.ranking-item:nth-child(2) {
    border-left-color: #C0C0C0;
}

.ranking-item:nth-child(3) {
    border-left-color: #CD7F32;
}

/* ====================================
   CALENDARIO
   ==================================== */
#calendar {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-secondary);
    position: relative;
}

.calendar-day:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.calendar-day.has-control {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
}

.calendar-day.has-control::after {
    content: '•';
    position: absolute;
    bottom: 5px;
    color: var(--primary-color);
    font-size: 20px;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 14px;
}

.calendar-day-label {
    font-size: 10px;
    color: var(--text-muted);
}

/* ====================================
   MAPA
   ==================================== */
.map-controls {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

#map {
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* ====================================
   AUTH GUARD
   ==================================== */
.auth-guard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition);
}

.auth-guard.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-guard-content {
    text-align: center;
    color: white;
}

/* ====================================
   MODALES
   ==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2001;
    /* Mayor que auth-guard */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeInModal 0.3s ease;
    backdrop-filter: blur(2px);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 3% auto;
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

.modal-small {
    max-width: 400px;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.close:hover {
    color: var(--danger-color);
}

/* ====================================
   TOAST NOTIFICATIONS
   ==================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition);
    border-left: 4px solid var(--primary-color);
    max-width: 350px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--danger-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast.info {
    border-left-color: var(--info-color);
}

/* ====================================
   UTILIDADES
   ==================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ====================================
   LOADING SPINNER
   ==================================== */
.spinner {
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .top-bar h1 {
        font-size: 1.2rem;
    }

    .container {
        padding: 15px;
        margin: 10px;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        font-size: 13px;
        padding: 10px 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions-left,
    .form-actions-right {
        width: 100%;
    }

    button {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        min-width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }

    .notification-panel {
        width: calc(100% - 20px);
        right: 10px;
    }

    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 8px 4px;
    }

    .actions-cell button {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .top-bar h1 {
        font-size: 1rem;
    }

    .btn-icon {
        font-size: 12px;
        padding: 6px 10px;
    }

    h2 {
        font-size: 1.2rem;
    }

    .stat-card p {
        font-size: 24px;
    }

    .comparison-cards,
    .rankings-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   IMPRESIÓN
   ==================================== */
@media print {

    .top-bar,
    .tabs,
    .form-actions,
    .actions-cell,
    .btn-icon,
    .notification-panel,
    .filters-panel,
    .search-bar {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        box-shadow: none;
        padding: 0;
    }

    table {
        page-break-inside: avoid;
    }

    .chart-container {
        page-break-inside: avoid;
    }
}

/* ====================================
   ANIMACIONES ADICIONALES
   ==================================== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ====================================
   ACCESIBILIDAD
   ==================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ====================================
   TEMA DE ALTO CONTRASTE
   ==================================== */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
    }

    [data-theme="dark"] {
        --border-color: #fff;
    }
}

/* ====================================
   PREFERENCIA DE MOVIMIENTO REDUCIDO
   ==================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====================================
   GESTIÓN DE USUARIOS
   ==================================== */
.user-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-badge-admin {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.user-badge-regional {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.user-badge-viewer {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

/* Role-based visibility */
[data-role-required="admin"] {
    /* Visible by default, will be hidden by JavaScript for non-admins */
}

[data-role-required="not-viewer"] {
    /* Visible by default, will be hidden by JavaScript for viewers */
}

.hidden {
    display: none !important;
}

/* User Management Table */
#users-container table th,
#users-container table td {
    vertical-align: middle;
}

#users-container .actions-cell {
    min-width: 120px;
}

/* User Menu Dropdown */
.user-menu-dropdown {
    animation: slideDownFade 0.3s ease;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Region Checkboxes in User Form */
.region-checkbox {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

/* Enhanced accessibility for user roles */
.user-badge[aria-label] {
    cursor: help;
}