/*  █████╗ ██████╗ ██╗  ██╗██╗   ██╗ █████╗ ██╗   ██╗██╗   ████████╗
// ██╔══██╗██╔══██╗██║ ██╔╝██║   ██║██╔══██╗██║   ██║██║   ╚══██╔══╝
// ███████║██████╔╝█████╔╝ ██║   ██║███████║██║   ██║██║      ██║   
// ██╔══██║██╔═══╝ ██╔═██╗ ╚██╗ ██╔╝██╔══██║██║   ██║██║      ██║   
// ██║  ██║██║     ██║  ██╗ ╚████╔╝ ██║  ██║╚██████╔╝███████╗ ██║   
// ╚═╝  ╚═╝╚═╝     ╚═╝  ╚═╝  ╚═══╝  ╚═╝  ╚═╝ ╚═════╝ ╚══════╝ ╚═╝   
//
//                       APKVAULT PANEL
//
//                by @Phantom_681
//                https://t.me/Phantom_681                                  
*/

:root {
    --bg: #1a1d24;                     
    --bg-pattern: #0f1116;             
    --sidebar: #23272e;                
    --surface: #2c2f33;                
    --surface-hover: #36393e;          
    --border: #40444b;                 
    --text: #ffffff;                   
    --text-muted: #b9bbbe;             
    --primary: #5865f2;                
    --primary-hover: #4752c4;          
    --accent: #ff6b35;                 
    --success: #3ba55d;                
    --warning: #faa61a;                
    --danger: #ed4245;                
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    --radius: 6px;
    --radius-sm: 4px;
    
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    
    --transition: 0.2s ease;
}

.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: var(--border);
    --bs-accordion-border-radius: var(--radius);
    --bs-accordion-inner-border-radius: var(--radius);
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--text);
    --bs-accordion-btn-focus-border-color: var(--primary);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(88, 101, 242, 0.25);
}

.accordion-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    border-radius: var(--radius);
}

.accordion-button {
    background-color: var(--surface);
    color: var(--text);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--surface-hover);
    color: var(--text);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(88, 101, 242, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-collapse {
    border-top: 1px solid var(--border);
}

.accordion-body {
    background-color: var(--surface);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-pattern);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.03) 50%, transparent 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform var(--transition);
}

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

.sidebar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-item {
    margin: 0.25rem 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.9375rem;
}

.sidebar-nav-link:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.sidebar-nav-link.active {
    background: var(--surface);
    color: var(--text);
    border-left: 3px solid var(--primary);
    font-weight: 500;
}

.sidebar-nav-link i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding: 2rem;
    transition: margin-left var(--transition);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 1.25rem;
}

.sidebar-toggle:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.sidebar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow);
    padding: 0;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.card-header {
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    font-size: 0.9375rem;
}

.card-body {
    padding: 1.5rem;
    color: var(--text);
}

.card-title {
    color: var(--text);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.table {
    background: var(--surface) !important;
    color: var(--text) !important;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.table thead th {
    background: var(--surface-hover) !important;
    color: var(--text) !important;
    border-bottom: 2px solid var(--border) !important;
    padding: 0.75rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border) !important;
    transition: background var(--transition);
}

.table tbody tr:hover {
    background: var(--surface-hover) !important;
}

.table tbody td {
    padding: 0.75rem;
    color: var(--text) !important;
    border-color: var(--border) !important;
    vertical-align: middle;
}

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

.table-striped tbody tr:nth-of-type(odd) {
    background: var(--surface) !important;
}

.table-striped tbody tr:nth-of-type(odd):hover {
    background: var(--surface-hover) !important;
}

.table-responsive {
    background: transparent !important;
}

.table-responsive .table {
    background: var(--surface) !important;
}

.table tbody tr td {
    background: var(--surface) !important;
}

.table tbody tr:hover td {
    background: var(--surface-hover) !important;
}

.table tbody tr td.text-center,
.table tbody tr td.text-muted {
    background: var(--surface) !important;
    color: var(--text-muted) !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
select,
.form-control,
.form-select,
.form-control-sm,
.form-select-sm {
    background: var(--surface-hover) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius);
    padding: 0.625rem 0.875rem;
    transition: all var(--transition);
    font-size: 0.875rem;
    width: 100%;
}

.form-control-sm {
    padding: 0.375rem 0.625rem !important;
    font-size: 0.8125rem !important;
}

.form-select-sm {
    padding: 0.375rem 0.625rem !important;
    font-size: 0.8125rem !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    background: var(--surface-hover) !important;
    border-color: var(--primary) !important;
    color: var(--text) !important;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2) !important;
    outline: none !important;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
select::placeholder,
.form-control::placeholder,
.form-select::placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder,
.form-select::-webkit-input-placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

input[type="text"]::-moz-placeholder,
input[type="password"]::-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="url"]::-moz-placeholder,
input[type="number"]::-moz-placeholder,
textarea::-moz-placeholder,
.form-control::-moz-placeholder,
.form-select::-moz-placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="url"]:-ms-input-placeholder,
input[type="number"]:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.form-control:-ms-input-placeholder,
.form-select:-ms-input-placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--surface-hover) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    background-color: var(--surface-hover) !important;
    background: var(--surface-hover) !important;
    border-color: var(--border) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--surface-hover) inset, 0 0 0 3px rgba(88, 101, 242, 0.2) !important;
    -webkit-text-fill-color: var(--text) !important;
    background-color: var(--surface-hover) !important;
    background: var(--surface-hover) !important;
    border-color: var(--primary) !important;
}

input:-moz-autofill,
input:-moz-autofill-preview {
    background-color: var(--surface-hover) !important;
    background: var(--surface-hover) !important;
    color: var(--text) !important;
}

select option {
    background: var(--surface-hover) !important;
    color: var(--text) !important;
}

select.form-select option {
    background: var(--surface-hover) !important;
    color: var(--text) !important;
}

.form-label {
    color: var(--text);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

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

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3) !important;
    outline: none;
}

.btn-secondary {
    background: var(--surface) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

.btn-secondary:hover {
    background: var(--surface-hover) !important;
    border-color: var(--border-dark) !important;
    color: var(--text) !important;
}

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

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

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

.btn-outline-danger:hover {
    background: var(--danger) !important;
    color: #fff !important;
}

.btn-danger {
    background: var(--danger) !important;
    color: #fff !important;
    border-color: var(--danger) !important;
}

.btn-danger:hover {
    background: #c82333 !important;
    border-color: #bd2130 !important;
    color: #fff !important;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.badge {
    padding: 0.25em 0.5em;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.75rem;
}

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

.badge-success,
.bg-success {
    background: var(--success) !important;
    color: #fff !important;
}

.badge-warning,
.bg-warning {
    background: var(--warning) !important;
    color: #000 !important;
}

.badge-danger,
.bg-danger {
    background: var(--danger) !important;
    color: #fff !important;
}

.badge-info,
.bg-info {
    background: var(--primary) !important;
    color: #fff !important;
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(59, 165, 93, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(237, 66, 69, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(250, 166, 26, 0.15);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(88, 101, 242, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.list-group-item {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    padding: 0.75rem 1rem;
}

.list-group-item:hover {
    background: var(--surface-hover) !important;
}

.list-group-flush .list-group-item {
    border-left: none;
    border-right: none;
}

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

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

.border-primary {
    border-color: var(--primary) !important;
}

.container {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    color: var(--text);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
}

.stat-card {
    border-left: 3px solid var(--primary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

body.sidebar-closed .sidebar {
    transform: translateX(-100%);
}

body.sidebar-closed .main-content {
    margin-left: 0;
}

body.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

body.sidebar-closed .sidebar {
    transform: translateX(-100%);
}

body.sidebar-closed .main-content {
    margin-left: 0;
}

body.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
    
    body.sidebar-open::before {
        display: block;
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    .card-header {
        padding: 0.75rem var(--spacing-md);
    }
    
    .table {
        font-size: 0.8125rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.5rem;
    }
    
    .row .col-md-6,
    .row .col-md-4,
    .row .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group > .form-control {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .input-group > .btn {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-content {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 360px) {
    .login-card {
        padding: 1rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-header h5 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

.btn-close {
    filter: invert(1);
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 1;
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    background: transparent !important;
}

.row {
    background: transparent !important;
}

.col,
[class*="col-"] {
    background: transparent !important;
}

.form-check-input {
    background-color: var(--surface-hover) !important;
    border-color: var(--border) !important;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-label {
    color: var(--text) !important;
}

.modal-content {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.modal-header {
    background: var(--surface) !important;
    border-bottom-color: var(--border) !important;
}

.modal-body {
    background: var(--surface) !important;
    color: var(--text) !important;
}

.modal-footer {
    background: var(--surface) !important;
    border-top-color: var(--border) !important;
}

.dropdown-menu {
    background: var(--surface) !important;
    border-color: var(--border) !important;
}

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

.dropdown-item:hover {
    background: var(--surface-hover) !important;
    color: var(--text) !important;
}

.page-link {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.page-link:hover {
    background: var(--surface-hover) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.page-item.active .page-link {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.breadcrumb {
    background: transparent !important;
}

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

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

.nav-tabs {
    border-bottom-color: var(--border) !important;
}

.nav-tabs .nav-link {
    color: var(--text-muted) !important;
    background: transparent !important;
    border-color: transparent !important;
}

.nav-tabs .nav-link:hover {
    border-color: var(--border) var(--border) transparent !important;
    background: transparent !important;
}

.nav-tabs .nav-link.active {
    background: var(--surface) !important;
    border-color: var(--border) var(--border) var(--surface) !important;
    color: var(--text) !important;
}

.progress {
    background: var(--surface-hover) !important;
}

.progress-bar {
    background: var(--primary) !important;
}

.tooltip-inner {
    background: var(--surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

.popover {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.popover-header {
    background: var(--surface-hover) !important;
    border-bottom-color: var(--border) !important;
    color: var(--text) !important;
}

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

.modal-content {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.modal-header {
    background: var(--surface) !important;
    border-bottom-color: var(--border) !important;
    color: var(--text) !important;
}

.modal-body {
    background: var(--surface) !important;
    color: var(--text) !important;
}

.modal-footer {
    background: var(--surface) !important;
    border-top-color: var(--border) !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

body,
html {
    background: var(--bg-pattern) !important;
}

.drag-handle {
    cursor: move;
    user-select: none;
    text-align: center;
}

.drag-handle:hover {
    color: var(--primary) !important;
}

.sortable-ghost {
    opacity: 0.4;
    background: var(--surface-hover) !important;
}

.sortable-drag {
    opacity: 0.8;
}
