/* make scrollbar transparent */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

button {
    border: none;
}

.p-16 {
    padding: 16px !important;
}

.bg-login {
    background-repeat: no-repeat;
    background-size: cover;
}

.accent-line {
    width: 120px;
    height: 0px;
    border: 4px solid #febd11;
    border-radius: 6px;
}

.card-avatar {
    width: 120px;
    overflow: hidden;
    border-radius: 180px;
    position: relative;
}

.card-avatar img {
    object-fit: cover;
    width: 120px;
}

.change-avatar {
    position: absolute;
    width: 100%;
    height: -webkit-fill-available;
    text-align: center;
    top: 83px;
    background: rgba(27, 42, 65, 0.5);
}

.form-login {
    flex-direction: row;
    align-items: center;
    padding: 18px 16px 16px 95px;
    gap: 16px;
    width: 100%;
    height: 53px;
    background: #2a3139;
    border-radius: 8px;
    border: none;
    color: #f4f4f4;
    font-size: 14px;
}

.ic-form-email {
    position: absolute;
    width: 55px;
    left: 20px;
    top: 65px;
}

.ic-form-62 {
    position: absolute;
    width: 55px;
    left: 20px;
    top: 44px;
}

.ic-form-date {
    position: absolute;
    width: 55px;
    left: 20px;
    top: 47px;
}

.ic-form-password {
    position: absolute;
    width: 55px;
    left: 19px;
    top: 48px;
}

.ic-eyes-password {
    position: absolute;
    width: 18px;
    top: 52px;
    right: 20px;
}

.disabled-btn-register {
    cursor: none !important;
    pointer-events: none;
    background-color: #b77b13 !important;
}

/* start custom checkbox */
.container {
    display: block;
    position: relative;
    /* padding: 4px 6px 12px 10px; */
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0px;
    width: 0px;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid white;
}

.container input:checked ~ .no-after:after {
    content: none !important;
    display: none;
}

/* .no-after:after {
    content: none !important;
    display: none;
} */

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: transparent;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: rgb(254, 200, 52, 0.5);
    border: 1px solid #febd11;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    /* .container .checkmark:before { */
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid rgb(14, 15, 19, 0.8);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* end custom checkbox */

.container {
    padding-left: 5px;
}

.customCheckbox {
    float: left;
    position: relative;
    width: 20px;
    height: 20px;
    background: #eaeaea;
    border-radius: 6px;
    background-color: transparent !important;
    background: transparent !important;
    border: 1px solid white;
    box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);
    margin-right: 5px;
    overflow: hidden;
}

.customCheckbox.customCheckboxChecked {
    background-color: rgb(254, 200, 52, 0.5) !important;
    border: 1px solid #febd11;
}

.customCheckbox input {
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.customCheckbox span {
    display: none;
    text-align: center;
    line-height: 20px;
    font-size: 60%;
    color: white;
}

.customCheckbox.customCheckboxChecked span {
    display: block;
}

/* start modal change avatar */

#modalChangeAvatar {
    width: 344px;
    height: 296px;
    position: fixed !important;
    top: 35%;
    left: 35%;
    z-index: 1002;
    display: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 10px solid whitesmoke;
}

#modal-content {
    font-size: 15pt;
    padding: 20px;
    height: 100%;
    padding: 17px 20px 0px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#close,
#close-testdrive1 {
    /* background: #fff;
    position: absolute;
    top: 0px;
    right: 0px; */

    border-radius: 25px;
    background: black;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
}

#close-change-avatar {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    background: black;
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 5px;
}

#btn-close-change-avatar,
#tombol,
#btn-close-success-register {
    color: white;
    border: 0px;
    background: transparent;
    font-size: 25px;
    display: flex;
    align-items: center;
}

#close-success-register {
    border-radius: 25px;
    background: black;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
}

button i {
    font-size: 1rem;
    transition: 0.3s ease;
}

#bg-modal-change-avatar,
#bg-modal-success-register {
    opacity: 0.8;
    position: absolute;
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1001;
    opacity: 0.8;
}

#modalSuccessRegister {
    /* margin: 5% 30% 30% 30%; */
    width: 428px;
    height: 183px;
    position: fixed !important;
    top: 40%;
    left: 35%;
    z-index: 1002;
    display: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.img-modal {
    height: 135px;
}

.img-modal-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
}

.img-modal-avatar:hover {
    opacity: 1;
}

.img-avatar-nonaktif {
    opacity: 0.5;
}

.img-avatar-aktif {
    opacity: 1;
}

/* end modal change avatar */

/* start custom date picker */

/* custom datepicker */
.ui-widget {
    background: #2947c3 !important;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    box-shadow: 0 2px 4px whitesmoke;
}

.ui-datepicker {
    padding: 0;
    width: 20rem;
    z-index: 1030 !important;
}

.ui-datepicker-header {
    border: none;
    background: transparent;
    font-weight: normal;
    font-size: 11px;
    text-transform: uppercase;
}

.ui-datepicker-header .ui-state-hover {
    background: transparent;
    border-color: transparent;
    cursor: pointer;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.ui-datepicker .ui-datepicker-title {
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-prev {
    top: 1.7em;
    border: none;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    top: 52% !important;
}

.ui-datepicker-next:hover {
    background-color: white !important;
    border: none !important;
    border-radius: 4px;
    width: 19.8px !important;
    height: 20px !important;
    margin-top: 1px !important;
    margin-left: -50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ui-datepicker-prev:hover {
    background-color: white !important;
    border: none !important;
    border-radius: 4px;
    width: 19.8px !important;
    height: 20px !important;
    margin-left: 1px;
    margin-top: 1px;
}

.ui-datepicker .ui-datepicker-prev span {
    background-position: -96px -32px;
}

.ui-datepicker .ui-datepicker-prev-hover span {
    background-position: -96px -48px;
}

.ui-datepicker .ui-datepicker-next-hover span {
    background-position: -32px -48px;
}

.ui-datepicker table {
    margin: 0;
}

.ui-datepicker th {
    padding: 3em 0;
    color: white;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    border: none;
}

.ui-datepicker td {
    border: none;
    padding: 0;
    text-align: center;
    color: #efefef;
}

td .ui-state-default {
    background: transparent;
    border: none;
    text-align: center;
    padding: 1em 0;
    margin: 0;
    font-weight: normal;
    color: #efefef;
    font-size: 12px;
}

td .ui-state-active,
td .ui-state-hover {
    background: #27a2cf !important;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    background: #013168 !important;
    border: none !important;
    border-radius: 0px;
    text-align: center;
    color: white !important;
}

.ui-datepicker .ui-datepicker-header {
    background: #2947c3 !important;
    border: none;
    box-shadow: none;
}

.ui-widget-content,
.ui-widget.ui-widget-content {
    border: none !important;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    border: none;
    border-radius: 2px;
}

/* end custom date picker */

.image-input {
    background: rgba(27, 42, 65, 0.5);
    margin: auto;
}

.image-input::-webkit-file-upload-button {
    visibility: hidden;
}

.image-input::before {
    /* content: 'Select some files';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt; */

    content: "Pilih Gambar";
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(27, 42, 65, 0.5);
}

.image-input:hover::before {
    border-color: black;
}

.image-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

@media (max-width: 576px) {
    .accent-line {
        width: 100px;
        border: 3px solid #febd11;
    }

    .form-login {
        padding: 15px 16px 16px 75px;
    }

    .ic-form-email,
    .ic-form-password {
        width: 40px;
    }

    .ic-form-email {
        top: 67px;
    }

    .ic-eyes-password {
        width: 13px;
        top: 52px;
    }

    .ic-form-date {
        width: 40px;
        top: 67px;
    }

    .m-height-35 {
        height: 35px;
    }

    .ic-form-62 {
        width: 41px;
        top: 48px;
    }

    ::placeholder {
        font-size: 12px !important;
    }

    #modalChangeAvatar {
        left: 0px;
        width: 100%;
    }

    #modalSuccessRegister {
        width: 100%;
        margin: 0;
        left: 0px;
    }
}

.form-check-input {
    background-color: #f2f2f2;
    border: 0.5px solid #dbdbdb;
}

.text-register {
    color: #1363d3 !important;
    text-decoration: underline !important;
}

.text-center {
    text-align: center !important;
}

.btn-primary {
    padding: 12px 12px !important;
}

.ic_arrow {
    width: 32px;
}

@media (max-width: 576.5px) {
    .title {
        font-size: 24px;
    }

    .ic_arrow {
        width: 24px;
    }
}
