.body-backdrop{
    background-image: url('../images/backdrop-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    /* width: 100%; */
    align-items: center;
    justify-content: center;
}

.body-backdrop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.login-page-card{
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    box-shadow: 0 0 8px 0 rgba(101, 101, 101, 0.5);
}
.login-left-br{
    border-right: 2px solid rgb(0 0 0 / 5%);
}

.left-side-img-div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-left-side-bg{
    margin-bottom: 16px;
}
.login-custom-input{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}
.login-custom-input .form-control::placeholder {
    color: #9da0a3 !important;
}

.login-custom-input .form-control{
    padding-left: 48px !important;
    border-radius: 12px !important;
    /*border: 2px solid #6c757d ;*/
    font-size: 18px !important;
    height: 48px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-bottom: 10px !important;
}
.login-custom-input .input-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 48px;
    height: 48px;
}
.login-custom-input .input-icon i{
    font-size: 18px !important;
    color: #9da0a3 !important;
}
.login-text{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.login-text .login-hr{
    height: 1px;
    width: 100%;
    background: rgba(127, 127, 127, 0.2);
}
.login-text h2{
    letter-spacing: 2px;
    color: rgba(43, 47, 50, 0.85) !important;
    font-weight: 700 !important;
}
.login-error-alert{
    border-radius: 12px !important;
}
.btn-login{
    border-radius: 12px !important;
    height: 54px !important;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}
.login-form-main{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
.input-error-bg{
    border: 1px solid #dc3545;
}
.dashboard-logo{
    height: 44px;
}
.dashboard-system-name{
    color: #c5cacd !important;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dashboard-navbar{
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.dashboard-nav-custom::before {
    /*background: url("../images/backdrop-bg.png");*/
    /*content: '';*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*z-index: -1;*/
}
.dashboard-nav-custom{
    height: 335px;
    display: flex !important;
    align-items: flex-start;
    flex-direction: column;
    background-color: #1d4ed8 !important;
}
.dashboard-nav-custom .container-fluid{
    border-bottom: 1px solid rgba(227, 227, 227, 0.3);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.profile-dropdown{
    display: flex !important;
    flex-direction: row;
    justify-content: right;
    align-items: center;
}
.profile-dropdown-btn{
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.profile-dropdown-btn.dropdown-toggle::after{
    display: none !important;
}
.profile-dropdown .dropdown-menu li button{
    font-weight: 600;
}
.profile-dropdown .dropdown-menu li {
    border-radius: 8px !important;
}
.profile-dropdown .dropdown-menu li a:hover, .profile-dropdown .dropdown-menu li a:active {
    background: #e9e9e9 !important;
    border-radius: 8px !important;
}
.profile-dropdown .dropdown-menu {
   border-radius: 12px !important;
}
.btn-my-profile, .btn-signout{
    color: #6c757d !important;
}
.btn-my-profile:hover, .btn-my-profile:active{
    color: #1d4ed8 !important;
}
.btn-signout:hover, .btn-signout:active{
    color: #dc3545 !important;
}
.dashboard-nav-brn-row{
    display: flex !important;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    /*border-bottom: 1px solid rgba(227, 227, 227, 0.3);*/
    width: 100% !important;
}
.btn-dashboard-actions{
    height: 42px;
    width: 140px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    margin-right: 1rem;
    display: flex !important;
    align-items: center;
    flex-direction: row;
    justify-content: center;

}
.btn-dashboard-actions:hover,  .btn-dashboard-actions-active, .btn-dashboard-actions:active{
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
}

.dashboard-main-container{
    position: relative;
    top: -148px;
    border-radius: 20px;
    min-height: 60vh;
    background: #f8fafc !important;
}
.body-bg-color{
    background: #e5e7eb !important;
}
.header-icon-div{
    height: 42px !important;
    width: 42px !important;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(26, 29, 32, 0.15);
}
.header-icon-div i{
    font-size: 20px !important;
    color: #474747;
}
.users-header-div h2{
    display: flex;
    justify-content: start;
    flex-direction: row;
    color: #474747;
    align-items: center;
    font-size: 26px !important;
}
.users-header-div{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.users-header-div .new-user-btn, .new-small-group-btn{
    border-radius: 10px !important;
    height: 44px !important;
    font-weight: 600;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}
.dt-length select.form-select{
    height: 42px !important;
    border-radius: 8px !important;
}
.dt-length label, .dt-search label{
    font-size: 15px !important;
    color: #6c757d !important;
    font-weight: 500 !important;
}
.dt-search .form-control{
    height: 42px !important;
    border-radius: 8px !important;
    width: 100% !important;
}
.table-container .row.justify-content-between {
    margin-bottom: 1.25rem !important;
}

.table-container .row.justify-content-between:nth-child(1) div:nth-child(2){
    width: 50% !important;
}
.dt-search{
    width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.users_table th, .users_table td{
    height: 54px !important;
}
.dt-empty{
    border-radius: 0 0 12px 12px !important;
    border-bottom-left-radius: 12px !important;
    align-content: center;
}
.users_table{
    border-radius: 12px !important;
}
.users_table td,th{
    white-space: normal !important;
    word-wrap: break-word;
}
.users_table td{
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #353535 !important;
}
.users_table th{
    background: #d4d4d8 !important;
}
.users_table th:last-child{
    border-radius: 0 12px 0 0 !important;
}
.users_table th:first-child{
    border-radius: 12px 0 0 0 !important;
}
.users_table tbody tr:last-child td.tbody-td:first-child{
    border-radius: 0 0 0 12px !important;
}
.users_table tbody tr:last-child td.tbody-td:last-child{
    border-radius: 0 0 12px 0 !important;
}
.users_table th .dt-column-title{
    color: #374151 !important;
}
.users_table th, .users_table td{
    padding-left: 16px;
    padding-right: 16px;
}
.btn-tbl-action{
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}
.tbl-role-badge{
    width: 108px !important;
    height: 22px;
    font-weight: 500;
}
.dashboard-forms .form-control,.dashboard-forms .form-select{
    font-size: 17px !important;
    font-weight: 600;
    color: #15181a !important;
}
.dashboard-forms .form-control::placeholder, .select-placeholder{
    color: #9da0a3 !important;
}

.dashboard-forms .form-label{
    font-weight: 500 !important;
    font-size: 15px !important;
    color: #495057 !important;
}
.form-hr{
    border-top: 1px #bfbfbf solid !important
}
/*.form-btn-row{*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    width: 100%;*/
/*    align-items: center;*/
/*}*/
/*.form-btn-row .btn-clear{*/
/*    flex: 0 0 40%;*/
/*}*/
/*.form-btn-row .btn-submit{*/
/*    flex: 0 0 55%;*/
/*}*/
.form-btn-row .btn{
    border-radius: 12px !important;
    font-weight: 600 !important;
    height: 50px !important;
    width: 100% !important;
    font-size: 16px !important;
}
.custom-tooltip-edit-user{
    --bs-tooltip-bg: #0d6efd;
    --bs-tooltip-color: #fff;
}
.custom-tooltip-reset-user{
    --bs-tooltip-bg: #6c757d;
    --bs-tooltip-color: #fff;
}
.custom-tooltip-delete-user{
    --bs-tooltip-bg: #dc3545;
    --bs-tooltip-color: #fff;
}
.custom-tooltip-change-status-user{
    --bs-tooltip-bg: #6c757d;
    --bs-tooltip-color: #fff;
}
.custom-tooltip-view-user{
    --bs-tooltip-bg: #198754;
    --bs-tooltip-color: #fff;
}
.editUserModal .modal-title{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}
.editUserModal .modal-footer .btn{
   height: 40px;
    width: 160px;
}
.members_table .td-profile-img .dt-column-order{
    display: none !important;
}
.member-photo-td-div, .member-avatar-td-div{
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 50%;
}
.member-avatar-td-div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.member-avatar-td-div img{
    width: 20px;
    height: 20px;
}
.member-photo-td-div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.member-info-header-divider{
    background: #e9e9e9;
    padding: 8px 16px !important;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 17px !important;
    border-bottom: 2px solid #cdcdcd;
    font-size: 1.15rem !important;
}
.text-right{
    text-align: right;
}

.family-member-remove-btn{
    position: absolute;
    right: 0;
    width: 26px !important;
    height: 26px !important;
    padding: 0;
    border-radius: 0 4px 0 0;
    margin-top: 0 !important;
    top: 0;
}
.member-card-bg{
    background: #fafafa !important;
}
.fetch-data-lbl{
    font-weight: 500;
    color: #495057;
    font-size: 16px;
}
.fetch-data{
    font-weight: 700;
    color: #212529;
    font-size: 18px;
}
.existing-member-photo img{
    /*padding: 4px;*/
    border-radius: 6px;
    /*border: 2px solid #cdcdcd; */
}
.border-danger {
    border-color: #dc3545 !important; /* Red border for invalid fields */
}

.border-success {
    border-color: #198754 !important; /* Green border for valid fields */
}
.view-member-photo-name{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.view-member-photo-name .member-view-photo img{
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}
.view-member-photo-name .member-view-photo{
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 5px solid #ffffff;
}
.view-details-col{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
}
.view-detail-lbl{
    font-weight: 500;
    color: #495057 !important;
    font-size: 15px;
}
.view-detail-data{
    font-weight: 700;
    color: #212529 !important;
    font-size: 17px;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .login-page-card{
        border-radius: 16px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .login-page-card{
        border-radius: 16px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .login-page-card{
        border-radius: 16px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .login-page-card{
        border-radius: 24px;
    }
    .login-left-side-bg{
        height: 180px;
        margin-top: 2rem;
    }
    .welcome-text{
        text-align: center;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 0 !important;
    }
    .system-name{
        text-align: center;
        font-size: 1.75rem;
        font-weight: 700;
        letter-spacing: 0.25px;

    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .login-page-card{
        border-radius: 32px;
    }
    .login-left-side-bg{
        height: 200px;
        margin-top: 2rem;
    }
    .welcome-text{
        text-align: center;
        font-size: 1.25rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 0 !important;
    }
    .system-name{
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.25px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1400px) {
    .login-page-card{
        border-radius: 32px;
    }
    .login-left-side-bg{
        height: 240px;
        margin-top: 2rem;
    }

    .welcome-text{
        text-align: center;
        font-size: 1.5rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 0 !important;
    }
    .system-name{
        text-align: center;
        font-size: 2.25rem;
        font-weight: 700;
        letter-spacing: 0.25px;
    }
}

.dashboard-icon-div{
    padding: 16px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[readonly] {
    background-color: #f0f0f0 !important;
    cursor: not-allowed;
    color: #555;
}

.tab-pane-readonly{
    pointer-events: none;
    cursor: default;
}
.dashboard-card{
    border-radius: 16px;
}
/* General table styling */
.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* Creates vertical space between rows */
}


.dashboard-table thead tr {
    background-color: #f4f6f8;
    border-radius: 12px; /* Rounded corners for header row */
    overflow: hidden; /* Ensures the rounded corners apply properly */
}

/* Table header cells */
.dashboard-table thead th {
    background:#7d858d;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border: none; /* Remove border to avoid sharp edges */
    font-size: 18px;
}
/* Table rows */
.dashboard-table tbody tr {
    background-color: #ffffff;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Add hover effect */
.dashboard-table tbody tr:hover {
    /*transform: translateY(-3px);*/
    background: #f5f5f5;
}

/* Table cells */
.dashboard-table tbody td {
    padding: 12px 16px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #343a40;
}

/* Ensure the rounded corners apply properly */
.dashboard-table tbody tr td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.dashboard-table tbody tr td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.dashboard-table thead tr th:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.dashboard-table thead tr th:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* No data row */
.table tbody tr td.no-data-td {
    background-color: #fff5f5;
    color: #cc0000;
    font-weight: 500;
    border-radius: 12px;
}
span.select2{
    width: 100%  !important;
}
.select2-container--default .select2-selection--single{
    border: 1px solid #dee2e6 !important;
    height: 39px !important;
    border-radius: 0.375rem !important;
}

.select2-container--default .select2-selection--single.border-danger {
    border-color: #dc3545 !important; /* Red border for invalid fields */
}

.select2-container--default .select2-selection--single.border-success {
    border-color: #198754 !important; /* Green border for valid fields */
}
.select2-selection__rendered{
    line-height: 38px !important;
    padding-left: .75rem !important;
    font-size: 17px !important;
    font-weight: 600;
    color: #15181a !important;
}
.select2-selection__arrow{
    height: 36px !important;
    right: 8px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible{
    border: 1px solid rgb(119, 119, 119) !important;
}
.select2-container--open .select2-dropdown--below{
    border: 1px solid #dee2e6 !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px 0 #c9c9c9 !important;
}

.job-input-action-btn{
    width: 38px !important;
    height: 38px !important;
}