/* Over all */
/* html{
} */
body{
    background-color: #fff !important;
    font-family: 'Inter' !important;
    color: #000;
    /* padding: 10px; */
}
@media (min-width: 769px) {
    body[data-sidebar-size=sm] {
        min-height: 100vh !important;
    }
}
#page-topbar {
    box-shadow: none !important;
}
#page-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 250px;
    z-index: 1001;
    background-color: var(--bs-header-bg);
    box-shadow: 0 2px 4px rgba(15, 34, 58, .12);
}

.top_bottom_right{
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: #e8e6e6;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}
.form-control {
    border: 1px solid grey;
    border-radius: 10px;
    height: 50px;
    background-color: #fff;
}

/* select */

.select2-dropdown {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1000;
}


.select2-container {
    /* border: 1px solid grey; */
    border-radius: 0.25rem;
    width: 100% !important;
    /* height: 50px; */
    /* background-color: #e8e6e6 !important; */
}

.select2-container .select2-selection--single {
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color);
    height: 38px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    border-radius: 10px !important;
    padding-left: 12px;
    color: var(--bs-body-color);
    height: 50px;
    background-color: #fff !important;
    border: 1px solid grey;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 5px !important;
    position: absolute;
    top: 50%;
    width: 0;
}
.select2-container .select2-selection--multiple {
    min-height: 38px;
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color) !important;
}
.select2-container .select2-selection--multiple {
    background-color: var(--bs-input-bg);
    border: 0px solid var(--bs-border-color) !important;
    height: 38px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    line-height: 34px !important;
    border-radius: 10px !important;
    padding-left: 12px;
    color: var(--bs-body-color);
    height: 50px;
    background-color: #e8e6e6 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 5px !important;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
    border-radius: 10px !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0px solid #aaa !important;
    border-radius: 4px;
}

select{
    cursor: pointer;
}

/*  */


/* DatePicker Start */
.datepicker{
    border-radius: 10px !important;
    padding: 10px !important;
}
.datepicker table tr td.today {
    /*border: 1px solid #000 !important;*/
    background: #f1545e !important;
    color: #fff !important;
}
.datepicker-dropdown{
    z-index: 9999 !important;
}
/* DatePicker End */

.tox-tinymce {
    border: 1px solid gray !important;
    border-radius: 0.25rem !important;
}

/* Side Bar */
.menu-title{
    color: #000;
}
.mm-active .active, .mm-active .active i, .mm-active>a>i, .mm-active>i {
    color: #000 !important;
}
.mm-active>a {
    background-color: transparent !important;
    color: #000 !important;
}
#sidebar-menu ul li a {
    display: block;
    padding: .6rem 1.1rem;
    color: #000;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    transition: all .4s;
    margin: 0 10px;
    border-radius: 3px;
}
#sidebar-menu ul li a i {
    color: #000;
}
#sidebar-menu ul li a:hover, #sidebar-menu ul li a:hover  {
    color: #000 !important;
    background-color: transparent !important;
}
#sidebar-menu ul li a:hover, #sidebar-menu ul li a:hover i {
    color: #000 !important;
}
#sidebar-menu ul li ul.sub-menu li a {
    padding: .4rem 1.5rem .4rem 3.5rem;
    font-weight: 400;
    color: #000;
    margin: 2px 0px;
    background-color: transparent;
    font-size: 14.4px;
}
#sidebar-menu ul li ul.sub-menu li a:hover {
    color: #fff !important;
}

.metismenu li {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

/* Small Screen Side */
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a:hover {
    position: relative;
    width: 250px;
    color: #fff !important;
    background-color: var(--bs-sidebar-menu-item-active-bg-color);
    transition: none;
    box-shadow: inset 0 3px 10px 0 rgba(154, 161, 171, .2);
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a:hover >i {
    color: #fff !important;
    /* background-color: #4461f2 !important; */
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a {
    background-color: #F84E11 !important;
    color: #fff !important;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a>i {
    /* background-color: #4461f2 !important; */
    color: #fff !important;
}

/* Index Page */
.border_15{
    border-radius: 15px;
}
.border_25{
    border-radius: 40px;
}
.over:hover{
    box-shadow: 0px 0px 25px rgb(0 0 0 / 10%);
}
.card{
    box-shadow: none;
}
.grey{
    background-color: #e8e6e6;
}
.grey_color{
    color: #e8e6e6;
}
.purple{
    background-color: #00CCAA;
}
.purple_color{
    color: #00CCAA;
}
.yellow_color{
    color: #F84E11;
}



/* Accordian */
.accordion-item {
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
    border:none !important;
    padding: 3px;
}
.accordion {
    --bs-accordion-bg: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #fff;
    box-shadow: inset 0 calc(var(--bs-accordion-border-width)* -1) 0 var(--bs-accordion-border-color);
}
.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: .9rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: #fff;
    /* border: 0;
    border-radius: 0; */
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}
.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}
.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}


/* Check Box */
.form-check-input {
    border: 1px solid black;
    outline: 0;
    box-shadow: none;
}

/* File Input */
input[type="file"] {
    height: 55px !important;
    border: 5px solid #e8e6e6 !important;
}

/* Overflow */
.note_overflow{
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 12px;
    padding: 10px;
    /* box-shadow: inset 0px 0px 1px; */
}

/* Scroll Bar */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.4);
    background-color:#e8e6e6;
}


/* Table */
.active>.page-link, .page-link.active{
    background-color: #00CCAA;
    border-color: #00CCAA;
}



/* auto complete css for search company */
/* Force the autocomplete box to stay within the input width */
.ui-autocomplete {
  position: absolute !important;
  z-index: 99999 !important;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
  margin-top: 0.25rem;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  max-height: 250px;
  width: auto !important;
  min-width: 36%;
  max-width: 100% !important;
  box-sizing: border-box;
}

.ui-menu-item-wrapper {
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
  background-color: #0d6efd;
  color: #fff;
}

/* --- Autocomplete item --- */
.ui-menu-item {
  list-style: none;
}

.ui-menu-item-wrapper {
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f1f1;
}

.ui-menu-item:last-child .ui-menu-item-wrapper {
  border-bottom: none;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
  background-color: #0d6efd;
  color: #fff;
}

.ui-helper-hidden-accessible {
  display: none;
}

/* auto complete css for search company */


/* Custom css */

.border_20{
    border-radius: 20px !important;
}


/* Company Profile CSS */

.card-shadow {
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: 1px solid;
    border-radius: 20px;
}
.header-bg {
    position: relative;
    overflow: hidden;
}

.coin-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    /* background: url('../images/profile/profile_header.png') no-repeat right center/contain; */
    z-index: 1;
}

.logo-box {
    background-color: #f7a2a7;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.data-box {
    text-align: center;
    border-right: 1px solid #dee2e6;
    padding-right: 15px;
}
.data-box:last-child {
    border-right: none;
}
.table-scroll {
    max-height: 400px;
    overflow-y: auto;
}
.table-sm td, .table-sm th {
    padding: 0.5rem;
}
tbody, td, tfoot, th, thead, tr {
    border-bottom: 1px solid;
    border-color: #eee;
}
.table-sm td, .table-sm th {
    padding: 1rem;
}

/* Horizontal Tabs */

.tabs-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 500px; */
    max-width: 1000px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.tabs-header::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
@media (max-width: 600px) {
    .tabs-header {
        flex-direction: column;
    }


    .tab-button {
        text-align: left;
        border-bottom: 1px solid #e9ecef;
    }

    .tab-button.active::after {
        width: 3px;
        height: 100%;
        border-radius: 0 3px 3px 0;
    }
}



.tab-button {
    /* background: none; */
    background-color: #e8e8e8;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    flex: 1;
    min-width: 120px;
}

.tab-button:hover {
    background-color: #f1545e;
    color: #fff;
}

.tab-button.active {
    color: #000;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4361ee;
    border-radius: 3px 3px 0 0;
}
.button_image{
    border: 1px solid #000 !important;
    color:  #000 !important;
    padding: 15px !important;
    width: 50% !important;
    background-color: #e8e8e8;
    background: #e8e8e8;
}
.btn:hover{
    border-color: #000 !important;
}
/* Company Profile CSS */






/* dashboard popup css */


/* Full Screen Background */
.custom-modal {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.4);

    /* Center the modal content */
               /* Add this */
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
}

/* Modal Box */
.custom-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 420px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: popupAnimation 0.35s ease-out;
}

/* Smooth Popup Animation */
@keyframes popupAnimation {
    0% {
        transform: translateY(-40px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close button */
.close-activity {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}
.close-activity:hover {
    color: #000;
}

/* Title */
.modal-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* File Input Style */
.file-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}
.file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 8px 0 15px 0;
}

/* Upload Button */
.upload-btn {
    width: 100%;
    padding: 12px;
    background: #ff1d74;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}
.upload-btn:hover {
    background: #e01465;
}

/* Message Area */
.msg {
    display: none;
    padding: 10px;
    color: green;
    font-size: 14px;
    margin-bottom: 10px;
}




/* ============================
   GENERAL DOCUMENT MODAL
   ============================ */

/* Background overlay */
.custom-modal-general {
    /* display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center; */

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Modal box */
.custom-modal-content-general {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 420px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    animation: modalPopGeneral 0.35s ease-out;
}

/* Smooth animation */
@keyframes modalPopGeneral {
    0% {
        transform: translateY(-40px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close button */
.close-general {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}
.close-general:hover {
    color: #000;
}

/* Title */
.modal-title-general {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* File label */
.file-label-general {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* File input */
.file-input-general {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 8px 0 15px 0;
}

/* Upload button */
.upload-btn-general {
    width: 100%;
    padding: 12px;
    background: #ff1d74;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}
.upload-btn-general:hover {
    background: #e01465;
}

/* Message (success/error) */
.msg-general {
    display: none;
    padding: 10px;
    margin-bottom: 10px;
    color: green;
    font-size: 14px;
}



.toast-message.success { background-color: #28a745; }
.toast-message.error   { background-color: #dc3545; }
.toast-message.info    { background-color: #17a2b8; }




.note-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-subject {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.note-date {
    font-size: 13px;
    color: #777;
}

.note-body p {
    font-size: 15px;
    color: #444;
    margin: 10px 0 15px 0;
}

.note-footer {
    display: flex;
    justify-content: flex-end;
}

.ack-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.ack-btn:hover {
    background: #1f7e36;
}

.status.ack {
    background: #d4f8e8;
    color: #0a8d50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}


.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f39c12;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

.notification-popup button {
    margin-left: 10px;
    background: #fff;
    color: #f39c12;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}



.notification-counter {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #fff;
    color: #ff1d74;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}



/* Modal Overlay */
.person-modal {
    /* display: none;
    position: fixed;
    z-index: 10000;
    left:0; top:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center; */

     display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Modal Box */
.person-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 450px;
    position: relative;
}

/* Close Button */
.person-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* Person Section & Rows */
.person-section { margin-bottom: 20px; }
.person-detail-row { display:flex; justify-content: space-between; align-items:center; margin:8px 0; }
.file-label-person { display:block; font-weight:bold; margin-bottom:5px; }
