body {
    min-height: 100vh;
    background: linear-gradient(135deg, #e0e7ff 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    padding: 40px 32px 32px 32px;
    max-width: 450px;
    width: 100%;
}
.login-title {
    font-size: clamp(1.2rem, 4.2vw, 1.7rem);
    font-weight: bold;
    color: #0000FF;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
}
.login-subtitle {
    color: #6b7280;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 24px;
}
.form-label {
    font-weight: 500;
    color: #374151;
}
.form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.pw-field {
    position: relative;
}

.pw-field .form-control {
    padding-right: 44px;
}

.pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0;
    color: #6b7280;
    line-height: 1;
}

.pw-toggle:hover {
    color: #374151;
}

.pw-toggle:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.35);
    outline-offset: 3px;
    border-radius: 6px;
}
.input-group .form-control {
    margin-bottom: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn.btn-outline-secondary {
    border: 2px solid #e5e7eb;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #fff;
    color: #6b7280;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.input-group .btn.btn-outline-secondary:hover {
    background: #f9fafb;
    color: #374151;
}

.input-group:focus-within .btn.btn-outline-secondary {
    border-color: #6366f1;
}
.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}
.btn-login {
    background: linear-gradient(45deg, #0000FF);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-weight: bold;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 8px;
    transition: all 0.2s;
}
.btn-login:hover {
    background: linear-gradient(45deg, #0000FF);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
}
.login-error {
    color: #dc3545;
    font-size: 0.98rem;
    margin-bottom: 10px;
    text-align: center;
}
.login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.login-logo i {
    font-size: 2.5rem;
    color: #0000FF
}
