/* White Theme Override for Admin Panel */

/* Body and main containers */
body {
    background: white !important;
}

body::before {
    display: none !important;
}

.admin-container {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.admin-container::before {
    display: none !important;
}

/* Header */
.admin-header {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #e5e7eb !important;
}

.admin-header::before,
.admin-header::after {
    display: none !important;
}

/* Navigation */
.admin-nav {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.admin-nav::before {
    display: none !important;
}

.nav-tab {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #e5e7eb !important;
}

.nav-tab::before {
    display: none !important;
}

.nav-tab:hover {
    background: white !important;
    backdrop-filter: none !important;
}

.nav-tab.active {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #4a90e2 !important;
}

/* Main content */
.admin-main {
    background: white !important;
}

/* Section headers */
.section-header {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

.section-header::before {
    display: none !important;
}

/* Form grids */
.form-grid {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Form elements */
.form-group input,
.form-group textarea,
.form-group select {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #d1d5db !important;
}

/* Buttons */
.btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.btn::before {
    display: none !important;
}

.btn-secondary {
    background: white !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

.btn-secondary:hover {
    background: #f9fafb !important;
}

/* Item cards */
.item-card {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #e5e7eb !important;
}

.item-card::before,
.item-card::after {
    display: none !important;
}

.item-card:hover {
    background: white !important;
}

.enhanced-card {
    background: white !important;
}

.enhanced-card:hover {
    background: white !important;
}

/* Skill items */
.skill-item {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

.skill-item::before {
    display: none !important;
}

.skill-item:hover {
    background: white !important;
}

/* Profile photo section */
.profile-photo-section {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Stats cards */
.pdf-stat-card,
.cv-stat-card {
    background: white !important;
}

/* Filters and containers */
.cv-filters-section,
.cv-requests-container,
.pdf-requests-container {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Request items */
.cv-request-item,
.pdf-request-item {
    background: white !important;
}

.cv-request-item:hover {
    background: #f9fafb !important;
}

/* Upload areas */
.image-upload-area,
.multi-image-upload {
    background: white !important;
    border: 2px dashed #d1d5db !important;
}

.image-upload-area:hover,
.multi-image-upload:hover {
    background: #f9fafb !important;
}

/* Image gallery */
.image-gallery,
.image-preview-grid {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

.image-item,
.image-preview-item {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Links container */
.links-container {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Field groups */
.field-group {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

/* Progress items */
.progress-item {
    background: white !important;
}

/* Login overlay */
.login-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
}

.login-container,
.login-card {
    background: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove all dark theme overrides */
[data-theme="dark"] * {
    background: white !important;
    color: #374151 !important;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: white !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #9ca3af !important;
}