/* static/css/style.css */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.navbar {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa !important;
}

/* Темная тема */
[data-bs-theme="dark"] .card {
    border-color: #444;
    background-color: #2d3748;
}

[data-bs-theme="dark"] .navbar {
    background-color: #1a202c !important;
    border-bottom-color: #4a5568;
}


.theme-switch {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.theme-switch:checked {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Иконки внутри переключателя */
/*
.theme-switch::before {
    content: "☀️";
    position: absolute;
    left: 45px;
    font-size: 0.8em;
    transition: all 0.3s ease;
}

.theme-switch:checked::before {
    content: "🌙";
    left: 45px;
}
*/

@media (max-width: 1024px) {
    .container, .container-sm {
        max-width: none !important;
    }
}