/* ============================================
   EpinX - Auth Pages Stylesheet
   Premium Gaming Login/Register Design
   ============================================ */

/* Auth Body */
.auth-body {
    min-height: 100vh;
    background: #0a0a0f;
    overflow-x: hidden;
}

/* Animated Background */
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.auth-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
    bottom: -50px;
    right: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
}

/* Auth Branding - Left Side */
.auth-branding {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    position: relative;
}

@media (max-width: 1024px) {
    .auth-branding {
        display: none;
    }
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.auth-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.auth-logo .logo-accent {
    font-family: 'Edo', sans-serif;
    font-size: 2.3rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-branding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
}

.auth-branding-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-branding-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Auth Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.auth-feature:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(8px);
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.auth-feature-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-branding-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-branding-footer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Auth Form Wrapper - Right Side */
.auth-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
    .auth-form-wrapper {
        border-left: none;
        min-height: 100vh;
    }
}

/* Auth Form Container */
.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Auth Alert */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    position: relative;
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-alert.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #FCA5A5;
}

.auth-alert.error > i:first-child {
    color: #EF4444;
}

.auth-alert.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6EE7B7;
}

.auth-alert.success > i:first-child {
    color: #10B981;
}

.auth-alert.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #FCD34D;
}

.auth-alert.warning > i:first-child {
    color: #F59E0B;
}

.auth-alert > i:first-child {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-alert-content {
    flex: 1;
    min-width: 0;
}

.auth-alert-title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: inherit;
}

.auth-alert ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.auth-alert ul li {
    position: relative;
    padding: 0.125rem 0;
    line-height: 1.5;
}

.auth-alert ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: currentColor;
    opacity: 0.6;
}

.auth-alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.5;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.auth-alert-close:hover {
    opacity: 1;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn.google {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.social-btn.google:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-btn.discord {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #fff;
}

.social-btn.discord:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.social-btn.kick {
    background: rgba(83, 252, 24, 0.15);
    border: 1px solid rgba(83, 252, 24, 0.3);
    color: #53fc18;
}

.social-btn.kick:hover {
    background: rgba(83, 252, 24, 0.25);
    border-color: rgba(83, 252, 24, 0.5);
    transform: translateY(-2px);
}

.social-btn .kick-logo {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.social-btn i {
    font-size: 1.25rem;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-row .form-group {
    position: relative;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i:first-child {
    position: absolute;
    left: 1rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #fff;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-wrapper input:focus {
    outline: none;
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper:focus-within i:first-child {
    color: #8B5CF6;
}

.input-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
    display: block;
}

/* Input Error Message */
.input-error {
    display: block;
    font-size: 0.75rem;
    color: #EF4444;
    margin-top: 0.25rem;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.input-error.show {
    min-height: 1rem;
    max-height: 2rem;
    opacity: 1;
}

/* Input Invalid State */
.input-wrapper.invalid input {
    border-color: rgba(239, 68, 68, 0.5) !important;
    background: rgba(239, 68, 68, 0.05);
}

.input-wrapper.invalid i:first-child {
    color: #EF4444;
}

/* Input Valid State */
.input-wrapper.valid input {
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.input-wrapper.valid i:first-child {
    color: #10B981;
}

/* Password Validation Hint */
.password-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.password-hint.valid {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.password-hint.error {
    color: #FCA5A5;
}

/* Toggle Password */
.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #8B5CF6;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-wrapper input:checked + .checkmark {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border-color: transparent;
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    font-size: 0.875rem;
    color: #8B5CF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #A78BFA;
}

/* Submit Button */
.auth-form .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-form .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.auth-form .btn-primary:hover::before {
    opacity: 1;
}

.auth-form .btn-primary span,
.auth-form .btn-primary i {
    position: relative;
    z-index: 1;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-footer p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #A78BFA;
}

/* Auth Icon (for forgot password page) */
.auth-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 16px;
    margin: 0 auto 1.5rem;
}

.auth-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Auth Back Link */
.auth-back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-back-link a:hover {
    color: #8B5CF6;
}

.auth-back-link a i {
    font-size: 1rem;
}

/* Terms Checkbox */
.terms-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.terms-text a {
    color: #8B5CF6;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Password Strength */
.password-strength {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: -0.5rem;
}

.password-strength .strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength .strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength .strength-fill.weak {
    width: 33%;
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.password-strength .strength-fill.medium {
    width: 66%;
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.password-strength .strength-fill.strong {
    width: 100%;
    background: linear-gradient(90deg, #10B981, #34D399);
}

.password-strength .strength-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.password-strength .strength-text.weak { color: #EF4444; }
.password-strength .strength-text.medium { color: #F59E0B; }
.password-strength .strength-text.strong { color: #10B981; }

/* Password Requirements List */
.password-requirements {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.password-requirements .req-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.password-requirements .req-item i {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.password-requirements .req-item.valid {
    color: #10B981;
}

.password-requirements .req-item.valid i {
    color: #10B981;
}

.password-requirements .req-item.invalid {
    color: #EF4444;
}

.password-requirements .req-item.invalid i {
    color: #EF4444;
}

/* Mobile Auth Logo */
.mobile-auth-logo {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-auth-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.mobile-auth-logo .logo-accent {
    font-family: 'Edo', sans-serif;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 1024px) {
    .mobile-auth-logo {
        display: block;
    }
    
    .auth-form-container::before {
        display: none;
    }
}

/* Loading State */
.auth-form .btn-primary.loading {
    pointer-events: none;
}

.auth-form .btn-primary.loading span {
    opacity: 0;
}

.auth-form .btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
.auth-form-container {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-feature {
    animation: fadeInLeft 0.6s ease backwards;
}

.auth-feature:nth-child(1) { animation-delay: 0.1s; }
.auth-feature:nth-child(2) { animation-delay: 0.2s; }
.auth-feature:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Enhanced Login Page Styles
   ============================================ */

/* Animated Icon Wrapper */
.auth-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.auth-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-icon-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.2);
    animation: iconRingPulse 2s ease-in-out infinite;
}

.auth-icon-ring.delay {
    width: 120px;
    height: 120px;
    animation-delay: 0.5s;
    border-color: rgba(236, 72, 153, 0.15);
}

@keyframes iconRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Enhanced Form Header */
.auth-form-header h2 {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Input Styles */
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.form-group label i {
    font-size: 1rem;
    color: #8B5CF6;
}

.input-wrapper {
    position: relative;
}

.input-wrapper.has-toggle input {
    padding-right: 48px;
}

.input-wrapper input:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
}

.input-wrapper input:focus ~ .input-focus-effect {
    width: 100%;
}

/* Password Toggle Button */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.password-toggle:hover {
    color: #8B5CF6;
}

.password-toggle i {
    font-size: 1.25rem;
}

/* Enhanced Checkbox */
.checkbox-wrapper .checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-wrapper .checkmark i {
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
    color: #fff;
}

.checkbox-wrapper input:checked + .checkmark i {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Forgot Link */
.forgot-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.forgot-link:hover {
    color: #8B5CF6;
}

.forgot-link i {
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.forgot-link:hover i {
    transform: translate(2px, -2px);
}

/* Enhanced Submit Button */
.btn-auth-submit {
    position: relative;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-auth-submit:hover .btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.btn-auth-submit .btn-icon i {
    font-size: 0.875rem;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.btn-auth-submit:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Trust Badges */
.auth-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: rgba(255, 255, 255, 0.7);
}

.trust-badge i {
    font-size: 1rem;
    color: #8B5CF6;
    opacity: 0.7;
}

.trust-badge:hover i {
    opacity: 1;
}

/* Enhanced Social Buttons */
.social-btn {
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .auth-icon {
        width: 70px;
        height: 70px;
    }
    
    .auth-icon i {
        font-size: 2rem;
    }
    
    .auth-icon-ring {
        width: 90px;
        height: 90px;
    }
    
    .auth-icon-ring.delay {
        width: 110px;
        height: 110px;
    }
    
    .auth-trust-badges {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .trust-badge {
        font-size: 0.7rem;
    }
}

