/* Premium Auth Page Design */
:root {
    --bg-color: #030712;
    --surface-color: #111827;
    --primary-color: #4f46e5;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Split Layout */
.split-screen {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 100vh;
    padding-top: 80px;
    /* Space for fixed header */
}

/* Left Side - Visual & Animation */
.split-left {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

/* Dynamic Background Animation */
.split-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
    animation: pulse 10s infinite alternate;
    z-index: 1;
}

.split-left::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.6;
}

/* Floating Elements Animation */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0.5;
    }
}

/* Right Side - Form */
.split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: var(--bg-color);
    position: relative;
}

.logo-absolute {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    z-index: 20;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
}

/* Form Styling */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: #172033;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    /* right align forgot pass */
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.link-primary:hover {
    color: #818cf8;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.bottom-text {
    margin-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-left {
        display: none;
    }

    .split-right {
        padding: 24px;
    }
}