/**
 * Panel ANS Grudziądz – Custom Styles
 * Color scheme: Light / White theme
 */

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #4e73df;
    --primary-dark: #3a5bc7;
    --primary-light: #6d8ef2;
    --secondary: #6c757d;
    --success: #0d9e6d;
    --info: #0ea5e9;
    --warning: #e8a317;
    --danger: #dc3545;

    --bg-body: #f0f2f5;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-navbar: #ffffff;
    --bg-input: #f8f9fc;

    --text-dark: #1e293b;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --sidebar-width: 260px;
    --navbar-height: 64px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

::selection {
    background: var(--primary);
    color: var(--text-white);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

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

/* ========== TOP NAVBAR ========== */
#topNavbar {
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    height: var(--navbar-height);
    z-index: 1040;
    padding: 0 1.5rem;
    box-shadow: var(--shadow-sm);
}

#topNavbar .navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

#topNavbar .navbar-brand i {
    font-size: 1.4rem;
    color: var(--primary);
}

.brand-text {
    color: var(--text-dark);
}

.user-avatar i {
    font-size: 1.6rem;
    color: var(--primary);
}

#topNavbar .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

#topNavbar .dropdown-menu {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

#topNavbar .dropdown-item {
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    transition: background var(--transition-fast);
}

#topNavbar .dropdown-item:hover {
    background: var(--bg-body);
    color: var(--primary);
}

#topNavbar .dropdown-divider {
    border-color: var(--border-color);
}

.navbar-toggler {
    border-color: var(--border-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--navbar-height));
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal);
    overflow-y: auto;
}

.sidebar-content {
    flex: 1;
    padding: 1.5rem 0;
}

.sidebar-header {
    padding: 0 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
    margin: 2px 0;
}

.sidebar-nav .nav-link:hover {
    color: var(--primary);
    background: rgba(78, 115, 223, 0.06);
    border-left-color: rgba(78, 115, 223, 0.3);
}

.sidebar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(78, 115, 223, 0.08);
    border-left-color: var(--primary);
    font-weight: 600;
}

.sidebar-nav .nav-icon {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.sidebar-nav .nav-link:hover .nav-icon {
    transform: scale(1.15);
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* ========== SIDEBAR SUBMENU ========== */
.sidebar-submenu {
    padding-left: 2rem;
    background: rgba(0, 0, 0, 0.015);
    margin-bottom: 0.25rem;
}

.sidebar-submenu .submenu-link {
    padding: 0.6rem 1rem 0.6rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: none;
    margin: 2px 0;
}

.sidebar-submenu .submenu-link.active {
    color: var(--primary);
    font-weight: 600;
    background: transparent;
}

.sidebar-submenu .submenu-link:hover {
    color: var(--primary);
    background: transparent;
}

.nav-icon-sm {
    font-size: 0.4rem;
    margin-right: 0.6rem;
    vertical-align: middle;
    opacity: 0.7;
}

.dropdown-indicator {
    transition: transform var(--transition-fast);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-link[aria-expanded="true"] .dropdown-indicator {
    transform: rotate(180deg);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    min-height: calc(100vh - var(--navbar-height));
}

.content-wrapper {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== PAGE HEADER ========== */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

/* ========== MODULE CARDS (Dashboard) ========== */
.module-card-link {
    text-decoration: none;
    display: block;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color, var(--primary));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.module-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.module-card:hover::before {
    opacity: 1;
}

.module-card-icon {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
}

.module-card-icon i {
    font-size: 3rem;
    color: var(--accent-color, var(--primary));
    transition: transform var(--transition-normal);
}

.module-card:hover .module-card-icon i {
    transform: scale(1.12);
}

.module-card-body {
    padding: 0 1.5rem 1rem;
    text-align: center;
}

.module-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.module-card-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.module-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--bg-body);
}

.module-card-action {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.module-card:hover .module-card-action {
    color: var(--primary-dark);
}

.module-card-action i {
    transition: transform var(--transition-fast);
}

.module-card:hover .module-card-action i {
    transform: translateX(4px);
}

/* ========== O365 STATS CARDS & TABS ========== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.nav-tabs-dark {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs-dark .nav-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.nav-tabs-dark .nav-link:hover {
    color: var(--primary);
}

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

/* ========== CONTENT CARDS ========== */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.content-card .card-body {
    color: var(--text-primary);
}

.card-header-dark {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.35;
}

.placeholder-icon i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========== ACTION TOOLBAR ========== */
.action-toolbar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.action-toolbar .btn {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.action-toolbar .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== STATS BANNER ========== */
.stats-banner {
    background: rgba(78, 115, 223, 0.06);
    border: 1px solid rgba(78, 115, 223, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
}

.stats-banner-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-banner-content i {
    color: var(--primary);
}

/* ========== BADGES ========== */
.badge {
    font-weight: 500;
    font-size: 0.78rem;
    padding: 0.4em 0.8em;
    border-radius: 6px;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
}

/* Animated particles background */
.login-bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: #fff;
    animation: particle-float linear infinite;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -100px;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-duration: 25s;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 30%;
    animation-duration: 30s;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    animation-duration: 22s;
    animation-delay: -8s;
}

.particle:nth-child(5) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 30%;
    animation-duration: 28s;
    animation-delay: -15s;
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -80px) rotate(90deg);
    }

    50% {
        transform: translate(-30px, -150px) rotate(180deg);
    }

    75% {
        transform: translate(60px, -80px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Login Card */
.login-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 3;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #764ba2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(78, 115, 223, 0.3);
}

.login-logo i {
    font-size: 2rem;
    color: var(--text-white);
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Login Form */
.login-card .form-floating>.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    height: 56px;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.login-card .form-floating>.form-control:focus {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
    color: var(--text-dark);
}

.login-card .form-floating>label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.login-card .form-floating>.form-control:focus~label,
.login-card .form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), #764ba2);
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(78, 115, 223, 0.3);
}

.btn-login:hover {
    box-shadow: 0 6px 24px rgba(78, 115, 223, 0.4);
    color: var(--text-white);
    filter: brightness(1.05);
}

.btn-login:active {
    filter: brightness(0.95);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Alerts in login */
.login-card .alert {
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    border: none;
}

.login-card .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--primary);
    border: none;
    color: var(--text-white);
    box-shadow: 0 2px 6px rgba(78, 115, 223, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.35);
}

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

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

.btn-info:hover {
    color: var(--text-white);
}

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

.btn-secondary {
    background: #e2e8f0;
    border: none;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #cbd5e1;
    color: var(--text-dark);
}

/* ========== DARK TABLES ========== */
.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-bg: rgba(78, 115, 223, 0.04);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.table-dark-custom thead th {
    background: var(--bg-body);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table-dark-custom tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    color: var(--text-primary);
}

.table-dark-custom tbody tr {
    transition: background var(--transition-fast);
}

.table-dark-custom tbody tr:hover {
    background: rgba(78, 115, 223, 0.04);
}

.table-dark-custom tbody tr.row-inactive {
    opacity: 0.5;
}

.code-badge {
    background: rgba(78, 115, 223, 0.1);
    color: var(--primary);
    padding: 0.25em 0.6em;
    border-radius: 6px;
    font-size: 0.85em;
    font-family: 'SFMono-Regular', 'Menlo', monospace;
    letter-spacing: 0.02em;
}

/* Status badges */
.bg-success-subtle {
    background: rgba(13, 158, 109, 0.1) !important;
}

.text-success {
    color: var(--success) !important;
}

.bg-secondary-subtle {
    background: rgba(108, 117, 125, 0.1) !important;
}

.bg-info-subtle {
    background: rgba(14, 165, 233, 0.1) !important;
}

.text-info {
    color: var(--info) !important;
}

/* ========== MODALS (Light) ========== */
.modal-dark {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.modal-dark .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.modal-dark .modal-header.border-danger {
    border-bottom-color: rgba(220, 53, 69, 0.3);
}

.modal-dark .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.modal-dark .modal-body {
    padding: 1.5rem;
}

.modal-dark .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.modal-dark .form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.modal-dark .form-text {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.btn-close-white {
    filter: none;
}

/* ========== FORM CONTROLS (Light) ========== */
.form-control-dark {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control-dark:focus {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
    color: var(--text-dark);
}

.form-control-dark::placeholder {
    color: var(--text-muted);
}

.form-select-dark {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    padding: 0.6rem 2.25rem 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select-dark:focus {
    background-color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
    color: var(--text-dark);
}

.form-select-dark option {
    color: var(--text-primary);
}

/* ========== CUSTOM TABS ========== */
.custom-tabs {
    border-bottom: 2px solid var(--border-color);
}

.custom-tabs .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.custom-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom-color: rgba(78, 115, 223, 0.3);
    background: transparent;
}

.custom-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
    font-weight: 600;
}

/* ========== OUTLINE BUTTONS (table actions) ========== */
.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(78, 115, 223, 0.3);
}

.btn-outline-primary:hover {
    background: rgba(78, 115, 223, 0.1);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.btn-outline-warning {
    color: var(--warning);
    border-color: rgba(232, 163, 23, 0.3);
}

.btn-outline-warning:hover {
    background: rgba(232, 163, 23, 0.1);
    color: #c78c14;
    border-color: var(--warning);
}

.btn-outline-danger {
    color: var(--danger);
    border-color: rgba(220, 53, 69, 0.3);
}

.btn-outline-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #b02a37;
    border-color: var(--danger);
}

.btn-outline-info {
    color: var(--info);
    border-color: rgba(14, 165, 233, 0.3);
}

.btn-outline-info:hover {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border-color: var(--info);
}

.btn-outline-light {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-outline-light:hover {
    background: var(--bg-body);
    color: var(--text-dark);
    border-color: #cbd5e1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .navbar-collapse {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {
    .content-wrapper {
        padding: 1.25rem;
    }

    .page-title {
        font-size: 1.35rem;
    }

    .action-toolbar {
        flex-direction: column;
    }

    .action-toolbar .btn {
        width: 100%;
    }

    .login-card {
        padding: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .login-header h1 {
        font-size: 1.4rem;
    }
}