* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Wrapper utama */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

/* Card login */
.login-card {
    width: 375px;
    min-height: 475px;
    background-color: #ffffff;
    padding: 28px 55px 35px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.login-back-button {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #FF9900;
    background: #00923f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
}

.login-back-button:hover {
    background-color: #007d2a;
    color: #ffffff;
}

/* Logo */
.logo {
    width: 135px;
    margin-bottom: 18px;
}

/* Judul */
.login-title {
    font-size: 20px;
    font-weight: 700;
    color: #00923f;
    margin-bottom: 25px;
}

.login-title span {
    color: #FF9900;
}

.auth-alert {
    margin-bottom: 14px;
    border-radius: 9px;
    padding: 9px 11px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.auth-alert-error {
    background: #ffe9e9;
    color: #b72222;
}

.auth-alert-success {
    background: #eaf8ee;
    color: #00923f;
}

/* Label */
.form-label {
    color: #FF9900;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Input custom */
form .custom-input {
    border: none;
    border-bottom: 1.5px solid #FF9900;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 12px;
    color: #333;
    box-shadow: none;
}

.password-field {
    position: relative;
}

.password-field .custom-input {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #FF9900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: background-color .2s ease, color .2s ease;
}

.password-toggle:hover,
.password-toggle:focus {
    background-color: #fff4e5;
    color: #00923f;
    outline: 0;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.password-toggle .icon-eye {
    display: none;
}

.password-toggle.is-hidden .icon-eye-off {
    display: none;
}

.password-toggle.is-hidden .icon-eye {
    display: block;
}

.custom-input::placeholder {
    color: #9e9e9e;
    font-size: 11px;
}

/* Tombol login */
form .btn-login {
    background-color: #00923f;
    color: #ffff;
    font-weight: 700;
    border-radius: 9px;
    padding: 7px 0;
    margin-top: 5px;
    border: 2px solid #FF9900;
}

form .btn-login:hover {
    background-color: #007a35;
    color: #FF9900;
    border: 2px solid #FF9900;
}

/* Text daftar */
.register-text {
    font-size: 13px;
    color: #a6a6a6;
    font-weight: 600;
}

.register-text a {
    color: #FF9900;
    font-weight: 700;
    text-decoration: underline;
}

.register-text a:hover {
    color: #e67e00;
}

/* Responsive */
@media (max-width: 480px) {
    .login-wrapper {
        align-items: flex-start;
        padding: 35px 20px;
    }

    .login-back-button {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .login-back-button img {
        width: 13px;
    }

    .login-card {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        padding: 85px 45px 35px;
    }

    .logo {
        width: 130px;
    }
}
