﻿:root {
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --accent-amber: #F59E0B;
    --accent-amber-hover: #D97706;
    --border-color: #334155;
}

/* Base Body Styles */
body {
    background-color: var(--bg-dark);
    color: #F8FAFC;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Main Split-Screen Container */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel - Brand Section (Desktop) */
.brand-panel {
    flex: 1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98)), url('/images/hero-bg.jpg') center/cover no-repeat;
    border-right: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.brand-content {
    max-width: 480px;
}

.brand-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5));
}

/* Right Panel - Login Form Container */
.form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--bg-dark);
}

.login-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 440px;
}

/* Mobile Logo */
.mobile-logo {
    max-height: 70px;
    width: auto;
}

/* Helper Text Classes */
.text-slate-300 {
    color: var(--slate-300) !important;
}

.text-slate-400 {
    color: var(--slate-400) !important;
}

.border-slate-700 {
    border-color: var(--slate-700) !important;
}

.bg-slate-800 {
    background-color: #0F172A !important;
}

/* Form Controls & Inputs */
.form-control,
.input-group-text {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.input-group {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .input-group:focus-within {
        border-color: var(--accent-amber);
        box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.2);
    }

.form-control:focus {
    box-shadow: none !important;
    background-color: #0F172A !important;
    color: #FFF !important;
}

.form-control::placeholder {
    color: #64748B;
}

/* Amber Button */
.btn-amber {
    background-color: var(--accent-amber);
    color: #0F172A;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

    .btn-amber:hover,
    .btn-amber:focus {
        background-color: var(--accent-amber-hover);
        color: #0F172A;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }

/* Validation Styling Override */
.validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
