@font-face {
font-family: 'Arimo';
    src: url('fonts/ArimoRegular.ttf')
}
/* Чтобы подвал прилипал к низу */
body {
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}

main {
    flex: 1;
}

.main-footer {
    margin-top: 0;
}
header{
        background-color: #1d1d1d;
}
body{
    background-color: #cee8f0;
    font-family: 'Arimo';
}

/*header*/
.main-header img{
    margin-left: 2%;
    margin-top: 2%;
}

.main-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header li{
    display: inline-block;
    list-style-type: none;
    margin-right: 5%;
}

.main-header a{
    list-style-type: none;
    text-decoration: none;
    color: rgb(205, 205, 205);
    font-size: 20px;
}

.main-header ul{
    margin-left: 70%;
}

/* Главная страница */
.info {
    margin-top: 5%;
    margin-left: 24%;
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 64px;
    padding: 64px 48px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.08),
        0 10px 30px rgba(102, 126, 234, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    animation: floatIn 0.8s ease-out;
}

.info h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a1f36 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info h1 span {
    background: linear-gradient(135deg,rgb(34, 166, 202) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a5568;
    max-width: 650px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.info button {
    background: linear-gradient(135deg, rgb(34, 166, 202) 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 20px 30px -8px rgba(102, 126, 234, 0.4),
        0 8px 15px rgba(0, 0, 0, 0.05),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.info button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.info button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 30px 40px -8px rgba(102, 126, 234, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.08);
}

.info button:hover::before {
    left: 100%;
}

.info button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 15px 25px -5px rgba(102, 126, 234, 0.4),
        0 5px 10px rgba(0, 0, 0, 0.05);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Стили для страницы регистрации */
.formreg h3{
    text-align: center;
}

.formreg p{
    text-align: center;
}

.formreg {
    margin-left: 35%;
    margin-top: 3%;
    width: 100%;
    max-width: 540px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 40px 32px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.formreg form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formreg label {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    padding-left: 8px;
}

.formreg input[type="text"],
.formreg input[type="email"],
.formreg input[type="password"] {
    width: 90%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 15px;
    color: #1a202c;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.formreg input[type="text"]:hover,
.formreg input[type="email"]:hover,
.formreg input[type="password"]:hover {
    border-color: #cbd5e0;
    background: #fafafa;
}

.formreg input[type="text"]:focus,
.formreg input[type="email"]:focus,
.formreg input[type="password"]:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.formreg input[type="text"]::placeholder,
.formreg input[type="email"]::placeholder,
.formreg input[type="password"]::placeholder {
    color: #a0aec0;
    font-weight: 300;
}

.formreg button,
.formreg input[type="button"] {
    background: rgb(34, 166, 202); 
    color: white;
    border: none;
    padding: 18px 28px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.formreg button:hover,
.formreg input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(102, 126, 234, 0.4);
    background: rgb(34, 166, 202);
}

.formreg button:active,
.formreg input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Стили для страницы входа */
.login-form {
    margin-left: 35%;
    margin-top: 3%;
    width: 100%;
    max-width: 540px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 40px 32px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-form h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a1f36;
}

.login-form p {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    padding-left: 8px;
}

.login-field input {
    width: 90%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 15px;
    color: #1a202c;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.login-field input:hover {
    border-color: #cbd5e0;
    background: #fafafa;
}

.login-field input:focus {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.login-field input::placeholder {
    color: #a0aec0;
    font-weight: 300;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.login-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #57c3e7;
}

.login-checkbox label {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    padding: 0;
}

.login-forgot {
    color: rgb(34, 166, 202);
    text-decoration: none;
    font-size: 14px;
}

.login-forgot:hover {
    text-decoration: underline;
}

.login-button {
    background:  #57c3e7;
    color: white;
    border: none;
    padding: 18px 28px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(102, 126, 234, 0.4);
    background:  #57c3e7;
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.login-links {
    text-align: center;
    margin-top: 25px;
    color: #718096;
}

.login-links a {
    color:  #57c3e7;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-back {
    text-align: center;
    margin-top: 15px;
}

.login-back a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
}

.login-back a:hover {
    color:  #57c3e7;
}

.login-error {
    background: #fee;
    border: 1px solid #e53e3e;
    color: #e53e3e;
    padding: 15px;
    border-radius: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.login-success {
    background: #e6f7e6;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 15px;
    border-radius: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Стили для поля пароля с иконкой */
.password-field input {
    padding-right: 45px !important;
}

#togglePassword {
    font-size: 18px;
    background: transparent;
    transition: color 0.3s ease;
    z-index: 2;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    color: #a0aec0;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#togglePassword:hover {
    color:  #57c3e7;
}

/* Стили для страницы личного кабинета */
.dashboard {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

/* Приветственная карточка */
.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 30px 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-text h2 {
    font-size: 28px;
    color: #1a1f36;
    margin-bottom: 8px;
}

.welcome-text p {
    color: #4a5568;
    font-size: 16px;
}

.streak-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.streak-icon {
    font-size: 24px;
}

.streak-count {
    font-weight: 600;
    font-size: 16px;
}

/* Сетки */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.workout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

/* Карточки */
.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 20px;
    color: #1a1f36;
    font-weight: 600;
}

.card-link {
    color:  #57c3e7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #764ba2;
}

/* Прогресс */
.progress-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgb(34, 166, 202) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 10px 20px rgba(34, 166, 202, 0.3);
}

.stat-number {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    color: #4a5568;
    font-size: 14px;
}

/* Быстрые настройки */
.quick-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setting-item label {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
    padding-left: 8px;
}

.setting-select {
    padding: 12px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 14px;
    color: #1a202c;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.setting-select:hover {
    border-color: #cbd5e0;
}

.setting-select:focus {
    border-color:  #57c3e7;
    box-shadow: 0 0 0 4px rgba(34, 166, 202, 0.1);
}

.setting-save {
    background:  #57c3e7;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.setting-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 166, 202, 0.3);
}

/* Рекомендованные тренировки */
.recommended-section {
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.section-header h3 {
    font-size: 20px;
    color: #1a1f36;
}

.section-link {
    color:  #57c3e7;
    text-decoration: none;
    font-size: 14px;
}

.workout-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.workout-card:hover {
    transform: translateX(5px);
    border-color:  #57c3e7;
    box-shadow: 0 15px 30px rgba(34, 166, 202, 0.1);
}

.workout-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(34, 166, 202, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color:  #57c3e7;

.workout-info h4 {
    font-size: 16px;
    color: #1a1f36;
    margin-bottom: 5px;
}

.workout-meta {
    display: flex;
    gap: 15px;
    color: #718096;
    font-size: 13px;
}

/* История */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.history-item:last-child {
    border-bottom: none;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-date {
    font-size: 13px;
    color: #718096;
}

.history-name {
    font-size: 15px;
    color: #1a1f36;
    font-weight: 500;
}

.history-duration {
    background: #f0f4f8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #4a5568;
}

/* Достижения */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.achievement-item {
    text-align: center;
    padding: 15px 10px;
    background: #f7fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(34, 166, 202, 0.05);
    transform: scale(1.05);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: white;
}

.achievement-item span {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

/* Статистика */
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color:  #57c3e7;
    margin-bottom: 5px;
}

.stat-desc {
    color: #718096;
    font-size: 14px;
}

/* Сообщения */
.dashboard-success {
    background: #e6f7e6;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 15px;
    border-radius: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .info {
        margin-left: 10%;
        width: 80%;
    }
    
    .formreg,
    .login-form {
        margin-left: 25%;
        width: 50%;
    }
    
    .workout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main-header ul {
        margin-left: 0;
        justify-content: center;
        padding: 0;
    }
    
    .info {
        margin-left: 5%;
        width: 90%;
        padding: 40px 25px;
    }
    
    .info h1 {
        font-size: 40px;
    }
    
    .info h3 {
        font-size: 18px;
    }
    
    .formreg,
    .login-form {
        margin-left: 5%;
        width: 90%;
        padding: 30px 25px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .workout-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .welcome-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .progress-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-circle {
        width: 70px;
        height: 70px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    #togglePassword {
        right: 10px;
        font-size: 16px;
        width: 25px;
        height: 25px;
    }
    
    .password-field input {
        padding-right: 40px !important;
    }
}

@media (max-width: 480px) {
    .info h1 {
        font-size: 32px;
    }
    
    .info h3 {
        font-size: 16px;
    }
    
    .info button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .formreg,
    .login-form {
        padding: 25px 20px;
    }
    
    .dashboard {
        padding: 0 15px;
    }
    
    .welcome-text h2 {
        font-size: 24px;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .workout-card {
        flex-direction: column;
        text-align: center;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .login-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
/* Стили только для страницы подбора тренировок */
.preferences-form {
    max-width: 1000px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

.preferences-form h3 {
    text-align: center;
    font-size: 32px;
    color: #1a1f36;
    margin-bottom: 10px;
}

.preferences-form > p {
    text-align: center;
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 16px;
}

.form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-section h4 {
    font-size: 20px;
    color: #1a1f36;
    margin-bottom: 20px;
    padding-left: 5px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.option-card {
    position: relative;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.option-card:hover {
    border-color:  #57c3e7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(34, 166, 202, 0.1);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card:has(input:checked) {
    border-color:  #57c3e7;
    background: rgba(34, 166, 202, 0.05);
    box-shadow: 0 0 0 3px rgba(34, 166, 202, 0.2);
}

.option-icon {
    font-size: 36px;
    margin-bottom: 5px;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1f36;
}

.option-desc {
    font-size: 12px;
    color: #718096;
}

/* Для чекбоксов */
.option-card.checkbox:has(input:checked) {
    border-color:  #57c3e7;
    background: rgba(34, 166, 202, 0.05);
}

/* Кнопки */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, rgb(34, 166, 202) 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(34, 166, 202, 0.3);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 166, 202, 0.4);
}

.btn-reset {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 16px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.btn-reset:hover {
    border-color: #cbd5e0;
    background: #edf2f7;
}

.btn-back {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.btn-back:hover {
    border-color:  #57c3e7;
    color:  #57c3e7;
}

/* Результаты */
.results-section {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

.results-section h3 {
    text-align: center;
    font-size: 32px;
    color: #1a1f36;
    margin-bottom: 10px;
}

.results-section > p {
    text-align: center;
    color: #4a5568;
    margin-bottom: 40px;
}

.workouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.workout-result-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.workout-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 166, 202, 0.15);
    border-color:  #57c3e7;
}

.workout-thumbnail {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(34, 166, 202, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color:  #57c3e7;
}

.workout-result-card h4 {
    font-size: 18px;
    color: #1a1f36;
    margin-bottom: 8px;
}

.workout-result-card p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.workout-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.workout-tag {
    background: #f0f4f8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #4a5568;
}

.workout-button {
    background:  #57c3e7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.workout-button:hover {
    background: #2c3e50;
}

.preferences-success {
    background: #e6f7e6;
    border: 1px solid #10b981;
    color: #10b981;
    padding: 15px;
    border-radius: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .preferences-form h3 {
        font-size: 28px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit, .btn-reset {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }
    
    .option-icon {
        font-size: 24px;
        margin-bottom: 0;
    }
}}

/* Админ-панель - стили для отзывов */
.admin-table .rating-stars {
    white-space: nowrap;
}

.admin-table .rating-stars .star {
    font-size: 14px;
}

.btn-approve, .btn-view, .btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-approve:hover, .btn-view:hover, .btn-delete:hover {
    transform: scale(1.1);
}

.btn-approve { color: #10b981; }
.btn-view { color: #3b82f6; }
.btn-delete { color: #ef4444; }

.filter-select, .filter-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: rgb(34, 166, 202);
    box-shadow: 0 0 0 2px rgba(34, 166, 202, 0.2);
}

/* Модальное окно */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #1a1f36;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
    color: #718096;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

/* Пагинация */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
}

.pagination .active span {
    background: rgb(34, 166, 202);
    color: white;
    border-color: rgb(34, 166, 202);
}

/* Header - обновленные стили */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 230px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav {
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    list-style: none;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: rgb(205, 205, 205);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(34, 166, 202, 0.2);
    color: rgb(34, 166, 202);
    border-color: rgba(34, 166, 202, 0.3);
    transform: translateY(-2px);
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    white-space: nowrap;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .main-header {
        padding: 12px 20px;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a,
    .logout-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .logo img {
        width: 200px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .main-nav a,
    .logout-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .logo img {
        width: 200px;
    }
}
