/* Общий фон */
body {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf7 50%, #c9e4f2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Липкое меню */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a5276, #2471a3) !important;
}

/* Карточки с тенью */
section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(36, 113, 163, 0.15);
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #85c1e9;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(36, 113, 163, 0.25);
}

/* Заголовки в карточках */
section h2 {
    border-bottom: 2px solid #85c1e9;
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: #1a5276;
}

section h3 {
    color: #2471a3;
}

/* Таблицы */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: #d4eaf7;
}

/* Ссылки */
a {
    color: #2471a3;
}

a:hover {
    color: #1a5276;
}

/* Кнопка "Наверх" */
#topBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 18px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #85c1e9, #2471a3);
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(36, 113, 163, 0.3);
}

#topBtn:hover {
    background: linear-gradient(135deg, #2471a3, #1a5276);
    transform: scale(1.1);
}

/* Цветочек на главной */
.flower {
    text-align: center;
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
    margin: 20px 0;
    user-select: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Подвал */
footer {
    background: rgba(26, 82, 118, 0.05) !important;
    border-top: 2px solid #aed6f1;
}

/* Навигация */
.navbar-brand {
    color: #d4eaf7 !important;
    font-weight: bold;
}

.nav-link.active {
    background-color: rgba(133, 193, 233, 0.3) !important;
    border-radius: 5px;
}

/* Заголовок h1 */
h1 {
    color: #1a5276;
    margin-bottom: 20px;
}

/* Список группы */
.list-group-item {
    border-left: 3px solid #aed6f1;
}

.list-group-item:hover {
    background-color: #eaf2f8;
}

