/* Auth Page Styles - Split Layout */
:root {
    /* Inherit/Match Project Variables */
    --accent-primary: #00ff41;
    --bg-body: #000000;
    --bg-card: #18181b;
    --bg-input: #27272a;
    --border-light: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;

    /* Spacing */
    --radius-lg: 0.75rem;
    --radius-md: 0.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Split Layout */
.auth-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .auth-split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* Left Side - Branding/Hero */
.auth-brand-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-header i {
    color: var(--accent-primary);
}

.brand-content {
    max-width: 500px;
}

.brand-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.brand-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Right Side - Form */
.auth-form-section {
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

/* Typography & Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.text-2xl {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-secondary);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-medium {
    font-weight: 500;
}

.text-accent {
    color: var(--accent-primary);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.otp-input {
    padding-left: 1rem;
    text-align: center;
    letter-spacing: 0.5em;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.2);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* Links */
.link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Mobile Adjustments */
@media (max-width: 1023px) {
    .auth-brand-section {
        display: none;
        /* Hide branding on mobile for cleaner look, or make it a header */
    }

    .auth-form-section {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 4rem;
    }

    /* Show a mobile header instead */
    .mobile-header {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .mobile-header {
        display: none;
    }
}