/*
 * Gaya khusus untuk halaman daftar pengguna.
 * Kategori: Per halaman auth
 * Dipisahkan daripada modul legacy lama
 * supaya tidak mengganggu halaman sistem yang lain.
 */

/* Efek lengkungan kiri */
.logincontainer::before {
    content: "";
    top: 0;
    left: -30px;
    position: absolute;
    border-top-right-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 15px 0 0 0 var(--primary-color);
    background: transparent;
}

/* Efek lengkungan kanan */
.logincontainer::after {
    content: "";
    top: 0;
    position: absolute;
    height: 30px;
    right: -30px;
    width: 30px;
    background: transparent;
    border-top-left-radius: 50%;
    box-shadow: -15px 0 0 0 var(--primary-color);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.username {
    margin-top: clamp(45px, 7vh, 60px);
}

.username,
.password {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    position: relative;
}

.username i,
.password i {
    position: absolute;
    right: clamp(10px, 2vw, 15px);
    color: #666;
    pointer-events: none;
    z-index: 1;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: clamp(8px, 1.5vw, 12px);
    padding-right: clamp(35px, 6vw, 45px);
    border-radius: 15px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: rgb(0, 0, 0);
    font-size: clamp(14px, 2vw, 16px);
    box-sizing: border-box;
}

input::placeholder {
    color: rgb(0, 0, 0);
    opacity: 0.8;
}

.randf {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

input[type="checkbox"] {
    transform: scale(0.8);
}

.forgot-password {
    color: rgb(0, 0, 0);
    font-size: 14px;
}

p {
    font-size: 14px;
    color: rgb(0, 0, 0);
}

a {
    color: rgb(0, 17, 255);
    text-decoration: none;
}

body {
    background: white;
    background-size: 400% 400%;
    animation: gradientMove 10s infinite linear;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 100vh;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tajukcontainer {
    background-image: url("../gambar/tajukbackground.jpg");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 37px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2f46;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    justify-content: center;
    align-content: center;
}

h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #4f6278;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.35);
    justify-content: center;
    align-content: center;
    margin-left: 15px;
}

h6 {
    color: red;
    justify-content: center;
    align-items: center;
}

.headercontainer {
    background-color: #ff0000;
    color: white;
    padding: 8px 15px;
    margin-bottom: 20px;
    font-weight: bold;
    width: fit-content;
}

.headercontainer p {
    margin: 0;
    color: white;
}

.container {
    background: rgb(250, 247, 247);
    padding: 20px;
    width: 650px;
    height: 420px;
    font-size: 13px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
    border-radius: 10px;
    display: flex;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
    gap: 0;
}

.input-group label {
    display: flex;
    font-weight: bold;
    margin-bottom: 5px;
    min-width: 60%;
}

.input-group input,
.input-group select,
.input-groupred input,
.input-groupred input {
    flex: 1;
    border-radius: 2px;
    border: 1px solid #000000;
}

.inputh2 {
    font-size: 13px;
    color: red;
    font-weight: bold;
    margin-bottom: 5px;
}

.keluar {
    position: absolute;
    left: 53%;
    background-color: black;
    color: rgb(255, 255, 255);
    padding: 5px;
    border-color: #cccccc28;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100px;
    margin-top: 1px;
}

button {
    position: absolute;
    left: 43%;
    background-color: black;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-color: #cccccc28;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    width: 100px;
    margin-top: 1px;
}
