*, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("assets/cursor.png"), auto;
    font-family: "Titilium web", sans-serif;
}

/* Container */
.container {
    width: 100%;
    max-width: 476px;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Judul */
.judul {
    margin-bottom: 30px;
    text-align: center;
    color: #373737;
}

/* Box login */
.login-box {
    width: 100%;
    max-width: 350px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Avatar */
.avatar {
    width: 60px;
    height: 60px;
    background: #9c9c9c;
    border-radius: 50%;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar i {
    color: white;
    font-size: 35px;
}

/* Label */
form label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
    color: #333;
    font-weight: 500;
}

/* Input */
form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Tombol */
form button {
    width: 100%;
    padding: 10px;
    margin-top: 30px;
    background: #2d6cdf;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #478de8;
}

.notif {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.notif.error {
    background: #f8d7da;
    color: #721c24;
}

@media screen and (max-width: 480px) {
    .container {
        height: 100vh;
        height: 100dvh;
        padding: 15px;
    }

    .judul {
        margin-bottom: 20px;
    }

    .login-box {
        padding: 25px 20px;
    }

    .avatar {
        margin-bottom: 25px;
    }

    form button {
        margin-top: 15px;
    }
}