/* Fullscreen background */
body {
    background: url('../img/backgroundss.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-bottom: 50px;
}

.login-box input{
    background: transparent;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(43, 43, 43, 0.326);
    color: white;
}

h2 {
    margin-bottom: 20px; /* Space between title and form */
}

.form-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.form-column {
    flex: 1;
    margin-right: 30px;
    margin-left: 10px;
}

/* Ubah shadow fokus input jadi hijau */
.form-control:focus {
    border-color: rgb(106, 255, 0);
    box-shadow: 0 0 0 0.25rem rgba(173, 255, 47, 0.25); /* greenyellow */
    outline: none;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .login-container{
        margin: 5%;
        max-width: 500px;
        width: 90%;
        max-height: 250px;
        height: auto;
    }
    .login-box {
        flex-direction: column;
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-column {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .image-container img {
        max-width: 70%;
    }
}

.eye-icon {
    position: absolute;
    top: 70%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffffff;
    font-size: 1.2rem;
}
.eye-icon:hover {
    color: #000;
    top: 70%;
}
