@font-face {
    font-family: 'Helvetica';
    src: url('/assets/font/helvetica/Helvetica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Inter", sans-serif; */
    font-family: 'Helvetica', 'Inter', sans-serif;
    cursor: url("/assets/image/cursor-gradasi.png"), auto;
}

body {
    width: 100vw;
    height: 100vh;
    background: url("/assets/image/bg-inporman.png") center / cover no-repeat;
    overflow-y: clip;
}

/* Ubah ukuran dan tampilan alertify modal */
.ajs-dialog {
    max-width: 60vw !important;
    /* ganti angka ini sesuai kebutuhan, misal 400px atau 700px */
    width: 90% !important;
    /* agar tetap responsif di layar kecil */
    border-radius: 10px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Tambahkan padding & perbaikan teks */
.ajs-body {
    padding: 20px !important;
}

.ajs-header {
    background: #007bff !important;
    color: white !important;
    font-weight: bold !important;
    text-align: center !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.ajs-footer .ajs-buttons .ajs-button {
    background-color: #007bff !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    padding: 8px 18px !important;
    transition: background-color 0.3s ease !important;
}

.alertify .ajs-footer .ajs-buttons .ajs-button:hover {
    background-color: #0056b3 !important;
}

.alert-container {
    text-align: justify;
    line-height: 1.6;
}

.alert-textalert {
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.textalert .btnwhite {
    display: inline-block;
    width: 100%;
    background-color: #fff;
    color: black;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.25),     /* shadow bawah kanan */
        -4px -4px 10px rgba(255, 255, 255, 0.7); /* highlight atas kiri */
    transition: all 0.3s ease;
}

.textalert .btnwhite:hover {
    background-color: #f0f0f0;
    color: #000;
    box-shadow:         
    inset 4px 4px 10px rgba(0, 0, 0, 0.25),   /* shadow ke dalam */
    inset -4px -4px 10px rgba(255, 255, 255, 0.7); /* highlight ke dalam */
    transform: translateY(-2px);
}

.textalert .btnblue {
    display: inline-block;
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.25),     /* shadow bawah kanan */
        -4px -4px 10px rgba(255, 255, 255, 0.7); /* highlight atas kiri */
    transition: all 0.3s ease;
}

.textalert .btnblue:hover {
    background-color: #003267;
    color: #fff;
    box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.25),   /* shadow ke dalam */
    inset -4px -4px 10px rgba(255, 255, 255, 0.7); /* highlight ke dalam */;
    transform: translateY(-2px);
}

.navbar-brand {
    font-weight: 900;
    color: #fff;
    font-size: 24px;
    transition: 0.3s color;
}

.navbar {
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 0;
    justify-content: space-between;
    margin-top: 2px;
    /* background-color: white; */
}

.navbar-nav .text-reminder {
    animation: blink 5s infinite;
}

.brand-logo {
    height: 60px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    5% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.nav-button {
    background-color: #fff;
    color: #204678;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s background-color;
}

.nav-button:hover {
    background-color: #204678;
    color: #fff;
}


.login-button {
    background-color: #fff;
    color: #204678;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s background-color;
}

.login-button:hover {
    background-color: #204678;
    color: #fff;
}

.regist-button {
    display: flex;
    height: min-content;
    text-align: center;
    justify-content: center;
    background-color: #fff;
    color: #204678;
    margin-top: 15px;
    margin-bottom: 0px;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s background-color;
}

.fa-arrow-right-long {
    margin-top: 5px;
    margin-left: 10px;
}

.regist-button:hover {
    background-color: #519793;
    color: #fff;
}

.container-fluid .navbar-toggler {
    border: none;
    font-size: 1.25rem;
    color: #fff;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
    /* background-color: #204678; */
}

.nav-link {
    color: #666777;
    font-weight: 600;
    position: relative;
}

.nav-link:hover {
    color: #204678;
}

.active {
    color: #204678;
}

.navbar-nav .btn-reminder {
    border-radius: 20px;
    margin-right: 10px;
    background-color: #c00000;
    color: white;
}

.navbar-nav .btn-reminder:hover {
    border-radius: 20px;
    margin-right: 10px;
    background-color: #500b0b;
    color: white;
}

@media (min-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #336ebd;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

.container {

    height: 100%;
    /* margin-top: 15%; */
}

.row .container-content {
    display: flex;
    justify-content: center;
    max-width: 90%;
    max-height: 60%;
    /* background-color: #336ebd; */
}

.left-content {
    display: grid;
    padding-top: 0px;
    color: #fff;
    /* margin-top: 50px; */
    /* margin-left: 10%; */
}

.logo-produk {
    /* width: 100%; */
    /* height: 100%; */
    /* padding: 0 20px; */
    margin: 0px 5px;
    padding-right: 10px;
    border-right: 1px solid;
}

.image-produk {
    margin-bottom: 10px;
}

/* Menghilangkan border-right pada elemen terakhir */
.image-produk img:last-child {
    border-right: none;
    padding-right: 0;
}

.left-content h1 {
    font-weight: bolder;
    font-size: 68px;
    font-kerning: 1px;
}

.right-content {
    display: flex;
    justify-content: flex-end;
}

.row {
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.form-popup {
    /* display: flex; */
    /* position: fixed; */
    /* top: 60%; */
    /* left: 75%; */
    max-width: 80%;
    background: #fff;
    border: 1px solid rgb(242, 242, 242);
    /* transform: translate(-50%, -50%); */
    border-radius: 25px;
    /* box-shadow: -55px -55px 55px rgba(0, 0, 0, 0.2),
    55px 55px 55px rgba(0,0,0,0.1), 
    inset -15px -15px 15px #00000033,
    inset 15px 15px 15px rgba(235, 235, 235, 0.1); */
}


.form-popup .form-box {
    display: flex;
    flex-direction: column;
}

.form-box .form-details {
    max-width: 400px;
    width: 50vw;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    /* background: cover;
    background-position: center; */
}

/* .form-details {
    background: url("/assets/image/card-landpage2.png")center / cover no-repeat;
} */

.form-box h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-box .form-content {
    width: 100%;
    padding: 35px;
    max-height: 60vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.form-content::-webkit-scrollbar {
    display: none;
}

.form-content h5 {
    font-weight: bold;
}

.form-content .alert-danger {
    font-size: x-small;
}

form .input-field {
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

form .input-field input {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 15px;
    font-size: 0.95rem;
    border-radius: 15px;
    border: 1px solid #717171;
}

.input-field input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

form .input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #336ebd;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.input-field input:is(:focus, :valid)~label {
    color: #d2d2d2;
    font-size: 0.75rem;
    transform: translateY(-120%);
}

.form-box a {
    color: #336ebd;
    text-decoration: none;
}

.form-box a:hover {
    color: #336ebd;
    text-decoration: underline;
}

.form-box .forgot-pass {
    display: inline-flex;
    margin-top: 14px;
    font-size: 0.95rem;
}

form button {
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 10px;
    margin: 25px 0px 0px 0px;
    color: #fff;
    cursor: pointer;
    background: #336ebd;
    background: linear-gradient(to right, #191834, #61bdaf);
    transition: 0.3s ease-in;
}

span.toggle-password {
    position: absolute;
    right: 15px;
    top: 15px;
}


.container-fluid .offcanvas {
    width: 100%;
}

@media (max-width: 1400px) {
    .left-content h1 {
        font-weight: bolder;
        font-size: 48px;
        font-kerning: 1px;
    }

    .logo-produk {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 991px) {
    .form-popup {
        top: 50%;
        left: 50%;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .navbar .logo img {
        display: none;
    }

    .navbar .logo h2 {
        font-size: 1.4rem;
    }

    .navbar .links {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        display: block;
        padding-top: 60px;
        text-align: center;
        background: #777777;
    }

    .navbar .links a {
        color: #336ebd;
        display: inline-flex;
        margin: 20px 0;
        font-size: 1.2rem;
    }

    .navbar .login-btn {
        font-size: 0.9rem;
        padding: 7px 10px;
    }

    .offcanvas-content {
        display: flex;
        overflow-y: clip;
        /* background-color: #61bdaf; */
        background: linear-gradient(to right, #191834, #61bdaf);
        padding: 1rem;
    }

    .image-produk {
        display: none;
    }
}

/* Mobile View */
@media (max-width: 760px) {
    .navbar-brand {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .left-content {
        display: none;
    }

    .right-content {
        width: 100%;
        justify-content: center;
    }

    .form-popup {
        /* height: 50%; */
        width: 100%;
        /* top: 45%;         */
        border-radius: 25px;
        /* box-shadow: -35px -35px 35px rgba(255,255,255,0.2),
        25px 25px 25px rgba(0,0,0,0.1), 
        inset -15px -15px 15px #ffffff33,
        inset 15px 15px 15px rgba(0,0,0,0.1); */
    }

    .form-box .form-details {
        display: none;
    }

    .form-box .form-content {
        padding: 30px 20px;
        -ms-overflow-style: none;
        /* Hide scrollbar for IE and Edge */
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .form-content::-webkit-scrollbar {
        display: none;
    }

    .brand-logo {
        margin-right: auto;
    }

    .form-content {
        font-size: 12px;
    }

    .form-content h5 {
        font-size: 16px;
    }

    .form-content .logo-form {
        display: none;
    }
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    margin: 0;
    bottom: 0;
    width: 100%;
    height: 10%;
    /* background-color: #61bdaf; */
    color: #fff;
    padding: 10px 0;
    justify-content: center;
    text-align: center;
}

footer hr {
    width: 80%;
    margin-bottom: 10px;
}

footer .copyright {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    /* margin-left: 20%; */

}

.copyright p {
    justify-content: flex-start;
    font-size: small;
}