/* /admin/assets/css/admin-style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-main: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --sidebar-bg: #1e293b;
    --sidebar-text: #cbd5e1;
    --sidebar-hover: #334155;
    --sidebar-width: 260px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar-header {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: var(--sidebar-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    gap: 0.75rem;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background: var(--sidebar-hover);
    color: white;
}

.sidebar-menu li a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.logout-item {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Content Area */
.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.mobile-nav {
    display: none;
    background: white;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 900;
}

.content {
    padding: 2rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.025em;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background-color: #f8fafc;
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-main);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #fcfcfd;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary { background: #e0e7ff; color: #4338ca; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-error { background: #fee2e2; color: #b91c1c; }
.badge-warning { background: #fef3c7; color: #b45309; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    text-decoration: none;
    border: 1px solid transparent;
    -webkit-appearance: none;
    appearance: none;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.menu-toggle:hover {
    color: var(--primary);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-dark {
    background: #1e293b;
    color: white;
    border: 1px solid transparent;
}

.btn-dark:hover {
    background: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn-azure {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    border: 1px solid transparent;
}

.btn-azure:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #0284c7, #4f46e5);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-copy-mini {
    background: none;
    border: none;
    padding: 2px 6px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-copy-mini:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.btn-secondary {
    background: var(--bg-main);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

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

.btn-sm {
    height: 32px;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    line-height: normal;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text-main);
    transition: all 0.2s;
    background-color: #fcfcfd;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background-color: #fff;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text-main);
    transition: all 0.2s;
    background-color: #fcfcfd;
}

.form-control-sm {
    padding: 0.25rem 0.5rem !important;
    height: auto !important;
    width: auto !important;
    font-size: 0.875rem !important;
}

.form-row-flex {
    display: flex;
    gap: 0.5rem;
}

.form-row-flex .flex-grow-1 {
    flex-grow: 1;
}

.form-row-flex select {
    width: auto;
    min-width: 100px;
}

.form-input-disabled {
    background: #f1f5f9 !important;
    color: var(--text-muted) !important;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success { background-color: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-error { background-color: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* Grid for dashboards */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .grid-container-2col {
        grid-template-columns: 400px 1fr;
    }
}

/* Preview Area (from rekonsiliasi) */
.preview-area {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow: auto;
    max-height: 600px;
    min-height: 300px;
    white-space: pre-wrap;
    position: relative;
    border: 1px solid #1e293b;
}

.preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.preview-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.empty-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    height: 100%;
    gap: 1rem;
    text-align: center;
    margin-top: 4rem;
}

.empty-preview i {
    font-size: 3rem;
    opacity: 0.2;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
    }

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

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .content {
        padding: 1.5rem;
    }

    .mobile-nav-title {
        font-weight: 700;
        font-size: 1.125rem;
        color: var(--text-main);
    }
    
    .sidebar-header .menu-toggle {
        display: flex !important;
        color: white;
    }
}

/* Utilities */
.text-muted { color: var(--text-muted); }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-blue { color: var(--primary); }
.text-danger { color: #ef4444; }
.text-warning { color: #f59e0b; }
.text-success { color: #10b981; }

/* Status Badges & Dropdowns */
.badge-active { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-inactive { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.bg-active { background: #10b981 !important; }
.bg-inactive { background: #cbd5e1 !important; }

.status-dropdown {
    position: fixed;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: none;
    min-width: 180px;
    padding: 0.5rem;
    overflow: hidden;
}

.status-dropdown.open {
    display: block;
    animation: slideUp 0.2s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-opt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.status-opt:hover {
    background: #f8fafc;
    color: var(--primary);
}

.status-opt.active-opt {
    background: #f1f5f9;
    color: var(--primary);
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Column Visibility Toggles */
.col-toggle-wrapper {
    position: relative;
}

.col-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.75rem;
}

.col-dropdown.open {
    display: block;
}

.col-dropdown-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.col-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.8125rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.col-option:hover {
    background: #f8fafc;
}

/* Progress Logs (for Kick/Mass Actions) */
.progress-log {
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
    position: relative;
}

.log-item {
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
}

.log-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background: #cbd5e1;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--card-bg);
    transition: all 0.3s;
}

.log-item.active::before {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.log-item.success::before {
    background: #10b981;
}

.step-title {
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.log-detail {
    color: var(--text-main);
}

.log-substep {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Standalone Progress Page (Kick/Delete Massal) */
body.progress-page {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: var(--bg-main);
}

body.progress-page .card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

body.progress-page .card h1 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.btn-done {
    display: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-done .btn {
    display: inline-flex;
}

/* Summary box for progress results */
.progress-summary {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.progress-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
}

.progress-summary .summary-row + .summary-row {
    border-top: 1px solid var(--border-color);
}

.progress-summary .summary-label {
    color: var(--text-muted);
    font-weight: 500;
}

.progress-summary .summary-value {
    font-weight: 700;
    color: var(--text-main);
}

.progress-summary .summary-value.text-success { color: #10b981; }
.progress-summary .summary-value.text-danger { color: #ef4444; }

@media (max-width: 640px) {
    body.progress-page {
        padding: 1rem;
    }
    body.progress-page .card {
        padding: 1.25rem;
    }
    body.progress-page .card h1 {
        font-size: 1.125rem;
    }
    .progress-log {
        padding-left: 1rem;
    }
    .log-item::before {
        left: -1rem !important;
    }
}

/* Additional Layout Helpers */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.limit-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.limit-wrapper label {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.25rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: #f5f3ff;
}

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

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

.action-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Login Page Styling */
.login-page-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #f8fafc;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float-shape 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(99, 102, 241, 0.2);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background-color: rgba(168, 85, 247, 0.15);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float-shape {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 60px) scale(0.9); }
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    z-index: 10;
}

.login-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.logo-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
}

.logo-container svg {
    width: 32px;
    height: 32px;
    color: white;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    transition: color 0.3s;
}

.login-card input[type="text"], 
.login-card input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.login-card input:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.login-card input:focus + .input-icon {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.checkbox-custom {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.checkbox-custom:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.login-footer a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.inline-form {
    display: inline;
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-bold { font-weight: 700; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.p-16 { padding: 4rem; }

.cursor-pointer { cursor: pointer; }
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem; }
.w-40px { width: 40px; }
.pl-10 { padding-left: 2.5rem; }

.input-icon-container {
    position: relative;
}

.input-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Search area adjusted for Bootstrap */
.search-box {
    display: flex;
    align-items: center;
}

/* Dashboard Specific */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 0 !important;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.dashboard-card i {
    font-size: 2.5rem;
    color: var(--primary);
}

.dashboard-card span {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.text-description {
    color: var(--text-muted);
    line-height: 1.6;
}
