/* --- SJM HOST INDEPENDENT THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #64003C;       /* Maroon */
    --primary-grad: linear-gradient(135deg, #64003C 0%, #3a0022 100%);
    --accent: #2A4D9B;        /* Bright Blue */
    --dark: #0F2C5C;          /* Navy */
    --light: #f4f7f6;
    --radius: 8px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
}

/* HIDE DEFAULT HEADER ELEMENTS */
section#header, section#home-banner, .navbar-main { display: none !important; }

/* SJM HEADER */
.sjm-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 0;
}
.sjm-navbar { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-weight: 800; font-size: 26px; color: var(--primary); text-decoration: none; }
.logo-text span { color: var(--dark); font-weight: 300; }
.nav-menu { display: flex; gap: 20px; }
.nav-menu a { color: var(--dark); font-weight: 600; text-decoration: none; }
.nav-menu a:hover { color: var(--primary); }
.nav-btn { background: var(--primary); color: #fff !important; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; }

/* HERO */
.sjm-hero {
    background: var(--primary-grad);
    padding: 120px 0 180px;
    text-align: center;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; color: #fff; }
.sjm-search {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); padding: 5px; border-radius: 60px;
    display: flex; max-width: 600px; margin: 30px auto 0;
}
.sjm-search input { background: transparent; border: none; flex-grow: 1; padding: 15px 25px; color: #fff; outline: none; }
.sjm-search input::placeholder { color: rgba(255,255,255,0.8); }
.sjm-search button { background: #fff; color: var(--primary); border: none; padding: 12px 30px; border-radius: 50px; font-weight: 700; }

/* CARDS */
.sjm-grid {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
    position: relative; z-index: 10; margin-top: -80px; margin-bottom: 50px;
}
.sjm-card {
    background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center; text-decoration: none; width: 220px; color: #333; transition: transform 0.2s;
}
.sjm-card:hover { transform: translateY(-5px); }
.sjm-card i { font-size: 28px; color: var(--accent); display: block; margin-bottom: 15px; }
.sjm-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 5px; color: var(--dark); }

/* FOOTER */
.sjm-footer { background: var(--dark); color: #ccc; padding: 50px 0; margin-top: 50px; }
/* --- SJM SPLIT SCREEN AUTH (Login/Register) --- */

/* 1. Hide the Standard Header/Footer on Login Page Only */
/* (Optional: If you want a pure full-screen login, uncomment the line below) */
/* .login-page .sjm-header, .login-page .sjm-footer { display: none; } */

.sjm-auth-wrapper {
    display: flex;
    min-height: 80vh; /* Takes up most of the screen */
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
}

/* LEFT SIDE: Maroon Branding */
.auth-brand-side {
    width: 40%;
    background: var(--primary-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}
.brand-content h1 { font-weight: 800; font-size: 3rem; margin-bottom: 20px; color: #fff; }
.brand-content p { font-size: 1.1rem; opacity: 0.9; line-height: 1.6; }
.brand-footer { position: absolute; bottom: 30px; left: 40px; opacity: 0.6; font-size: 12px; }

/* RIGHT SIDE: The Form */
.auth-form-side {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.auth-box { width: 100%; max-width: 400px; }

.auth-title { font-weight: 800; margin-bottom: 30px; color: var(--primary); }
.auth-title .light { color: var(--dark); font-weight: 300; }

.login-form .form-group { margin-bottom: 20px; }
.login-form label { font-weight: 600; font-size: 13px; color: #666; margin-bottom: 8px; display: block; }
.login-form .form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding-left: 15px;
}
.login-form .btn-primary {
    background: var(--primary);
    border: none;
    height: 50px;
    width: 100%;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    transition: 0.3s;
}
.login-form .btn-primary:hover { background: var(--dark); }

.form-actions { display: flex; justify-content: space-between; font-size: 13px; align-items: center; }
.forgot-link { color: var(--accent); text-decoration: none; }

.auth-footer-link { margin-top: 30px; text-align: center; font-size: 14px; color: #666; }
.auth-footer-link a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .sjm-auth-wrapper { flex-direction: column; }
    .auth-brand-side { width: 100%; padding: 40px 20px; text-align: center; }
    .auth-form-side { width: 100%; }
}