/* Стили для страницы регистрации */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa8a8 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.navigation {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 0 30px 30px 30px;
    border-left: 5px solid #ff6b6b;
}

.nav-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.nav-list li {
    margin: 5px 0;
}

.nav-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-list a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.nav-list a.active {
    
    color: white;
    transform: translateY(-2px);
    
}

.section-title {
    color: #495057;
    font-weight: 600;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    text-align: center;
    margin: 0 30px 30px 30px;
}

/* Стили для формы */
.form-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
    margin: 0 30px;
    transition: all 0.3s ease;
}

.form-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-lg {
    padding: 15px 20px;
    font-size: 16px;
}

/* Кнопки */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.home-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa8a8 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin: 0 10px;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .navigation {
        padding: 15px;
        margin: 0 15px 20px 15px;
    }
    
    .section-title {
        margin: 0 15px 20px 15px;
    }
    
    .form-content {
        padding: 20px;
        margin: 0 15px;
    }
    
    .nav-list {
        grid-template-columns: 1fr;
    }
    
    .nav-list a {
        text-align: center;
        justify-content: center;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .home-btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-control-lg {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .home-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .navigation,
    .section-title,
    .form-content {
        margin: 0 10px 15px 10px;
    }
}