body {
    background: #f7f6fb;
}

.page-content {
    min-height: 100vh;
    padding: 35px 15px;
}

.auth-page {
    max-width: 1180px;
}

.login-card {
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(54, 30, 85, 0.10);
    background: #ffffff;
}

.auth-left-wrapper-bg {
    min-height: 720px;
    height: 100%;
    position: relative;
    background-image:
        linear-gradient(to bottom, rgba(54, 30, 85, 0.15), rgba(54, 30, 85, 0.30)),
        url("../images/login_member.jpg");
    background-size: cover;
    background-position: center;
}

.auth-form-wrapper {
    min-height: 650px;
    padding: 42px 45px 30px 45px;
}

.portal-title {
    color: #361E55;
    font-family: 'Lato', sans-serif;
    margin-bottom: 0;
}

.portal-title span {
    color: #4F9E45;
}

.malaysia-flag {
    width: 12%;
}

.boardroom-logo {
    max-width: 80%;
}

.company-logo {
    max-height: 80px;
}

.login-heading {
    color: #361E55;
    font-size: 25px;
    margin-bottom: 6px;
}

.form-control {
    height: 40px;
    border-radius: 2px;
    border: 1px solid #cfcfd6;
    font-size: 14px;
}

.form-control:focus {
    border-color: #56356f;
    box-shadow: 0 0 0 0.12rem rgba(86, 53, 111, 0.18);
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a9aa3;
    z-index: 4;
}

.input-icon-wrap .form-control {
    padding-left: 42px;
}

.member-id-input {
    text-transform: uppercase;
}

.btn-boardroom {
    background: #56356f;
    border-color: #56356f;
    color: #ffffff;
    font-weight: 700;
    border-radius: 3px;
    height: 40px;
}

.btn-boardroom:hover,
.btn-boardroom:focus {
    background: #361E55;
    border-color: #361E55;
    color: #ffffff;
}

.btn-boardroom-outline {
    background: #ffffff;
    border: 1px solid #56356f;
    color: #56356f;
    font-weight: 700;
    border-radius: 3px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-boardroom-outline:hover,
.btn-boardroom-outline:focus {
    background: #56356f;
    color: #ffffff;
    text-decoration: none;
}

.forgot-link {
    color: #006dff;
    font-size: 14px;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.divider-text {
    display: flex;
    align-items: center;
    color: #777777;
    font-size: 13px;
    margin: 28px 0 20px 0;
}

.divider-text:before,
.divider-text:after {
    content: "";
    flex: 1;
    border-top: 1px solid #e4e4ea;
}

.divider-text span {
    padding: 0 16px;
}

.browser-footer {
    border-top: 1px solid #ececf2;
    padding: 18px 26px;
    font-size: 13px;
    line-height: 1.6;
    color: #222222;
    background: #ffffff;
}

.maintenance {
    background-color: #fbbc06;
    padding: 20px;
    text-align: center;
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .auth-form-wrapper {
        padding: 32px 28px 25px 28px;
    }

    .auth-left-wrapper-bg {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .page-content {
        padding: 15px;
    }

    .auth-left-wrapper-bg {
        min-height: 360px;
    }

    .portal-title {
        font-size: 18px;
    }

    .malaysia-flag {
        width: 55px;
    }

    .boardroom-logo {
        max-width: 270px;
        margin-top: 22px;
    }

    .auth-form-wrapper {
        min-height: auto;
    }
}


#full_loading {
    display: none;
}

.iti {
    width: 100%;
}

.register-note {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 20px;
}

.privacy-text {
    font-size: 14px;
    line-height: 1.6;
}


.mobile-field-group .iti {
    width: 100%;
    display: block;
}

.mobile-field-group .iti input {
    width: 100%;
}

.mobile-field-group #mobile-error,
.mobile-field-group .mobile-error-message {
    display: block;
    width: 100%;
    margin-top: 6px;
    color: #dc3545;
    font-size: 13px;
    line-height: 1.4;
}

.mobile-field-group .iti.is-invalid input,
.mobile-field-group .iti input.is-invalid {
    border-color: #dc3545;
}


.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .field-icon {
    position: absolute;
    left: 14px;
    top: 20px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9aa3;
    z-index: 5;
    pointer-events: none;
}

.input-icon-wrap .field-icon svg {
    width: 18px;
    height: 18px;
}

.input-icon-wrap .form-control {
    padding-left: 42px;
}

.input-icon-wrap .input-group {
    position: relative;
    width: 100%;
}

.input-icon-wrap .input-group>.form-control {
    width: 100%;
    border-radius: 2px !important;
    padding-left: 42px;
}

.input-icon-wrap.has-error .field-icon {
    color: #dc3545;
}

.input-icon-wrap+.text-danger,
.input-icon-wrap+.invalid-feedback {
    margin-top: 5px;
}

/* Mobile login page adjustment */
@media (max-width: 767.98px) {
    .page-content {
        padding: 0;
        align-items: flex-start !important;
    }

    .auth-page {
        max-width: 100%;
    }

    .login-card {
        border-radius: 0;
        box-shadow: none;
    }

    .auth-form-wrapper {
        min-height: auto;
        padding: 30px 28px 25px 28px;
    }

    .portal-title {
        font-size: 18px;
    }

    .boardroom-logo {
        max-width: 270px;
        margin-top: 20px;
    }
}

/* Cloudflare Turnstile */
.turnstile-wrapper {
    width: 100%;
}

.turnstile-wrapper .cf-turnstile {
    width: 100%;
    min-width: 300px;
    max-width: 100%;
}

#member_id {
    text-transform: uppercase;
}

#member_id::placeholder {
    text-transform: none !important;
}

#member_id::-webkit-input-placeholder {
    text-transform: none !important;
}

#member_id::-moz-placeholder {
    text-transform: none !important;
}

#member_id:-ms-input-placeholder {
    text-transform: none !important;
}
