/* --- RESET & LAYOUT --- */
body.rcm-login-body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f1f5f9;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcm-login-container {
    display: flex;
    width: 900px;
    height: 550px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Left Side (Branding) */
.rcm-login-background {
    width: 50%;
    background: #1e293b;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}
.rcm-login-background h2 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.rcm-login-background p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Right Side (Form) */
.rcm-login-form-area {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}

.rcm-login-form-wrapper {
    width: 100%;
    max-width: 350px;
}

.rcm-login-logo h1 {
    font-size: 1.8rem;
    color: #334155;
    margin: 0 0 30px 0;
    font-weight: 700;
}

/* --- FORM STYLING (STANDARD) --- */
#loginform {
    margin: 0;
    padding: 0;
}

#loginform p {
    margin-bottom: 20px;
}

/* Labels */
#loginform label {
    display: block;
    font-size: 0.95rem; /* Similar to paragraph text */
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Input Fields */
#loginform input[type="text"], 
#loginform input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

/* Focus State */
#loginform input[type="text"]:focus, 
#loginform input[type="password"]:focus {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Remember Me Checkbox */
.login-remember {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #64748b;
}
.login-remember label {
    margin-bottom: 0 !important; /* Override label block style for checkbox */
    font-weight: normal !important;
}
.login-remember input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

/* Submit Button */
.login-submit {
    margin: 0;
}
#loginform input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
    margin-top: 5px;
}

#loginform input[type="submit"]:hover {
    background: #1d4ed8;
}

/* Footer Links */
.rcm-login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.rcm-login-footer a {
    color: #64748b;
    text-decoration: none;
}
.rcm-login-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Mobile Response */
@media (max-width: 768px) {
    .rcm-login-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        flex-direction: column;
    }
    .rcm-login-background {
        height: 30%;
        width: 100%;
        padding: 30px;
        align-items: center;
        text-align: center;
        justify-content: flex-end;
    }
    .rcm-login-background h2 { font-size: 1.8rem; margin-bottom: 5px; }
    .rcm-login-background p { font-size: 0.9rem; }
    
    .rcm-login-form-area {
        height: 70%;
        width: 100%;
        padding: 30px;
        align-items: flex-start;
    }
}