* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #222;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    padding: 32px 28px 20px;
}

.login-header { text-align: center; margin-bottom: 20px; }
.login-header .logos { display: flex; justify-content: center; align-items: center; gap: 14px; }
.login-header .logos img { width: 72px; height: 72px; object-fit: contain; }
.login-header h1 { font-size: 24px; margin-top: 6px; color: #1e3c72; }
.login-header .sub { color: #777; font-size: 14px; margin-top: 4px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.req { color: #d33; }

.form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color .2s;
}
.form-group input:focus { border-color: #2a5298; }

.pw-box { position: relative; }
.pw-box input { padding-right: 40px; }
.toggle-pw {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    border: none; background: transparent; cursor: pointer; font-size: 16px;
}

.btn-login {
    width: 100%;
    padding: 11px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #2a5298;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.btn-login:hover { background: #1e3c72; }

.alert {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 14px;
}
.alert-error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c2c0; }
.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #b7dfb9; }

.footer { text-align: center; font-size: 12px; color: #aaa; margin-top: 22px; }
