/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    padding: 20px;
}

/* Верхняя панель */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.training-status {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

#boost-button {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#boost-button:hover {
    background-color: #45a049;
}

/* Цитата дня */
.quote-of-the-day {
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
    color: #d3d3d3; /* Серый цвет */
}

/* Основной блок с логотипом и количеством тренировок */
.main-statistics {
    text-align: center;
    margin-bottom: 30px;
}

.circle-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #32a852, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(50, 168, 82, 0.5);
}

#total-trainings {
    font-size: 24px;
    font-weight: bold;
}

.encryption-info {
    margin-top: 10px;
    font-size: 12px;
    color: #9e9e9e;
}

/* Прогресс уровня */
.level-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.progress-bar {
    width: 70%;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #9acd32;
    border-radius: 5px;
}

/* Нижняя навигация */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: #333;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.nav-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s;
}

.nav-button:hover {
    color: #9acd32;
}

.nav-button img {
    width: 32px;
    height: 32px;
    filter: brightness(0.8) saturate(0) contrast(1.2);
}

.nav-button img:hover {
    filter: none;
}

.training-icon {
    width: 64px;
    height: 64px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Стили для кнопок тренировок */
.training-button {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 15px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px auto;
    display: block;
    width: 80%;
    max-width: 300px;
    text-align: center;
    transition: background-color 0.3s;
}

.training-button:hover {
    background-color: #45a049;
}

/* Страница профиля */
.profile-container {
    text-align: center;
    padding: 20px;
}

.profile-level {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #9acd32;
}

.profile-statistics {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 20px auto;
    max-width: 400px;
}

.profile-statistics p {
    margin: 10px 0;
    font-size: 16px;
    color: #d3d3d3;
}

.profile-statistics .highlight {
    color: #ffffff;
    font-weight: bold;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Анимация пульсации для центрального кружка */
@keyframes pulse {
    0% {
        transform: scale(1);       /* Начальный размер */
        box-shadow: 0 0 15px rgba(50, 168, 82, 0.6);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);    /* Увеличение на 5% */
        box-shadow: 0 0 25px rgba(50, 168, 82, 0.4);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);       /* Возвращение к исходному размеру */
        box-shadow: 0 0 15px rgba(50, 168, 82, 0.6);
        opacity: 1;
    }
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #32a852, #2e7d32); /* Зеленый градиент */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(50, 168, 82, 0.5);
    animation: pulse 2s infinite ease-in-out; /* Добавление анимации пульсации */
}

.profile-user-name {
    font-size: 24px;
    font-weight: bold;
    color: #32a852; /* Зеленый цвет */
    margin-top: 20px;
}

.profile-level {
    font-size: 20px;
    color: #9acd32; /* Оттенок зелёного для уровня */
    margin-bottom: 20px;
}
