:root {
    --primary: #C8102E;
    --primary-light: #fef1f2;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #C8102E 0%, #a50d26 100%);
}

.login-page-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--white);
    font-family: "Afacad", sans-serif;
}

.login-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    max-width: 650px;
    margin: 0 auto;
}



.login-logo img {
    height: 150px;
    width: auto;
}

.login-heading {
    margin-bottom: 8px;
}

.login-heading h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.login-subtitle {
    margin-bottom: 40px;
}

.login-subtitle p {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
}

.login-form-group {
    margin-bottom: 24px;
}

.login-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.forgot-password {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--primary);
}

.login-btn {
    width: 154px;
    height: 52px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.login-btn:hover {
    background-color: #a50d26;
}

.login-btn:active {
    transform: scale(0.98);
}

.signup-text {
    font-size: 20px;
    color: var(--text-dark);
}

.signup-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.signup-text a:hover {
    text-decoration: underline;
}

.login-right-section {
    flex: 1;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
}

/* Clouds for visual depth, similar to reference */
.login-right-section::before,
.login-right-section::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.login-right-section::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.login-right-section::after {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -40px;
}

.illustration-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px;
}

.illustration-box img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (max-width: 991px) {
    .login-right-section {
        display: none;
    }

    .login-left-section {
        max-width: 100%;
        padding: 40px 24px;
    }

    .login-logo img {
        height: 100px;
        width: auto;
    }
}