:root {
    --primary-color: #d31c56;
    --primary-hover: #b01748;
    --secondary-color: #f7941e;
    --gradient-start: #f7941e;
    --gradient-end: #d31c56;
    --text-color: #333333;
    --text-muted: #777777;
    --input-bg: #f9f9f9;
    --input-border: #eeeeee;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

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

/* Left Pane - Login Form */
.left-pane {
    width: 50%; /* Default split */
    background: #ffffff;
    display: flex;
    flex-direction: column;
    /* justify-content: center; Removed to prevent clipping on overflow */
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 2;
    overflow-y: auto; /* Allow scrolling if form is tall */
}

/* Right Pane - Visuals */
.right-pane {
    width: 50%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Content Container in Left Pane */
.panel-sign {
    width: 100%;
    max-width: 450px;
    background: transparent;
    box-shadow: none; /* Removed card shadow for cleaner split look */
    animation: fadeIn 0.8s ease-out;
    margin: auto; /* Centers vertically when container is taller, safe when shorter */
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 55px; /* Increased height for larger font */
    padding: 10px 15px;
    font-size: 1.2rem; /* Increased from 1rem */
    border: 1px solid var(--input-border); /* Softer border */
    border-radius: 8px;
    background-color: var(--input-bg);
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 28, 86, 0.1);
}

.btn-primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 30px; /* Rounded pill buttons */
    width: 100%;
    font-size: 1.2rem; /* Increased from 1rem */
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(211, 28, 86, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 28, 86, 0.4);
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); /* Keep gradient */
    opacity: 0.95;
    color: white;
}

.logo {
    margin-bottom: 40px;
    display: block;
    text-align: center; /* Center logo in form area */
}

.logo img {
    height: 80px;
}

/* Title Stylings */
.title {
    font-size: 2.4rem; /* Increased from 1.8rem */
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.3rem; /* Increased from 1rem */
    margin-bottom: 30px;
}

/* Links */
a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Blobs Animation */
.blob {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 1;
    animation: move 10s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    animation-duration: 15s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    background: rgba(255, 255, 255, 0.15);
    animation-duration: 12s;
    animation-delay: -2s;
}

.blob-3 { /* Detailed blob overlay for style */
    width: 600px;
    height: 600px;
    background: url('../images/blob-shape.svg') no-repeat center center; /* Placeholder if we had an SVG, using CSS shape instead */
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite ease-in-out;
}

.right-pane-content {
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 80%;
}

.right-pane-content h2 {
    font-size: 3rem; /* Increased from 2.5rem */
    font-weight: 700;
    margin-bottom: 20px;
}

.right-pane-content p {
    font-size: 1.4rem; /* Increased from 1.1rem */
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
    .left-pane {
        width: 100%;
        padding: 20px;
    }
    .right-pane {
        display: none; /* Hide visual pane on mobile for focus */
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(20px, -20px) scale(1.05); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Overrides for Inputs */
.input-group-addon {
    background: transparent;
    border: none;
    color: #aaa;
}
.input-group-icon .form-control {
    padding-left: 45px;
    border-left: 1px solid var(--input-border);
}

/* Utility */
.mb-lg { margin-bottom: 30px !important; }
.mt-none { margin-top: 0 !important; }
