/* ====================================
   GLOBAL
==================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f6fb;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #172033;
}


/* ====================================
   MAIN BUTTON
==================================== */

.add-user-button {
    min-height: 45px;
    padding: 10px 18px;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* ====================================
   MODAL
==================================== */

.login-user-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.20);
}


/* ====================================
   MODAL HEADER
==================================== */

.login-user-modal .modal-header {
    padding: 20px 22px;

    background: #f8faff;

    border-bottom:
        1px solid
        #e8ecf3;
}


.modal-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}


.modal-icon {
    width: 44px;
    height: 44px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e9efff;
    color: #315efb;

    font-size: 18px;
}


.login-user-modal .modal-title {
    margin: 0;

    color: #172033;

    font-size: 18px;
    font-weight: 700;
}


.modal-heading small {
    color: #788398;
    font-size: 12px;
}


/* ====================================
   BODY
==================================== */

.login-user-modal .modal-body {
    padding: 24px;
}


.form-section {
    margin-bottom: 20px;
}


.form-label {
    display: block;

    margin-bottom: 7px;

    color: #354052;

    font-size: 14px;
    font-weight: 600;
}


.required-star {
    color: #dc3545;
}


/* ====================================
   INPUT GROUP
==================================== */

.custom-input-group
.input-group-text {
    min-width: 48px;

    display: flex;
    justify-content: center;

    background: #f5f7fb;

    border-color: #dfe4ec;

    color: #687386;
}


.custom-input-group
.form-control,

.custom-input-group
.form-select {

    min-height: 48px;

    border-color: #dfe4ec;

    font-size: 14px;
}


.custom-input-group
.form-control:focus,

.custom-input-group
.form-select:focus {

    border-color: #4f70ff;

    box-shadow:
        0 0 0
        3px
        rgba(79, 112, 255, 0.10);
}


/* ====================================
   FIELD HELP
==================================== */

.field-help {
    display: block;

    margin-top: 6px;

    color: #8490a3;

    font-size: 12px;
}


/* ====================================
   INVALID FEEDBACK
==================================== */

.invalid-feedback {
    margin-top: 5px;

    color: #dc3545;

    font-size: 12px;
}


/* ====================================
   OTP INFORMATION
==================================== */

.otp-info-box {

    display: flex;
    gap: 12px;

    padding: 15px;

    margin-top: 5px;

    border-radius: 12px;

    background: #eef5ff;

    color: #31527a;
}


.otp-info-icon {
    font-size: 18px;
}


.otp-info-box strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}


.otp-info-box p {
    margin: 0;

    font-size: 12px;

    line-height: 1.6;
}


/* ====================================
   MODAL FOOTER
==================================== */

.login-user-modal
.modal-footer {

    padding: 16px 24px;

    background: #fafbfc;

    border-top:
        1px solid
        #e9edf5;

    gap: 8px;
}


.cancel-button,
.save-button {

    min-height: 43px;

    padding: 9px 17px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    gap: 7px;
}


/* ====================================
   DISABLED SAVE BUTTON
==================================== */

.save-button:disabled {
    cursor: not-allowed;
    opacity: 0.70;
}


/* ====================================
   MOBILE
==================================== */

@media
(max-width: 575.98px) {

    .login-user-modal {
        border-radius: 15px;
    }

    .login-user-modal
    .modal-header {

        padding:
            16px
            18px;
    }

    .login-user-modal
    .modal-body {

        padding: 18px;
    }

    .login-user-modal
    .modal-footer {

        padding:
            14px
            18px;
    }

    .modal-icon {

        width: 39px;
        height: 39px;

        font-size: 16px;
    }

    .login-user-modal
    .modal-title {

        font-size: 16px;
    }

    .cancel-button,
    .save-button {

        flex: 1;

        justify-content: center;
    }
}