.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -200px;
    right: -150px;
}

.auth-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -100px;
    left: -100px;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 420px;
    padding: 44px 40px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo h1 {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.auth-logo p {
    color: var(--dark-light);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.auth-form .form-group {
    margin-bottom: 22px;
}

.auth-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-form .form-group .input-wrapper {
    position: relative;
}

.auth-form .form-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
    transition: color 0.3s ease;
}

.auth-form .form-group input {
    padding-left: 46px;
    padding-right: 16px;
    height: 50px;
    border: 2px solid var(--gray-light);
    border-radius: 14px;
    font-size: 14px;
    background: var(--gray-lighter);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-form .form-group input:focus {
    border-color: #667eea;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.auth-form .form-group input:focus + .input-icon,
.auth-form .form-group input:focus ~ .input-icon {
    color: #667eea;
}

.auth-form .form-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    padding-left: 2px;
}

.auth-form .btn-submit {
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.auth-form .btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--dark-light);
}

.auth-footer a {
    font-weight: 600;
    color: #667eea;
}

.auth-footer a:hover {
    color: #764ba2;
}

.auth-tabs {
    display: flex;
    margin-bottom: 32px;
    background: var(--gray-lighter);
    border-radius: 12px;
    padding: 4px;
    position: relative;
}

.auth-tab {
    flex: 1;
    padding: 11px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-light);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.auth-tab:hover:not(.active) {
    color: var(--dark);
}

.auth-tab.active {
    background: var(--white);
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
}
