:root {
    --brand-red: #E31E24;
    --brand-blue: #2E3192;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Main Container */
.login-card {
    background: #fff;
    width: 100%;
    max-width: 950px;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    min-height: 550px;
}

/* Left Side: Workspace Image */
.login-image {
    flex: 1;
    display: none; /* Hidden on mobile */
    background: #eee;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side: Form Area */
.login-form-area {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    text-align: center;
    margin-bottom: 20px;
}

.brand-logo img {
    max-width: 180px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Form Inputs */
.input-group {
    background: #f0f2ff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.input-group:focus-within {
    border-color: var(--brand-blue);
}

.input-group i {
    color: var(--brand-blue);
    margin-right: 15px;
}

.input-group input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.btn-primary {
    background: var(--brand-red);
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.signup-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
}

.signup-text a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: bold;
}

/* Desktop View */
@media (min-width: 768px) {
    .login-image {
        display: block;
    }
}