* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0b3a66;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    min-height: 550px;
    display: flex;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* LEFT */
.login-left {
    flex: 1;
    padding: 40px;
}

.logo {
    width: 70px;
    margin-bottom: 15px;
}

.login-left h2 {
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-password i {
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-options a {
    color: #e74c3c;
    text-decoration: none;
}
.form-options a:hover {
    text-decoration: underline;
}
.login-btn {
    width: 100%;
    padding: 12px;
    background: #0b3a66;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.signup-text {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
}

.signup-text a {
    color: #e74c3c;
}

.divider {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #999;
}

.social-login {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-login button {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

/* RIGHT */
.login-right {
    flex: 1;
    /* background: #f2f2f2; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-right img {
    max-width: 100%;
}

.error-messages {
    margin-bottom: 15px;
}

.error {
    color: #e3342f;   /* nice red */
    font-weight: 500;
    font-size: 14px;
}

.status-message {
    color: #2d6a4f;
    background: #d8f3dc;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.register-text {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    color: #666;
}

.register-text a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}
/* MOBILE */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
}