body {
    background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

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

.login-box {
    background: white;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15,23,42,0.12);
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.login-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 700;
}

.login-alert {
    background: #ffe9e6;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 14px;
}

label {
    font-size: 14px;
    margin-top: 12px;
    display: block;
    color: #111827;
}

input {
    width: 100%;
    padding: 12px 44px 12px 12px;
    margin-top: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-box input:focus {
    outline: none;
    border-color: #3b82a0;
    box-shadow: 0 0 0 3px rgba(59,130,160,0.16);
}

.login-btn {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(47,109,134,0.55);
    background: linear-gradient(135deg, rgba(59,130,160,0.94), rgba(47,109,134,0.94));
    color: white;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.12s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 12px 30px rgba(47,109,134,0.25);
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(59,130,160,1), rgba(47,109,134,1));
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(47,109,134,0.3);
    filter: brightness(1.02);
}

.login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 10px 26px rgba(47,109,134,0.24);
}

.login-error {
    text-align: center;
    color: #d50000;
    margin-top: 12px;
    font-size: 14px;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 420px) {
    .login-box {
        padding: 18px;
        border-radius: 14px;
        max-width: 100%;
    }
    .login-title {
        font-size: 22px;
    }
    input {
        font-size: 14px;
        padding: 12px 40px 12px 10px;
    }
    .login-btn {
        font-size: 15px;
        padding: 12px;
    }
}
