/* HIKMAT Membership signup form */

.hikmat-member-signup {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 12px;
}

.hikmat-member-signup * {
    box-sizing: border-box;
}


.hikmat-member-signup label {
    display: block;
    margin: 20px 0 20px;
    font-weight: 300;
    font-size: 14px;
    border-radius:0px;
}

.hikmat-member-signup input,
.hikmat-member-signup textarea,
.hikmat-member-signup .hm-picker-trigger {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    /*border: 1px solid #d7d7d7;*/
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    border-bottom: 1px solid #000;
    border-radius: 0px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

.hikmat-member-signup input:hover,
.hikmat-member-signup textarea:hover,
.hikmat-member-signup .hm-picker-trigger:hover,
.hikmat-member-signup input:focus,
.hikmat-member-signup textarea:focus,
.hikmat-member-signup .hm-picker-trigger:focus {
    background-color: transparent;
    color: #000;
}

.hikmat-member-signup input:disabled,
.hikmat-member-signup textarea:disabled,
.hikmat-member-signup .hm-picker-trigger:disabled {
    background: #f6f6f6;
    color: #777;
    cursor: not-allowed;
}

.hikmat-member-signup textarea {
    min-height: 96px;
    resize: vertical;
}

.hikmat-member-signup .hm-row {
    display: flex;
    gap: 20px;
}

.hikmat-member-signup .hm-col {
    flex: 1 1 0;
    min-width: 0;
    border-radius:0px;
}

.hikmat-member-signup .hm-section {
    margin: 16px 0;
    padding: 0px;
    /*border: 1px solid #ececec;*/
    /*border-radius: 10px;*/
    background: #fff;
}

.hikmat-member-signup .hm-section-title {
    margin: 14px 0 14px;
    font-weight: 400;
    
}


/* Supporting text below field labels */

.hikmat-member-signup .hm-field-help {
    display: block;
    margin: 3px 0 7px;
    color: #6f6f6f;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

/* Field + verification button */

.hikmat-member-signup .hm-inline {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}

.hikmat-member-signup .hm-inline > label {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.hikmat-member-signup .hm-field-wrap {
    position: relative;
}

.hikmat-member-signup .hm-check {
    display: none;
    position: absolute;
    top: 34px;
    right: 10px;
    color: #087b29;
    font-size: 18px;
    font-weight: 700;
}

.hikmat-member-signup .hm-field-wrap.is-verified input {
    padding-right: 36px;
    border-color: #087b29;
}

.hikmat-member-signup .hm-field-wrap.is-verified .hm-check {
    display: inline;
}

.hikmat-member-signup .hm-action {
    width: auto;
    min-width: 105px;
    min-height: 30px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #111;
    border-radius: 0px;
    background: #111;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.hikmat-member-signup .hm-action:hover,
.hikmat-member-signup .hm-action:focus {
    color: #fff;
    background-color: #000;
}

.hikmat-member-signup .hm-action.secondary {
    background: #fff;
    color: #111;
}

.hikmat-member-signup .hm-action.link {
    background: #fff;
    color: #111;
    border-color: #ccc;
    text-decoration: underline;
}

/* Status */

.hikmat-member-signup .hm-status {
    display: none;
    margin: -4px 0 10px;
    font-size: 13px;
}

.hikmat-member-signup .hm-status.ok {
    display: block;
    color: #087b29;
}

.hikmat-member-signup .hm-status.err {
    display: block;
    color: #c01818;
}

/* OTP */

.hikmat-member-signup .hm-otp {
    display: none;
    align-items: flex-end;
}

.hikmat-member-signup .hm-otp.is-open {
    display: flex;
}

.hikmat-member-signup .hm-otp label {
    width: 100%;
    margin-bottom: 0;
}

.hikmat-member-signup .hm-otp-boxes {
    display: flex;
    width: 100%;
    gap: 8px;
    padding-top: 10px;
}

.hikmat-member-signup .hm-otp-digit {
    width: calc((100% - 40px) / 6) !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 !important;
    text-align: center;
    font-size: 18px;
}

/* Password */

/* Password field */

.hikmat-member-signup .hm-password-wrap {
    position: relative;
}

.hikmat-member-signup .hm-password-wrap input {
    padding-right: 72px;
}

.hikmat-member-signup .hm-toggle-pass {
    position: absolute;
    top: 70%;
    right: 12px;
    z-index: 2;
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 4px 6px;
    border: 0;
    border-radius: 0px;
    background: transparent;
    color: #111;
    font-family: inherit;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: none;
}

.hikmat-member-signup .hm-toggle-pass:hover,
.hikmat-member-signup .hm-toggle-pass:focus {
    border: 0;
    background: #fff;
    color: #000;
    outline: none;
    box-shadow: none;
}

.hikmat-member-signup .hm-toggle-pass:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hikmat-member-signup .hm-password-wrap {
    position: relative;
}

.hikmat-member-signup .hm-web-account-only.hm-hidden {
    display: none;
}



/* WhatsApp consent */

.hikmat-member-signup .hm-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 14px;
    line-height: 1.45;
    cursor: pointer;
}

.hikmat-member-signup .hm-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    flex: 0 0 18px;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 0px;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.hikmat-member-signup .hm-consent span {
    flex: 1;
    min-width: 0;
}

/* Submit */

.hikmat-member-signup .hm-submit {
    width: 100%;
    min-height: 48px;
    border: 1px solid #111;
    border-radius: 0px;
    background: #111;
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
}

.hikmat-member-signup .hm-submit:hover, .hikmat-member-signup .hm-submit:focus {
    color: #fff;
    background-color: #000;
}

.hikmat-member-signup .hm-submit:disabled,
.hikmat-member-signup button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Modern picker */

.hikmat-member-signup .hm-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.hikmat-member-signup .hm-picker-trigger::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-left: 8px;
    background-image: url("https://www.hikmat.co.id/wp-content/uploads/2026/05/chevron-down.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease;
}

.hikmat-member-signup .hm-picker-trigger.is-open::after {
    transform: rotate(180deg);
}

/* Phone number */

.hikmat-member-signup .hm-phone-grid {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
}

.hikmat-member-signup .hm-country-code-trigger {
    width: 100px;
    flex: 0 0 100px;
}

.hikmat-member-signup .hm-phone-number {
    flex: 1 1 auto;
    min-width: 0;
}

/* Popup modal */

.hikmat-member-signup .hm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.48);
}

.hikmat-member-signup .hm-modal.is-open {
    display: flex;
}

.hikmat-member-signup .hm-modal-box {
    display: flex;
    width: 100%;
    max-width: 480px;
    max-height: 82vh;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hikmat-member-signup .hm-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.hikmat-member-signup .hm-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hikmat-member-signup .hm-search {
    margin: 0;
    border-radius:0px;
    outline:0px;
    font-size: 16px;
}

.hikmat-member-signup #hm_options {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hikmat-member-signup .hm-option {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    text-align: left;
    cursor: pointer;
    color: #000;
}

.hikmat-member-signup .hm-option:hover,
.hikmat-member-signup .hm-option:focus {
    background: #f3f3f3;
    outline: none;
    color: #000;
}

.hikmat-member-signup .hm-close {
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.hikmat-member-signup .hm-close:hover, .hikmat-member-signup .hm-close:focus {
    background: transparent;
    color: #000;
}

.hikmat-member-signup .hm-loading {
    padding: 18px 14px;
    color: #666;
}

/* Utilities */

.hikmat-member-signup .hm-hidden {
    display: none !important;
}

body.hm-modal-locked {
    position: relative;
    overflow: hidden;
}

/*=========================*/
/* CUSTOM */
/*=========================*/

#hm_first_name, #hm_last_name, #hm_phone_national, #hm_email, #hm_dob, #hm_country_label, #hm_state_label, #hm_city_label, #hm_district_label, #hm_subdistrict_label, #hm_postcode, #hm_password, #hm_password_confirm, #hm_phone_country_code, .hikmat-member-signup textarea {
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 0px;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
    border-bottom: 1px solid #000;
}

#hm_first_name:focus, #hm_last_name:focus, #hm_phone_national:focus, #hm_email:focus, #hm_dob:focus, #hm_country_label:focus, #hm_state_label:focus, #hm_city_label:focus, #hm_district_label:focus, #hm_subdistrict_label:focus, #hm_postcode:focus, #hm_password:focus, #hm_password_confirm:focus, .hikmat-member-signup textarea:focus {
    outline: 0px;
}

.hm-col input, .hm-col textarea, .hm-col button, .hm-picker-trigger {
    margin-top: 5px;
    margin-bottom: 10px;
}

#hm_modal_title {
    font-weight: 400;
}

#hm_phone_msg, #hm_email_msg {
    padding-top: 10px;
}


/*=========================*/
/*=========================*/

/* Mobile */

@media (max-width: 520px) {
    .hikmat-member-signup {
        padding: 0 10px;
    }

    .hikmat-member-signup .hm-row {
        display: block;
    }

    .hikmat-member-signup .hm-inline {
        display: flex;
        align-items: flex-end;
        gap: 8px;
    }

    .hikmat-member-signup .hm-action {
        width: auto;
        min-width: 92px;
        margin: 0;
        padding: 0 12px;
        font-size: 14px;
    }

    .hikmat-member-signup .hm-country-code-trigger {
        width: 88px;
        flex-basis: 88px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .hikmat-member-signup .hm-phone-grid {
        gap: 6px;
    }

    .hikmat-member-signup .hm-otp.is-open {
        display: block;
    }

    .hikmat-member-signup .hm-otp-boxes {
        margin-bottom: 10px;
    }

}

/* Extra-small mobile */

@media (max-width: 380px) {
    .hikmat-member-signup .hm-inline {
        gap: 6px;
    }

    .hikmat-member-signup .hm-action {
        min-width: 82px;
        padding: 0 9px;
        font-size: 13px;
    }

    .hikmat-member-signup .hm-country-code-trigger {
        width: 82px;
        flex-basis: 82px;
    }
}


.hikmat-member-signup .hm-options-empty { padding: 14px; }
