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

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a; /* Slate 900 */
    color: #fff;
    overflow-x: hidden;
    height: 100vh;
}

/* Split Layout Container */
.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Side (Branding & Description) */
.split-left {
    flex: 1.2;
    position: relative;
    background: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%);
    display: flex;
    align-items: center;
    padding: 40px 10%;
    overflow: hidden;
}

/* Decorative Orbs */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    border-radius: 50%;
    animation: floatOrb 12s ease-in-out infinite alternate;
}
@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.1); }
}
.bg-shape.shape-1 {
    width: 500px; height: 500px;
    background: #3b82f6; /* Primary blue */
    top: -100px; left: -150px;
}
.bg-shape.shape-2 {
    width: 400px; height: 400px;
    background: #06b6d4; /* Cyan */
    bottom: -100px; right: -50px;
    animation-delay: -5s;
}

.left-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    animation: fadeInLeft 1s ease-out;
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}
.brand i {
    font-size: 42px;
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}
.brand h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0;
}

.description h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.description p {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 300;
}

/* Right Side (Form) */
.split-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-container {
    width: 100%;
    max-width: 420px;
    animation: fadeInRight 1s ease-out;
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-header {
    margin-bottom: 40px;
}
.form-header h3 {
    font-size: 28px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 8px;
}
.form-header p {
    color: #64748b;
    font-size: 15px;
}

/* Inputs */
.input-group {
    margin-bottom: 24px;
}
.input-group label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
    font-weight: 500;
}
.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}
.input-group input::placeholder {
    color: #94a3b8;
}
.input-group input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Custom Checkbox */
.remember-group {
    margin-bottom: 30px;
}
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}
.checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

/* Button */
.btn {
    width: 100%;
    background: #1d4ed8;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.25);
}
.btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}
.btn:active {
    transform: translateY(0);
}

/* Validation */
.validation-summary-errors {
    margin-top: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}
.validation-summary-errors ul {
    margin-left: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }
    .split-left {
        flex: none;
        padding: 40px 5% 30px;
        text-align: center;
        min-height: auto;
    }
    .left-content {
        margin: 0 auto;
    }
    .brand {
        justify-content: center;
        margin-bottom: 10px;
    }
    .description {
        display: none; /* Hide the massive text on mobile so the form shows immediately */
    }
    .split-right {
        border-radius: 30px 30px 0 0;
        margin-top: -15px;
        position: relative;
        z-index: 20;
        padding: 40px 20px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        min-height: auto;
        flex: 1;
        align-items: flex-start;
    }
}

/* IcoFont Implementation for Login */
@font-face {
  font-family: 'IcoFont';
  font-weight: 400;
  font-style: Regular;
  src: url('/fonts/icofont/fonts/icofont.woff') format('woff'),
       url('/fonts/icofont/fonts/icofont.ttf') format('truetype');
}
.icofont-stopwatch {
  font-family: 'IcoFont' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.icofont-stopwatch:before {
    content: "\edcd";
}
