@font-face {
    font-family: 'Inter';
    src: url(../fonts/Inter/Inter-VariableFont_opsz,wght.ttf);
}

:root {
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-300: #D1D5DB;
    --neutral-400: #9CA3AF;
    --neutral-500: #6B7280;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --neutral-900: #111827;

    --primary: #103595;
    --primary-light: #1a45b8;
    --primary-dark: #0c2a7a;
    --primary-50: #eef2ff;

    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    --bg-body: #F9FAFB;
    --bg-card: #FFFFFF;

    --rojo: #DCFCE7;
    --chat: #e0fcd7;
    --blanco: #ffffff;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 14px;
    --border-radius-xl: 16px;
    --border-radius-full: 999px;

    --shadow-card: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-dropdown: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-elevated: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);

    --sidebar-width: 260px;
    --header-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--neutral-900);
    background: var(--bg-body);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1;
    padding: 32px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

/* Typography */
h1, .h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--neutral-900);
    margin-bottom: 0;
}

h2, .h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--neutral-900);
}

h3, .h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-900);
}

h4, .h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--neutral-900);
}

h5, .h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--neutral-900);
}

.text-muted {
    color: var(--neutral-400) !important;
}

.text-small {
    font-size: 13px;
}

.text-xs {
    font-size: 12px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--neutral-100);
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    color: var(--neutral-700);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0 !important;
}

.card-body {
    padding: 20px 24px;
}

.card-simple {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    padding: 20px 24px;
    height: fit-content;
}

/* KPI Card */
.kpi-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: box-shadow 0.2s ease;
}

.kpi-card:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.kpi-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--neutral-900);
}

.kpi-label {
    font-size: 14px;
    color: var(--neutral-400);
    margin-top: 4px;
}

.kpi-progress {
    height: 8px;
    border-radius: var(--border-radius-full);
    background: var(--neutral-100);
    margin-top: 12px;
    overflow: hidden;
}

.kpi-progress-bar {
    height: 100%;
    border-radius: var(--border-radius-full);
    background: var(--primary);
    transition: width 0.3s ease;
}

/* Alert Card */
.alert-card {
    background: var(--primary-50);
    border: 1px solid rgba(16, 53, 149, 0.1);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Inputs */
.form-control,
.input-group-text {
    height: 48px;
    border-radius: var(--border-radius-md);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    color: var(--neutral-900);
    font-size: 14px;
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    word-break: break-word;
    overflow-wrap: break-word;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(16, 53, 149, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--neutral-400);
}

.form-control-sm {
    height: 36px;
    font-size: 13px;
}

input, textarea, select, button {
    word-break: break-word;
    overflow-wrap: break-word;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-select {
    height: 48px;
    border-radius: var(--border-radius-md);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    font-size: 14px;
    padding: 0 16px;
}

textarea.form-control {
    height: auto;
    padding: 12px 16px;
    min-height: 100px;
}

/* Password input with eye */
.input-password {
    position: relative;
}

.input-password .form-control {
    padding-right: 44px;
}

.sd-eye {
    position: absolute;
    right: 14px;
    top: 41px;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.15s ease;
}

.sd-eye:hover {
    opacity: 0.7;
}

.input-group {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .input-group-text {
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-right: none;
    color: var(--neutral-400);
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Buttons */
.btn {
    height: 48px;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    box-shadow: none !important;
    white-space: nowrap;
}

.btn-sm {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: var(--border-radius-sm);
}

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

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

.btn-primary:disabled {
    background: var(--neutral-300);
    border-color: var(--neutral-300);
    color: var(--neutral-500);
}

.btn-secondary {
    background: transparent;
    border-color: var(--neutral-200);
    color: var(--neutral-700);
}

.btn-secondary:hover {
    background: var(--neutral-100);
    border-color: var(--neutral-300);
    color: var(--neutral-800);
}

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

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    color: white;
}

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

.btn-danger:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: white;
}

.btn-warning {
    background: var(--warning);
    border-color: var(--warning);
    color: white;
}

.btn-info {
    background: var(--info);
    border-color: var(--info);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

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

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

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

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

.btn-third {
    background: transparent;
    border: none;
    color: var(--neutral-600);
    font-weight: 500;
}

.btn-third:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
}

/* Badges */
.badge {
    border-radius: var(--border-radius-full);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
}

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

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

.badge.bg-warning {
    background: var(--warning-light) !important;
    color: #92400E;
}

.badge.bg-info {
    background: var(--info-light) !important;
    color: #1E40AF;
}

.badge.bg-secondary {
    background: var(--neutral-100) !important;
    color: var(--neutral-500);
}

.badge.bg-dark {
    background: var(--neutral-100) !important;
    color: var(--neutral-700);
}

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

/* Tabs / Filter pills */
.filter-pills {
    display: inline-flex;
    height: 44px;
    background: var(--neutral-100);
    border-radius: var(--border-radius-full);
    padding: 4px;
    gap: 4px;
}

.filter-pill {
    height: 36px;
    padding: 0 20px;
    border-radius: var(--border-radius-full);
    border: none;
    background: transparent;
    color: var(--neutral-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-pill.active {
    background: white;
    color: var(--neutral-900);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-pill:hover:not(.active) {
    color: var(--neutral-700);
}

/* DataTable overrides */
.rdt_Table {
    background: transparent !important;
    border: none !important;
}

.rdt_TableHead {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--neutral-400) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rdt_TableHeadRow {
    background: transparent !important;
    border-bottom: 1px solid var(--neutral-100) !important;
    min-height: 48px !important;
    padding: 0 8px;
}

.rdt_TableRow {
    min-height: 72px !important;
    border-bottom: 1px solid var(--neutral-100) !important;
    padding: 0 8px;
    transition: background 0.15s ease;
    cursor: pointer;
}

.rdt_TableRow:hover {
    background: var(--neutral-50) !important;
}

.rdt_TableCol {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--neutral-400) !important;
}

.rdt_TableCell {
    font-size: 14px !important;
    color: var(--neutral-700) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.rdt_Pagination {
    border-top: 1px solid var(--neutral-100) !important;
    padding: 12px 0 !important;
    margin-top: 8px;
    font-size: 13px !important;
    color: var(--neutral-500) !important;
}

.rdt_Pagination button {
    fill: var(--neutral-400) !important;
}

.rdt_Pagination button:hover:not(:disabled) {
    fill: var(--primary) !important;
}

/* Pagination (react-paginate) */
.pagination {
    gap: 4px;
}

.page-item .page-link {
    height: 36px;
    min-width: 36px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--neutral-200);
    color: var(--neutral-600);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: white;
    transition: all 0.2s ease;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item .page-link:hover {
    background: var(--neutral-100);
    border-color: var(--neutral-300);
}

.page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-elevated);
}

.modal-header {
    border-bottom: 1px solid var(--neutral-100);
    padding: 20px 24px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--neutral-100);
    padding: 16px 24px;
}

.modal-header .btn-close {
    font-size: 14px;
    opacity: 0.5;
}

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

.table thead th {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--neutral-200);
    padding: 12px 16px;
    background: transparent;
}

.table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--neutral-100);
    color: var(--neutral-700);
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.table tbody tr:hover {
    background: var(--neutral-50);
}

.table-bordered {
    border: 1px solid var(--neutral-100);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--neutral-100);
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    padding: 24px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    padding: 48px;
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--neutral-900);
}

.login-subtitle {
    font-size: 15px;
    color: var(--neutral-400);
    text-align: center;
    margin-bottom: 32px;
}

/* Forgot & Reset pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    padding: 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}

/* Header */
.page-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--neutral-100);
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.page-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 2px solid var(--neutral-100);
}

.avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* User info in header */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900);
    line-height: 1.2;
}

.user-info-role {
    font-size: 13px;
    color: var(--neutral-400);
    line-height: 1.2;
}

/* Progress bar */
.progress {
    height: 18px;
    border-radius: var(--border-radius-full);
    background: var(--neutral-100);
    overflow: hidden;
}

.progress-bar {
    background: var(--primary);
    border-radius: var(--border-radius-full);
}

/* Alerts / Swal overrides */
.swal2-popup {
    border-radius: var(--border-radius-xl) !important;
    padding: 32px !important;
    font-family: var(--font-family) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: var(--shadow-elevated) !important;
}

.swal2-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--neutral-900) !important;
}

.swal2-styled {
    font-family: var(--font-family) !important;
}

.swal2-confirm {
    background: var(--primary) !important;
    border: none !important;
    border-radius: var(--border-radius-md) !important;
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: white !important;
}

.swal2-cancel {
    background: transparent !important;
    border: 1.5px solid var(--neutral-200) !important;
    border-radius: var(--border-radius-md) !important;
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--neutral-600) !important;
}

/* Links */
a, .link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover, .link:hover {
    color: var(--primary-dark);
}

.link-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cursor {
    cursor: pointer;
}

/* Utility spacing helpers */
.gap-xs { gap: 8px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }
.gap-2xl { gap: 48px; }

/* Toolbar (action bar) */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section title */
.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 16px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--neutral-400);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-text {
    font-size: 15px;
}

/* List item (document list style) */
.list-item {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow 0.2s ease;
}

.list-item:hover {
    box-shadow: var(--shadow-card);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.list-item-meta {
    font-size: 13px;
    color: var(--neutral-400);
}

/* Document mini-card */
.doc-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: box-shadow 0.2s ease;
}

.doc-card:hover {
    box-shadow: var(--shadow-card);
}

/* Toggle buttons group */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

/* ------- CHATBOT ---------- */
/* .chatbot-body {
    display: grid;
} */

.chatbot-messages{
    border-radius: 10px;
    margin: 10px 0px;
    padding: 10px 15px;
    max-width: 70%;
    width: fit-content;
    height: fit-content;
}
.chatbot-messages p{
    margin: 5px 0px;
}
.chatbot-messages table{
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
    margin: 8px 0;
}
.chatbot-messages table th{
    background-color: #4A90D9;
    color: #fff;
    font-weight: 600;
    padding: 8px 10px;
    border: 1px solid #357ABD;
}
.chatbot-messages table td{
    padding: 6px 10px;
    border: 1px solid #ddd;
}
.chatbot-messages table tr:nth-child(even){
    background-color: #f8f9fa;
}
.chatbot-messages table tr:hover{
    background-color: #e9ecef;
}
.received{
    background-color: var(--blanco);
    justify-self: start;
}
.send{
    background-color: var(--chat);
    justify-self: end;
}
.loading{
    background-color: var(--rojo);
    justify-self: start;
}
/* ------- END CHATBOT ----------*/

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-200);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-300);
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-dropdown);
    padding: 6px;
}

.dropdown-item {
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--neutral-700);
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: var(--neutral-50);
}

.dropdown-item.active {
    background: var(--primary-50);
    color: var(--primary);
}

/* Toast (if used) */
.toast {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-elevated);
}

/* Nav tabs */
.nav-tabs {
    border-bottom: 1px solid var(--neutral-100);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--neutral-500);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    margin-bottom: -1px;
    transition: color 0.15s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--neutral-700);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border: none;
    border-bottom: 2px solid var(--primary);
    background: transparent;
}

/* Tooltip styling */
.tooltip-inner {
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    padding: 6px 12px;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .app-content {
        margin-left: 0;
    }

    .app-main {
        padding: 20px;
    }

    .page-header {
        padding: 0 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    h1, .h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .app-main {
        padding: 16px;
    }

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

    .toolbar-right {
        justify-content: flex-end;
    }

    .card-body {
        padding: 16px 20px;
    }

    .card-header {
        padding: 16px 20px;
    }
}
