.auth-section {
    padding: 40px 0 80px;
    min-height: 60vh;
}

.auth-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background-color: #1616185e;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #272729;
    backdrop-filter: blur(10px);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: #8F9193;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    color: #e2e8f0;
    background-color: rgba(81, 237, 255, 0.05);
}

.auth-tab.active {
    color: #fff;
    background: rgb(22, 22, 24, .18);
    border: 1px solid #272729;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 1.8rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 1px solid #272729;
    background: #16161899;
    border-radius: 12px;
    font-size: 1rem;
    color: #e2e8f0;
    transition: all 0.3s ease;
}
.auth-form .form-group{
    width: 100%;
}
.form-group input:focus {
    outline: none;
    border-color: #51edff;

}

.form-group input::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.input-icon {
    position: absolute;
    right: 15px;
    bottom: 20px;
    color: #51edff;
    font-size: 1.1rem;
    opacity: 0.7;
}

.password-toggle {
    position: absolute;
    right: 40px;
    bottom: 15px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #51edff;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.checkbox-label a {
    color: #51edff;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #51edff;
    text-decoration: none;
    font-size: 0.95rem;
}

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

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background:  #51edff;
    color: #0a0a0a;
    border: none;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;

    letter-spacing: 0.5px;

    gap: 10px;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(81, 237, 255, 0.6);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 70px);
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    padding: 0 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    color: #8F9193;
    background-color: #1616185e;
    border: 1px solid #272729;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    background-color: rgba(81, 237, 255, 0.1);
    border-color: #51edff;
    transform: translateY(-2px);
}

.social-btn.telegram:hover {
    color: #51edff;
}

.social-btn.google:hover {
    color: #ef4444;
}

.social-btn i {
    font-size: 1.2rem;
}

.auth-footer {
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #51edff;
    text-decoration: none;
    font-weight: 600;
}

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

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

.terms-group .checkbox-label {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .auth-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
    
    .social-login {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 25px 15px;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

.auth-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.auth-alert.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.auth-alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}