/* Основные стили формы авторизации */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background-color: #f8f9fa;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.auth-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.auth-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #d4af37;
}

.auth-logo {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-form {
    padding: 30px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    background-color: white;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 38px;
    color: #6c757d;
}

.toggle-password {
    cursor: pointer;
    color: #6c757d;
}

.toggle-password:hover {
    color: #1a1a2e;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 8px;
}

.forgot-password {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #d4af37;
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    transform: translateY(-2px);
}

.auth-footer {
    padding: 0 30px 30px;
    text-align: center;
    color: #6c757d;
}

.auth-link {
    color: #d4af37;
    font-weight: 500;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.social-auth {
    margin-top: 25px;
}

.divider {
    display: flex;
    align-items: center;
    color: #6c757d;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-social {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-social.google {
    background: #db4437;
    color: white;
}

.btn-social.facebook {
    background: #4267B2;
    color: white;
}

.btn-social.github {
    background: #333;
    color: white;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-header {
        padding: 20px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .auth-footer {
        padding: 0 20px 20px;
    }
}