/* Skymel Split Layout Design */
.split-container {
    display: flex;
    min-height: 100vh;
    background: #0A1325;
    align-items: center;
    justify-content: center;
}

/* Left Panel - Auth Forms */
.auth-panel {
    flex: 0 0 50%;
    max-width: 500px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0A1325;
    position: relative;
    border-right: 1px solid rgba(56, 189, 248, 0.1);
    margin: 0 auto;
}

.auth-view {
    display: none;
    width: 100%;
    max-width: 400px;
}

.auth-view.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #E8E8E8;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.auth-header p {
    color: #94A3B8;
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 1rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #E8E8E8;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #38BDF8;
    background: #0F1A2E;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-input::placeholder {
    color: #64748b;
    font-size: 0.875rem;
}

.btn-primary {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #38BDF8, #A78BFA);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.forgot-link {
    text-align: center;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #38BDF8;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.btn-oauth {
    padding: 0.75rem 1rem;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #E8E8E8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-oauth:hover {
    background: #475569;
    border-color: #38BDF8;
    transform: translateY(-1px);
}

.btn-oauth svg {
    flex-shrink: 0;
}

.btn-sso {
    color: #E8E8E8;
}

.btn-google {
    color: #E8E8E8;
}

.btn-github {
    color: #E8E8E8;
}

.coming-soon {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #A78BFA;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}

.auth-footer {
    text-align: center;
    margin-bottom: 1rem;
}

.auth-footer p {
    color: #94A3B8;
    font-size: 0.875rem;
}

.link {
    color: #38BDF8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link:hover {
    color: #A78BFA;
}

.help-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
}

.help-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.help-link:hover {
    color: #94A3B8;
}

/* Right Panel - Three.js Visualization */
.value-panel {
    flex: 1;
    background: linear-gradient(135deg, #0A1325 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.value-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.value-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
    margin-bottom: 1rem;
}

.value-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    font-family: 'IBM Plex Mono', monospace;
    opacity: 0.9;
}

#threejs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 1;
}

/* Three.js Canvas Styles */
canvas {
    display: block;
}

/* Background Effects */
.value-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .auth-panel {
        flex: none;
        padding: 2rem;
        max-width: 500px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(56, 189, 248, 0.1);
        order: 1;
    }

    .value-panel {
        flex: none;
        min-height: 40vh;
        order: 2;
        width: 100%;
    }

    .value-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .split-container {
        padding: 1rem;
    }

    .auth-panel {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        max-width: 400px;
        order: 1;
    }

    .value-panel {
        min-height: 30vh;
        order: 2;
    }

    .value-headline {
        font-size: 1.75rem;
    }
}