:root {
    --primary: #0ea5e9; /* Sky blue */
    --primary-hover: #0284c7;
    --brand-dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
}

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

body {
    /* Using Outfit font for a more modern, slightly playful yet professional look */
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

.split-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Left side (Creative) */
.hero-section {
    flex: 1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

@media (max-width: 900px) {
    .hero-section {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #e0f2fe;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 48px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.glass-title {
    font-weight: 600;
    color: #f1f5f9 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-desc {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    margin-bottom: 0 !important;
    font-style: italic;
}

/* Abstract shapes for left side */
.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.35); /* Sky blue glow */
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 350px;
    height: 350px;
    background: rgba(16, 185, 129, 0.15); /* Soft emerald glow */
    bottom: -50px;
    right: -50px;
}

/* Right side (Form) */
.login-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
}

.demo-banner {
    background-color: #fffbeb;
    color: #b45309;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #fde68a;
}

.form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 60px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.login-header {
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-light);
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
}

.input-group input {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: var(--bg-secondary);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 400;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

.btn-primary {
    background-color: var(--brand-dark);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid var(--border);
}

.divider span {
    padding: 0 16px;
}

.demo-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-demo:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.demo-role {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--brand-dark);
}

.role-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e0f2fe; /* light blue */
    color: #0369a1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.role-icon.fd {
    background-color: #fce7f3; /* light pink */
    color: #be185d;
}

.demo-email {
    color: var(--text-light);
    font-size: 14px;
}

.demo-password-hint {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.mono {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-family: monospace;
    font-weight: 600;
    color: var(--brand-dark);
}

@media (max-width: 600px) {
    .form-wrapper {
        padding: 24px;
    }
}
