
* {
    box-sizing: border-box;
}

body {
    background-image: url("../images/walpaper1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
}

/* Logo */
img {
    width: 65px;
    position: absolute;
    left: 25px;
    top: 20px;
}

/* Kotak Login */
.semua {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    width: 450px;
    margin: 100px auto;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

/* Bagian Judul */
.kotak {
    background: linear-gradient(135deg, #514ce0, #6865ed);
    padding: 10px;
    height: 75px;
    text-align: center;
}

.lock {
    display: inline-block;
    width: 40px;
    height: 10px;
    margin-top: 10px;
    margin-right: 15px;
}

/* Judul Login */
h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    color: white;
    text-shadow: 3px 1px 7px black;
    display: inline-block;
    margin: 10px;
}

/* Isi Form */
.isi {
    padding: 25px 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 9px 5px;
    font-size: 16px;
}

/* Input Username, Password dan Role */
input[type="text"],
input[type="password"],
select {
    width: 190px;
    padding: 9px;
    border: 1px solid #aaa;
    border-radius: 5px;
    outline: none;
    background-color: white;
}

/* Efek ketika input diklik */
input:focus,
select:focus {
    border-color: rgb(88, 86, 223);
    box-shadow: 0 0 5px rgba(88, 86, 223, 0.4);
}

/* Tombol Lihat Password */
button[type="button"] {
    background-color: #777;
    color: white;
    padding: 9px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Tombol Login */
button[type="submit"] {
    background: linear-gradient(135deg, #514ce0, #6865ed);
    color: white;
    width: 130px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    opacity: 0.85;
}

/* Pesan Error */
h5 {
    color: red;
    text-align: center;
}

/* Tampilan HP */
@media (max-width: 450px) {
    .semua {
        width: 90%;
        margin: 110px auto;
    }

    input[type="text"],
    input[type="password"],
    select {
        width: 160px;
    }
}
