/* ===================
   registr.css
   Стиль для страницы регистрации
=================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    color: #37474f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===================
   Декор
=================== */
.decoration {
    position: absolute;
    z-index: 0;
}

.decoration-1 {
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    border: 15px solid rgba(143, 194, 223, 0.15);
    border-radius: 50%;
}

.decoration-2 {
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 10px solid rgba(99, 181, 229, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.decoration-3 {
    top: 40%;
    left: 10%;
    width: 80px;
    height: 80px;
    border: 8px solid rgba(73, 160, 211, 0.1);
    transform: rotate(45deg);
}

/* ===================
   Контейнер регистрации
=================== */
.registration-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===================
   Хедер
=================== */
header {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(13, 110, 165, 0.1);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    animation: pulse 2s infinite ease-in-out;
}

.logo-icon {
    font-size: 2.5rem;
    color: #1e88e5;
    margin-right: 10px;
}

header h1 {
    font-size: 2.2em;
    color: #1565c0;
    font-weight: 600;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.main-nav a {
    text-decoration: none;
    color: #1565c0;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}

.main-nav a:hover {
    color: #0d47a1;
    background: rgba(13, 71, 161, 0.1);
}

/* ===================
   Карточка регистрации
=================== */
.registration-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(13, 110, 165, 0.1);
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.registration-card h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #0d47a1;
    position: relative;
}

.registration-card h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #0d47a1);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* ===================
   Форма регистрации
=================== */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registration-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #37474f;
    font-weight: 500;
    font-size: 14px;
}

.registration-form input,
.registration-form select {
    padding: 15px;
    border: 2px solid #e1f5fe;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fdff;
}

.registration-form input:focus,
.registration-form select:focus {
    outline: none;
    border-color: #1e88e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.registration-form input::placeholder {
    color: #90a4ae;
}

/* Стили для файлового инпута */
.registration-form input[type="file"] {
    padding: 12px;
    background: white;
    border: 2px dashed #e1f5fe;
}

.registration-form input[type="file"]:focus {
    border-color: #1e88e5;
    border-style: solid;
}

/* ===================
   Кнопки
=================== */
.btn-cta {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
}

.btn-cta:hover {
    background: linear-gradient(90deg, #0d47a1, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ===================
   Футер
=================== */
footer {
    background: linear-gradient(90deg, #0d47a1, #1565c0);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: 40px;
}

.contact-info {
    text-align: center;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-details p {
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.map iframe {
    border-radius: 15px;
    margin: 20px 0;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* ===================
   Анимации
=================== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===================
   Адаптивность
=================== */
@media (max-width: 768px) {
    .registration-container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .registration-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .registration-card h2 {
        font-size: 1.6em;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .registration-card {
        padding: 20px;
    }
    
    .registration-card h2 {
        font-size: 1.4em;
    }
    
    .registration-form input,
    .registration-form select {
        padding: 12px;
    }
    
    .btn-cta {
        padding: 14px 25px;
        font-size: 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
}