/* @import 'variables.css'; - Loaded explicitly in HTML now */

body {
    overflow: hidden;
    /* Prevent scroll on full screen auth */
    background: #000;
}

.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* === Left Side: Form Section === */
.auth-panel-left {
    width: 40%;
    min-width: 450px;
    background: #0a0a0f;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    /* Allow scroll if form is tall */
}

/* Scrollbar styling */
.auth-panel-left::-webkit-scrollbar {
    width: 5px;
}

.auth-panel-left::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fff;
    text-decoration: none;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === Floating Input Styles === */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-field {
    width: 100%;
    padding: 16px 12px 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    height: 56px;
}

.input-field:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.1);
}

.input-label {
    position: absolute;
    left: 12px;
    top: 18px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-field:focus+.input-label,
.input-field:not(:placeholder-shown)+.input-label {
    /* Requires placeholder=" " in HTML */
    top: 8px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* Form Actions */
.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--primary), #00c2bb);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.3);
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: #fff;
    font-weight: 600;
    margin-left: 5px;
}

/* === Right Side: Visual Section === */
.auth-panel-right {
    flex: 1;
    position: relative;
    background: #050508;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
}

.visual-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    max-width: 500px;
}

/* Animated Glows */
.auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    /* 100px is deprecated syntax-wise for standard property but fine here */
    opacity: 0.3;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -20%;
    right: -10%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -10%;
    left: -10%;
}

/* Grid for Registration (2 Columns) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .auth-panel-right {
        display: none;
    }

    .auth-panel-left {
        width: 100%;
        min-width: auto;
        padding: 2rem;
    }
}