.auth-container {
    max-width: 400px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #333;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #2a5298;
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1e3c72;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #2a5298;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.social-auth {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: white;
}

.social-btn.google {
    background: #db4437;
}

.social-btn.facebook {
    background: #4267B2;
}

.forgot-password,
.terms {
    text-align: center;
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.terms a {
    color: #2a5298;
    text-decoration: none;
}

/* Адаптація для мобільних */
@media (max-width: 480px) {
    .auth-container {
        margin: 10px;
        padding: 15px;
    }
    
    .social-auth {
        flex-direction: column;
    }
}