body {
    background-color: var(--lighterbackground);
    font-family: 'Figtree', Helvetica, Arial, sans-serif;
    overflow-x      : hidden;
}






a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
.text-primary {
    color: var(--primary) !important;
}
.btn-primary {
    background: var(--primary) !important;
    border: 0;
}
.bg_secondary{
    background-color: #F8DEE0 !important;
}
.btn-secondary {
    background: #F8DEE0 !important;
    border    : 0;
    color     : var(--primary);
}
.card {
    border       : 0px;

}
.card-footer {
    
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.nav-tabs {
    border-bottom: none;
}
.nav-tabs .nav-link.active{
    border-bottom: 3px solid  var(--primary);
}
.nav-tabs .nav-link {
    color        : var(--third);
    border       : none;
    border-bottom: 2px solid  var(--background);
}
.select_lang{
    text-decoration: none;
}

.card, .layout-navbar.navbar-detached{
    border-radius: 16px;
}
/* Login And Signup page BEGIN */
.header_login{
    padding-top     : 50px;
    padding-bottom  : 150px;
    background-color: var(--background);
    background-size : inherit;
}
.card_login{
    border-radius: 1rem;
}
#main_content_login{
    position: relative;
    width   : 100vw;
}
.div_login_root{
    position      : absolute;
    top           : -140px;
    width         : 100%;
    padding-bottom: 75px;
    min-height    : 100vh;
}
#tabs_login .nav-link{
    width     : 200px;
    text-align: center;
    color: #999;
}
#tabs_login .active {
    font-weight: bold;
    color: var(--primary);
}
/* Login And Signup page END */

.div_logo{
    text-align: center;
}
.agm_logo{
    max-height: 50px;
}
.agm_item{
    border        : 2px solid var(--background);
    border-radius : 8px;
    font-size     : 13px;
}
.row_agm_detail {
    min-height: 100px;
}
.row_heading .div_item{
    padding: 16px;
    border-bottom: 2px solid var(--background);
}
.row_heading .div_item:has(.name){
    border-top-right-radius: 8px;
    background-color       : #fbefef;
}
.agm_item.inactive .div_item:has(.name){
    background-color       : var(--background);
}
.row_heading .div_item .name{
    font-size  : 16px;
    font-weight: bold;
}
.agm_item .row_items {
    padding: 12px 0;
}
.agm_item .value, .agm_item .label {
    color      : #757575;
}
.agm_item .label {
    font-weight: 400;
    font-size  : 14px;
}
.agm_item .value {
    font-weight: 600;
}
.card-body h3 {
    font-weight   : bold;
    font-size     : 20px;
    padding-bottom: 10px;
}
.agm_item:has(.row_agm_detail){
    border: none;
}
.row_agm_detail .row_heading .div_item{
    border-bottom: none;
}
.row_agm_detail .row_heading, .row_agm_detail .stats{
    border       : 1px solid var(--background);
    border-radius: 8px;
}
.row_agm_detail .stats.active{
    border-color: #6DB14D;
    background  : linear-gradient(269.67deg, rgba(109, 177, 77, 0.01) 31.77%, rgba(109, 177, 77, 0.1) 99.72%);
}
.stats.active .stats_item .label{
    color: #6DB14D;
    font-weight: bold;
}
.stats.active .stats_item .value{
    color: #6DB14D;
    font-weight: bold;
}
.row_agm_detail .stats{
    width           : 100%;
    padding         : 10px 10px;
    background-color: #fbefef;
    position        : relative;
}
.row_agm_detail .stats{
    background-color: var(--lighterbackground);
}
.row_agm_detail .stats.active .icon{
    color: #6DB14D;
}
.row_agm_detail .stats .icon {
    font-size: 5vw;
    position : absolute;
    bottom   : 0px;
    right    : 15px;
    color    : #eed9d9;
}
.row_agm_detail .stats .value {
    font-weight: bold;
}
.row_address_bc{
    margin-bottom: 20px;
}
.bc_password {
    color    : var(--primary);
    font-size: 16px;
}
.bc_password span, .bc_date span {
    font-weight: bold;
}
.bc_date, .bc_password{
    padding  : 2px 0px;
}
.bc_live{
    color      : var(--success);
    font-weight: bold;
    padding-top: 7px;
}
.bc_live span{
    padding: 5px 5px;
}

.bc_link{
    padding-top: 3px;
}

/* Voting Item */
.voting_item {
    border-radius   : 8px;
    /* background-color: var(--background); */
    padding         : 10px;
}
.voting_item_title {
    font-weight: bold;
    font-size  : 16px;
    color      : var(--third);
}
.agm_voting_optional{
    font-weight: normal;
    font-size  : 14px;
    color      : var(--third);
}
.agm_voting_date {
    background-color: var(--success);
    margin: 0px 10px;
    text-transform: none;
}
.agm_voting_clear{
    margin     : 5px 0px;
    padding    : 5px 0px;
    font-weight: bold;
    text-align: center;
}
.voting_na_message{
    color      : gray;
    font-weight: normal;
    font-size  : 14px;
    padding-top: 15px;
}

/* Customize Menu Start */s
.app-brand-text {
    color         : var(--primary) !important;
    text-transform: none !important;
    font-weight   : 300 !important;
}
.menu-header-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}
.bg-menu-theme .menu-inner > .menu-item.active:before {
    background-color: var(--primary) !important;
}
.menu-item a {
    color: var(--primary) !important;
}
.menu-vertical .menu-icon {
    width: auto;
}
.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    background-color: rgb(248 222 224) !important;
}
.menu-item .menu-link span i{
    font-size: 12px;
}
.menu-item.active.open .menu-link span {
    padding         : 4px 0px 4px 8px;
    background-color: var(--primary);
    text-align      : center;
    border-radius   : 8px;
    color           : var(--fourth);
    margin-right    : 10px;
}
.menu-item.active.open .menu-link div{
    color      : var(--third);
    font-weight: 600;
}

/* Customize Menu End */
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    color           : var(--fourth);
    background-color: var(--primary);
    border-color    : var(--primary);
}
.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color    : var(--primary);
}

.btn-outline-primary:hover {
    color           : var(--fourth);
    background-color: var(--primary);
    border-color    : var(--primary);
    box-shadow      : 0 0.125rem 0.25rem 0 var(--background);
}
.no_agm_root{
    height: 450px;
}
.no_agm div {
    padding-top: 10px;
    padding-bottom: 10px;
}
.no_agm .icon {
    font-size       : 55px;
    padding         : 30px 40px;
    background-color:  rgb(248 222 224);
    border-radius   : 50%;
    color           : var(--primary);
}
.btn_no_border{
    border          : none;
    font-weight     : bold;
    background-color: transparent;
}
.kv-table-header {
    background: var(--background);
}
.com_questions_sub_heading {
    font-size    : 20px;
    margin-bottom: 12px;
}
.com_ques_header {
    background-color: var(--background);
    padding-top     : 3px;
    padding-bottom  : 9px;
    border-bottom   : 1px solid lightgray;
    border-radius   : 2px;
    color           : #566a7f;
    font-size       : 15px;
    font-weight     : 600;
}
.com_ques_items {
    border-bottom: 1px solid lightgray;
}
.div_card_voting .btn-group > label.btn-outline-primary{
    padding-left : 0px;
    padding-right: 0px;
    min-width    : 90px;
}
.div_card_voting .btn-group > label.btn-outline-primary:nth-child(3){
    border-radius: 6px 0px 0px 6px;
}
.agm_item .tab-content{
    padding-left : 0px;
    padding-right: 0px;
}
#tab_votings {
    display: none;
}
.voting_progress {
    padding: 15px 10px;
    border: 5px solid #fbefef;
    border-radius: 50%;
}
.row_broadcast{
    padding         : 12px 16px;
    background-color: var(--background);
    border-radius   : 8px;
}
.item_voting_bod{
    border       : 2px solid var(--background);
    border-radius: 8px;
    padding      : 12px;
}
.bod_image{
    height             : 100%;
    width              : 100%;
    background-size    : cover;
    background-repeat  : no-repeat;
    background-position: center center;
    border-radius      : 8px;
    aspect-ratio       : 1 / 1;
    /* max-height: 50px; */
}
.form_group_select_bod input {
    padding      : 0;
    height       : initial;
    width        : initial;
    margin-bottom: 0;
    display      : none;
    cursor       : pointer;
}
.form_group_select_bod label {
    position: relative;
    cursor  : pointer;
}
.form_group_select_bod label:before {
    content           : '';
    -webkit-appearance: none;
    background-color  : transparent;
    border            : 2px solid #c6c6c6;
    box-shadow        : 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding           : 10px;
    display           : inline-block;
    position          : relative;
    vertical-align    : middle;
    cursor            : pointer;
    margin-right      : 5px;
    border-radius     : 3px;
}
.form_group_select_bod input:checked + label:before {
    background-color: var(--primary);
    border          : 2px solid  var(--primary);
}
.form_group_select_bod input:checked+label:after {
    content     : '';
    display     : block;
    position    : absolute;
    top         : 2px;
    left        : 8px;
    width       : 8px;
    height      : 14px;
    border      : solid var(--lighterbackground);
    border-width: 0px 2.5px 2.5px 0px;
    transform   : rotate(45deg);
}
.input_select_board:disabled + label:before {
    background-color: var(--background);
    border-color    : var(--background);
}
.bod_type {
    font-size  : 16px;
    font-weight: bold;
}
.bod_min_max_select {
    border: 1px solid lightgray;
    border-radius: 8px;
}
.disp_total_current {
    font-size  : 20px;
    font-weight: bold;
}
div[aria-invalid="true"] + .invalid-feedback {
    display: block;
}

.shareholder-body h1 {
    font-size: 25px;
    color: var(--primary);
    font-weight: 700;
    padding-bottom: 30px;
    padding-top: 15px;
}

/* .shareholder-body .layout-container,
.shareholder-body .layout-menu {
    margin-top: 30px;
} */

.app-brand .layout-menu-toggle {
    background-color: var(--primary);
}
.nav-item.nav-link {
    color: var(--primary);
}

.shareholder-body h2 {
    font-size: 25px;
    font-weight: 700;
    padding-bottom: 30px;
    padding-top: 15px;
}

.cardbox {
    box-shadow: rgba(0, 0, 0, 0.10) 0px 54px 55px, rgba(0, 0, 0, 0.02) 0px -12px 30px, rgba(0, 0, 0, 0.02) 0px 4px 6px, rgba(0, 0, 0, 0.07) 0px 12px 13px, rgba(0, 0, 0, 0.0) 0px -3px 5px;
}

.button-main {
    align-items: center;
    appearance: none;
    background-color: rgb(202, 59, 44);
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,rgb(179, 47, 33) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #FFF;
    cursor: pointer;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 18px;
}
  
.button-main:focus {
    box-shadow: rgb(179, 47, 33) 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgb(179, 47, 33) 0 -3px 0 inset;
}

.button-main:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgb(179, 47, 33) 0 -3px 0 inset;
    transform: translateY(-2px);
}

.button-main:active {
    box-shadow: rgb(179, 47, 33) 0 3px 7px inset;
    transform: translateY(2px);
}

/* CSS */
.button-second {
    background-color: #FFFFFF;
    border: 1px solid rgb(209,213,219);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #121214;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: .75rem 1rem;
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-second:hover {
    background-color: rgb(249,250,251);
    color: var(--primary);
  }
  
  .button-second:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  
  .button-second:focus-visible {
    box-shadow: none;
  }


.box-login {
    padding-top: 1.3rem;
}
#tabs_login {
    margin-bottom: 1.5rem;
}

.info-requirement {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.info-box {
    border-left-color: var(--primary) !important; 
    border-left-width: 4px !important;
    border-left-style: solid !important;
}

.gradient-box {
    background: linear-gradient(90deg, #f8dee0, #f8f0f0, #ffffff);
    padding: 20px;
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.password-field {
    position: relative;
}

#toggle-password, #toggle-password-repeat, #toggle-new_password, #toggle-confirm_password {
    position: absolute;
    right: 25px;
    top: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}
.back_btn{
    color: var(--primary);
}
.split_heading{
    padding         : 10px 10px;
    background-color: var(--background);
    border-radius   : 8px;
    border-bottom   : 2px solid lightgray;
    margin-bottom   : 20px;
}
.split_container{

}

.split_footer {
    background-color: #fbefef;
    border-radius   : 0px 0px 8px 8px;
    border-top      : 2px solid lightgray;
}

.file-drop-zone.clearfix.clickable {
    margin: 0px;
    border: none;
    height    : 170px;
    min-height: auto;
}
.file-drop-zone-title {
    padding: 0px;
}
.file-preview {
    padding: 0px;
}
.kv-file-content {
    display: none;
}
.file-drop-zone, .file-preview, .file-drop-zone.clickable:focus, .file-drop-zone.clickable:hover {
    border: none;
}
.file-drop-zone {
    margin    : 0px;
    min-height: auto;
    height    : 100%;
    text-align: inherit;
    padding   : 25px 0px 30px 0px;
}
.krajee-default.file-preview-frame {
    margin: 0px;
    border: none;
    box-shadow: none;
    padding: 0px;
    float: none;
    text-align: inherit;
}



.upload_dropzone, .upload_preview{
    border-radius: 12px;
    height       : 85px;
}
.upload_dropzone .caption_size{
    font-size: 13px;
}
.upload_dropzone .caption_files span:first-child{
    font-weight: 700;
    color: var(--primary);
}
.upload_dropzone .caption_files{
    margin-bottom: 10px;
    font-size    : 14px;
}
.upload_dropzone{
    text-align      : center;
    border          : 3px dashed var(--primary);
    padding         : 10px;
    background-color: #f6f6f6;
}
.upload_preview{
    border   : 2px solid #f6f6f6;
    padding  : 7px;
    font-size: 13px;
}
.upload_preview .name{
    font-weight: 700;
}
.upload_preview .size{
    font-size: 12px;
    color    : var(--background);
}
.upload_progress{
    height: 4px;
}
.upload_progress .progress-bar{
    box-shadow: none;
}
.progress_text{
    font-size: 12px;
}
.upload_progress .completed{
    background-color: var(--success);
}
.upload_success_icon{
    color: var(--success);
    font-size: 18px;
}

.upload_preview .failed_message {
    color: var(--primary);
}
.upload_preview .failed_file_name {
    font-size: 12px;
}
.file_icon, .upload_preview img.icon{
    height: 25px;
    width : auto;
}
#tabs_split_voting.nav-tabs .nav-item .nav-link:not(.active) {
    background-color: var(--lighterbackground);
    border-bottom   : 2px solid #f6f6f6;
}
.vote_step_item span {
    font-weight: 600;
}
.vote_step_item.active i{
    color: var(--primary);
}
.vote_step_item.active:before  {
    background-color: var(--primary);
}
.vote_step_item:before {
    content: '';
    width: 100%;
    height: 3px;
    background-color: gray;
    position: absolute;
    bottom: 100%;
    left: 0;
    border-radius: 5px;
}
.vote_step_item {
    padding  : 5px 0px;
    font-size: 14px;
    position : relative;
    color    : gray;
}


.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    border-color: #ffe0db;
    background-color: #ffe0db;
    font-weight: bold;
}

.impersonate-sticky-info {
    font-weight: 500;
    padding: 5px 5px;
    border: 0;
    border-radius: 8px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 9999;
    max-width: 500px;
    color: var(--primary);
    background-color: var(--lighterfourth);
    padding: 5px;
    border: 1px solid var(--primary);
    padding-bottom: 4px;
}

.impersonate-sticky-info a {
    color: blue;
}

.row_items div[data-bs-toggle="collapse"] {
    background-color: #ffe0db;
    padding         : 10px 9px;
    border-radius   : 7px;
}

.btn:disabled, .btn.disabled, fieldset:disabled .btn {
    color: #697a8d;
    border-color: #f0f0f0;
}
.noUi-horizontal {
    height: 8px;
}
.noUi-connect {
    background: var(--primary);
    border-radius: 7px;
    box-shadow: none;
}
.noUi-horizontal .noUi-handle {
    width        : 20px;
    height       : 20px;
    left         : -10px;
    top          : -7px;
}
.noUi-handle {
    border       : 1px solid #f0f0f0;
    border-radius: 50%;
    background   : var(--primary);
    cursor       : default;
    box-shadow   : none;
}
.noUi-handle:before, .noUi-handle:after {
    display: none;
}

.table th {
    text-transform: none;
}

.badge_split_voted{
    background-color: #ffe0db;
    color           : var(--primary);
    text-transform  : none;
    font-weight     : bold;
}
.row_agm_voting{
    border       : 1px solid lightgray;
    border-radius: 8px;
    padding      : 10px;
}

.bg-light-pink{
    background-color: #ffe0db;
}

.current_split, .new_split{
    padding-top   : 10px;
    padding-bottom: 10px;
    border-radius : 10px;
    border        : 2px solid #dfdfdf;
}

.current_split h6, .new_split h6{
    border-bottom: 2px solid #dfdfdf;
    font-weight  : bold;
}
.current_split{
    background  : #f6f6f6;
}
.new_split{
    background  : linear-gradient(269.67deg, rgba(109, 177, 77, 0.01) 31.77%, rgba(109, 177, 77, 0.1) 99.72%);
}
.new_split .text_val{
    color: #6DB14D;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,input[type=number] {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.input-group-text:has(+ .is-invalid) {
    border-color: #ff3e1d;
}
.input-group-text:has(+ .is-valid) {
    border-color: #71dd37;
}
.input_group_split{
    padding-right: 5px;
}
.div_bod_seq_number{
    margin-right: 10px;
}
.div_bod_seq_number span {
    padding: 0px 5px;
    border: 1px solid #dfdfdf;
    border-radius: 50%;
}
/* Tablet Style ( Please keep it at bottom section) */
@media (min-width: 1200px) {
    .row_agm_detail .stats .icon {
        font-size: 55px;
    }
    .layout-menu-fixed .layout-menu, .layout-menu-fixed-offcanvas .layout-menu {
        top          : 0.70rem;
        left         : 0.75rem;
    }
}
.cursor-pointer {
    cursor: pointer;
}

.menu-vertical .menu-inner {
    flex: none !important;
    height: 55vh !important;
}

.agm-dashboard .badge-center {
    height: auto;
    font-size: 70%;
}

#collapse_agm_detail, #collapse_agm_voting_date {
    padding: 0 9px;
}

.fs-80 {
    font-size: 80%;
}

@media screen and (max-width: 480px) {
    .kv-table-wrap tr>td:first-child {
        font-size: inherit;
        background-color: #CCC;
    }

    .kv-table-wrap tr>td:first-child {
        border-top: none;
        margin-top: 0px;
        font-size: inherit;
    }

    .kv-table-wrap tr {
        margin-bottom: 10px;
        border: 1px solid #dfdfdf;
    }

    .modal-dialog {
        max-width: 95%;
        height: 95%;
    }

    #modal-main-root .modal-content {
        height: 95%;
        border-radius: 0;
    }

    .mobile-no-padding {
        padding-left: 0px;
        padding-right: 0px;
    }

    .mobile-no-padding-left {
        padding-left: 0px;
    }
}

.card-box {
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
    border-radius: 8px;
}

.number-res span p {
    display: inline;
    margin: 0;
}

.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus,
.pagination li.active>a:not(.page-link),
.pagination li.active>a:not(.page-link):hover,
.pagination li.active>a:not(.page-link):focus {
    background-color: var(--primary);
    border-color: var(--primary);
}

ul.pagination li, ul.pagination li a, ul.pagination li.prev span, ul.pagination li.next span {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 0.3rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    /* allows items to move to next line */
    justify-content: center;
    /* center horizontally */
    padding-left: 0;
    list-style: none;
    gap: 0.5rem;
    /* space between items */
}

/* Optional: shrink font-size / spacing on small screens */
@media (max-width: 576px) {
    .pagination {
        gap: 0.25rem;
    }

    .pagination li a,
    .pagination li span {
        padding: 0.25rem 0.5rem;
        /* smaller touch targets */
        font-size: 0.875rem;
    }

    .bod_type {
        font-size: 14px;
    }

    .modal-body {
        overflow: overlay;
    }
}

.row-disabled {
    background-color: #f3f4f5;
    color: #6c757d;
    opacity: 0.4;
}
