/* css/theme-styles.css */

/* Общие стили для темы */
:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

/* Темная тема */
[data-bs-theme="dark"] {
    --dark: #f8fafc;
    --light: #1e293b;
    --primary: #818cf8;
    --secondary: #a78bfa;
}

[data-bs-theme="dark"] body {
    background-color: #0f172a;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #1e293b !important;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content,
[data-bs-theme="dark"] .lawyer-card,
[data-bs-theme="dark"] .p-4.bg-white {
    background-color: #1e293b;
    border-color: #334155;
    color: #000000;
}

[data-bs-theme="dark"] .text-muted {
    color: #94a3b8 !important;
}

[data-bs-theme="dark"] .list-group-item {
    background-color: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .btn-outline-primary {
    color: #818cf8;
    border-color: #818cf8;
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: #818cf8;
    color: #fff;
}

[data-bs-theme="dark"] .navbar {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

[data-bs-theme="dark"] footer {
    background-color: #020617;
}

[data-bs-theme="dark"] .time-slot {
    border-color: #334155;
}

[data-bs-theme="dark"] .time-slot:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

[data-bs-theme="dark"] .specialization-badge {
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
}

[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(124, 58, 237, 0.9) 100%);
}

[data-bs-theme="dark"] .video-overlay {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
}

[data-bs-theme="dark"] a {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .rounded-pill {
    color: #000000;
}

[data-bs-theme="dark"] .card-body {
    color: #ffffff;
}

[data-bs-theme="dark"] .dtheme {
    color: #ffffff;
}

[data-bs-theme="dark"] .login-option h4 {
    color: #000000;
}

[data-bs-theme="dark"] .login-option p {
    color: #000000;
}

[data-bs-theme="dark"] .registration-option h4 {
    color: #000000;
}

[data-bs-theme="dark"] .registration-option p {
    color: #000000;
}


[data-bs-theme="dark"] .forgot-password a {
    color: #000000;
}


[data-bs-theme="dark"] .theme-switcher:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .time-slot.booked {
    background-color: #1e1b4b;
    color: #94a3b8;
}