/* Тёмная тема */
:root {
    --bs-body-bg: #111827;
    --bs-body-color: #f3f4f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.min-vh-100 {
    min-height: 100vh;
}

.card {
    border-radius: 12px;
}

.nav-link {
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd !important;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.form-control:focus {
    background-color: #1f2937 !important;
    border-color: #0d6efd !important;
    color: #f3f4f6 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
    color: #9ca3af;
}

.btn-primary:hover,
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn {
    transition: all 0.3s ease;
}

.alert {
    border-radius: 8px;
    border: none;
    animation: slideIn 0.3s ease;
}

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

.spinner-border {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
