* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #f5f5f5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.container {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero {
    flex: 1;
    background: linear-gradient(120deg, #4caf50, #2e7d32);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #4caf50;
    border-bottom: 2px solid #4caf50;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.btn {
    width: 100%;
    padding: 14px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #388e3c;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #777;
}

.form-footer a {
    color: #4caf50;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .container {
    flex-direction: column;
    }

    .hero {
    padding: 30px 20px;
    }

    .form-section {
    padding: 30px 20px;
    }
}