* {
    font-family: Work Sans, sans-serif;
    /* font-size: 24px; */
    /* font-weight: 800; */
    /* line-height: 32px; */
    /* text-align: center; */
    letter-spacing: 0.8px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

    /* font-family: "Cabin", sans-serif; */
    box-sizing: border-box;
}
html {
    /* background-color: #f5f5f5; */
    background-color: white;
}
body {
    margin: 0;
}
hr {
    border: 1px solid #ddd;
}
input,
button {
    border: unset;
}
a {
    text-decoration: unset;
}
.line-dash {
    border: 1px dashed #ddd;
}
.clear {
    clear: both;
}
.mb-3 {
    margin-bottom: 15px;
}
.mb-6 {
    margin-bottom: 30px;
}
.container-reg {
    position: relative;
    padding: 25px;
    padding-top: 50px;
}
#page-1 {
    color: #fff;
}
#page-1 .container {
    padding-top: 200px;
}
.kotak-1 {
    position: fixed;
    top: 0;
    right: 0;
}
.kotak-2 {
    position: fixed;
    top: 128px;
    left: 0;
}
.text-center {
    text-align: center;
}
.logo {
    margin-top: 105px;
}
.logo img {
    display: block;
    margin: 0 auto;
}
.title {
    font-size: 1.5em;
    font-weight: 1000;
}
.title-front {
    margin-top: 30px;
}
.description {
    font-size: 1em;
    margin-bottom: 30px;
    color: #4d4d4d;
}
.description-front {
    color: #fff;
}
.form-group {
    position: relative;
}
.icon-input-control-code,
.icon-input-control-line {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 10;
    color: #979797;
}
.icon-input-control-line {
    top: 11px;
    left: 44px;
}
.input-control,
.btn-continue,
.btn-add-child {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border-radius: 115px;
    font-size: 1em;
    background-color: #fdfdfc;
    -webkit-border-radius: 115px;
    -moz-border-radius: 115px;
    -ms-border-radius: 115px;
    -o-border-radius: 115px;
    font-weight: 500;
}
.input-control-front {
    padding-left: 59px;
}
.btn-continue {
    background-color: #000;
    color: #fff;
    text-decoration: unset;
    text-align: center;
}

.btn-continue:hover {
    background-color: #333;
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    -o-transform: scale(1.01);
}

.btn-continue:disabled {
    cursor: not-allowed; /* Mengubah kursor untuk menunjukkan tombol tidak bisa di-click */
    background-color: #a7a7a7 !important; /* Ganti dengan warna yang sesuai */
    opacity: 0.6; /* Membuat tombol lebih pudar */
}

.icon-back {
    position: fixed;
    top: 16px;
    left: 16px;
}
.title-otp {
    margin-top: 150px;
}
.form-otp {
    display: block;
    margin: 0 auto;
    width: 210px;
}
.input-otp {
    display: inline-block;
    width: 39px;
    padding: 10px 13px;
    text-align: center;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
}
.resend-code {
    color: #888686;
}

.input-label {
    display: block;
    margin-bottom: 6px;
}
.input-control-reg {
    border: 1px solid #ddd;
}
.panel {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.panel-label {
    display: block;
    margin-bottom: 20px;
}
.btn-add-child {
    float: right;
    display: block;
    text-align: center;
    width: 114px;
    background-color: #ddeef3;
    color: #39bde4;
}
.img-success-reg {
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
}
.text-success-reg {
    font-size: 1.5em;
    font-weight: 1000;
    margin-bottom: 60px;
}

#page-7 {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
}

#page-8,
#page-6 {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
}

.top-menu {
    padding: 10px 25px;
    border: 1px solid #ddd;
}
.logo-home {
    display: block;
    float: left;
}
.logout {
    float: right;
    padding: 4px 0;
}
.container-home {
    padding: 30px 25px;
}
.parent-detail-label {
    margin-bottom: 25px;
}
.parent-detail-title {
    font-size: 1.3em;
    font-weight: 1000;
}
.parent-detail-edit {
    float: right;
    color: #39bde4;
    padding-top: 2px;
}
.parent-detail-edit a {
    color: #39bde4;
}
.input-control-detail {
    background-color: #f6f6f6;
    border: 1px solid #ddd;
}
.child-detail {
    margin-top: 30px;
}
.icon-back-home {
    margin-top: 1.5%;
    float: left;
}

.form-child {
    position: relative;
}
.icon-del {
    position: absolute;
    top: 15px;
    right: 15px;
}

@media screen and (min-width: 431px) {
    .container-reg,
    .container-home {
        width: 425px;
        margin: 0 auto;
    }
}

.child-looping {
    font-weight: 800;
    font-size: 16px;
    line-height: 20.8px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* date picker */

#datePickerModal {
    display: none; /* Sembunyikan modal secara default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(
        -50%,
        -50%
    ); /* Memusatkan modal secara horizontal & vertikal */
    background: white;
    padding: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 15px;
    width: 90%; /* Agar tetap responsif */
    max-width: 600px; /* Batasan lebar maksimum */
    min-height: 25%;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.date-picker {
    display: flex; /* Menggunakan flexbox untuk menyusun elemen secara horizontal */
    justify-content: space-between; /* Menyebarkan ruang antar dropdown */
    gap: 10px; /* Jarak antar elemen dropdown */
}

.date-picker select {
    padding: 5px;
    margin: 0; /* Menghilangkan margin agar lebih rapat */
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 150px; /* Maksimum tinggi dropdown */
    overflow-y: auto; /* Mengaktifkan scroll jika terlalu banyak opsi */
    width: 30%; /* Setiap dropdown memiliki lebar 30% */
}

#confirmDate {
    margin-top: 10px;
    padding: 5px 10px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.input-otp::-webkit-outer-spin-button,
.input-otp::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-otp {
    -moz-appearance: textfield;
}

#month,
#day,
#year {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 10px;
    height: 62px; /* Sesuaikan dengan kebutuhan */
    line-height: 62px; /* Sesuaikan dengan kebutuhan */
    display: flex;
    align-items: center;
    justify-content: center;
}

#month::after,
#day::after,
#year::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
    z-index: 2;
}
