@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    --bg-base: #090d16;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    font-family: var(--font-family);
}

body, html {
    background-color: var(--bg-base);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    color: #f3f4f6;
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    z-index: -1;
}

/* Form Styles */
.form {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.form .form-label {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    padding: 0;
}

.form .form-group {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.form .form-group .form-icon-left {
    fill: #94a3b8;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 14px;
    pointer-events: none;
}

.form .form-group .form-icon-left + .form-input {
    padding-left: 42px;
}

.form .form-input {
    width: 100%;
    height: 44px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    color: #f3f4f6;
    border-radius: 8px;
    padding: 0 16px;
    transition: all 0.25s ease;
    font-size: 14px;
}

.form .form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form .form-input::placeholder {
    color: #64748b;
}

.form p.register-link {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 1.2rem;
    text-align: center;
    padding: 0;
}

.form p.register-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.form p.register-link a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Alert Message */
.alert-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Margin utilities */
.mar-bot-5 {
    margin-bottom: 25px;
}

/* Split Pane Redesign */
.landing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.landing-form-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Shifted to the left */
    padding: 2.5rem 5% 2.5rem 8%; /* Push away from the screen edge */
    background: rgba(9, 13, 22, 0.45); /* Subtle dark overlay */
}

.landing-art-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(9, 13, 22, 0.1) 40%, rgba(9, 13, 22, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

.landing-art-pane canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    display: block;
}

@media (max-width: 900px) {
    .landing-form-pane {
        padding: 1.5rem;
        align-items: center; /* Center horizontally on mobile */
    }
    .login-box {
        padding: 1.5rem;
        max-width: 90%;
    }
}

.login-box {
    background: rgba(18, 26, 45, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #f3f4f6;
    margin-top: 1rem;
}

.banner-logo {
    width: 52px;
    height: 52px;
}

/* Interactive Buttons */
.btn.blue {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    height: 44px;
    width: 100%;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.btn.blue:hover {
    background: linear-gradient(135deg, #60a5fa 0%, var(--primary-hover) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Background video for 3D animation scenes */
.landing-art-pane video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}
