body {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.login-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.brand-title {
    font-size: 30px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 18px;
    letter-spacing: -0.8px;
}

.login-title {
    font-weight: 800;
    color: #111827;
}

.login-subtitle {
    color: #6b7280;
    font-size: 15px;
}

.form-control {
    height: 48px;
    border-radius: 12px;
}

.btn-login {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
}

.password-wrapper {
    position: relative;
}

.password-input {
    padding-right: 52px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

.toggle-password:focus {
    outline: none;
}

@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding-top: 42px;
    }

    .login-card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .brand-title {
        font-size: 26px;
    }

    .login-logo {
        width: 64px;
        height: 64px;
    }
}

/* TOAST ERROR */
.toast-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111827;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.4s ease, fadeOut 0.4s ease 3s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}

.btn-login:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

/* TOAST ERROR */
.toast-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111827;
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.4s ease, fadeOut 0.4s ease 3s forwards;
}

.btn-login:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(120%);
    }
}

@media (max-width: 480px) {
    .toast-error {
        top: 18px;
        left: 18px;
        right: 18px;
        text-align: center;
    }
}