body {
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px !important;
}

label {
    color: black;
}

th a {
    color:#000;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.custom-margin {
    margin-top: 1px;
    margin-bottom: 1px;
}

.custom-filter {
    height: 32px; 
    font-size: 13px;
}

.custom-font {
    font-size: 13px;
}

.custom-login-input {
    border: 1px solid #b8b8b8 !important;
    font-size: 17px !important; 
    height: 30px !important;
}

.custom-login-input:hover {
    outline: 1px solid #c4c4c4;
    border: 1px solid #b8b8b8 !important;
}

.custom-login-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 162, 73, 0.25);
    outline: none;
}

tr td.custom-border2:nth-child(7),
tr th.custom-border2:nth-child(7) {
    border-right: 3px solid #b8b8b8;    
}

tr td.custom-border3:nth-child(4),
tr th.custom-border3:nth-child(4) {
    border-right: 3px solid #b8b8b8;    
}

/* .custom-tooltip [data-bs-toggle="tooltip"] .tooltip .arrow::before {
    border-color: transparent transparent #3b3b3b transparent;
}

.custom-tooltip [data-bs-toggle="tooltip"] .tooltip-inner {
    background-color: white !important;
    color: black;
    border-radius: 4px;
    border: 1px solid #999999;
  
} */
.test {
    /* for dark brown */
    background-color: rgb(174, 104, 0); 
    /* for light brown */
    background-color: rgb(255, 220, 94);
}

/* .circle-style {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;    
    font-weight: bold;
    font-size: 10px;
    margin: 0 auto;
} */
.circle-style {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 11px;
    margin: 0 auto;
}

/* dark green pill on Master Tracker*/
.pill-1 {
    background-color: #375623; 
    font-size: 12px; 
    border-radius: 50px; 
    padding: 1px 0 1px 0;
    width: 40px;
    color: white; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}

/* light green pill on Master Tracker*/
.pill-2 {
    background-color: #70AD47; 
    font-size: 13px; 
    border-radius: 50px; 
    width: 40px; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}

/* amber pill on Master Tracker*/
.pill-3 {
    background-color: #FFC000; 
    font-size: 13px;
    border-radius: 50px; 
    width: 40px; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}

/* red pill on Master Tracker*/
.pill-4 {
    /* background-color: red; */
    font-size: 13px;
    border-radius: 50px; 
    width: 40px; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}

.pill-5 {
    background-color: #D9D9D9;
    font-size: 13px;
    border-radius: 50px; 
    width: 40px; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}

.pill-6 {
    background-color: #ffff00;
    font-size: 13px;
    border-radius: 50px; 
    width: 40px; 
    border: 1px solid #3b3b3b; 
    display: inline-block;
}


.font-header{
    font-size: 20px; 
    font-weight: bold;
}

.content-wrapper {
    background-color: white;
}

/* POPOVER */
.table-popover-content {
    font-size: 12px;
    width: 300px;
}

.popover{
    max-width: 100%;
}

.imgcontainer {
    text-align: center;
    margin: 12px 0 12px 0;
}

img.avatar {
    width: 100%;
    height: 120%;
}

.login-signup {
    position: relative;
}

.fontuser {
    position: relative;
}

.fontuser i {
    position: absolute;
    top: 36%;
    left: 12px;
    /* Adjust the left value to control the icon's horizontal position */
    transform: translateY(-50%);
    opacity: 0.7;
}

.fontpassword {
    position: relative;
}

.fontpassword i {
    position: absolute;
    top: 36%;
    left: 12px;
    /* Adjust the left value to control the icon's horizontal position */
    transform: translateY(-50%);
    opacity: 0.7;
}

.fontuser input[type=user],
.fontuser input[type=email],
.fontpassword input[type=password] {
    width: 100%;
    padding: 26px 30px;
    margin: 0px 0;
    display: inline-block;
    border: 1px solid #ccc;
    /* box-sizing: border-box; */
}

.custom-border {
    border: 1px solid #00A249 !important;
    border-radius: 10px;
    font-size: 17px;
}

.login-button {
    background-color: #00A249;
    color: white;
    border: none;

}

.logout-button {
    background-color: #00A249;
    color: white;
    border: none;

}

.signup-button {
    background-color: #00A249;
    color: white;
    border: none;

}

/* .form-check-input:checked {
    background-color: #00A249 !important;
    color: #00A249 !important;
    border: #00A249;
    box-shadow: 0 0 2px #00A249;
} */

.form-check-input:checked {
    background-color: #00A249 !important;
    color: #ffffff !important;
    /* Set text color to contrast with the background */
    border: 1px solid #00A249;
    /* Add border for better visibility */
    box-shadow: 0 0 2px #00A249;
}

/* new custom */
.breadcrumb {
    background-color: transparent !important;
}

.custom-concern-icon{
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 30px; 
    width: 30px;
    margin-bottom: 5px;
    margin-left: 45px;    
    border: 1px solid gray;
}

/* TOOLTIP */
.custom-navbar {
    float: right !important;
}


.whitespace-nowrap {
   white-space: nowrap !important;
}
/* .tooltip-inner {
     background-color: #c73c3c;
     margin-left: auto;
 }

 .tooltip.top .tooltip-arrow {
     border-top-color: #d31a1a;
     margin-left: 25px;
 } */

/* .tooltip .tooltip-inner  {
    background-color: #ccb9f8;
    color: #ffffff;
    position: absolute;
    transform: translateX(5px);
} */

/* BADGE */
.custom-badge {
    padding: 12px 12px;
    /* Badge background color */
    /* Text color */
    border-radius: 50%;
    /* Make it a circle */
    font-size: 15px;
    font-weight: bold;
}

.main-sidebar {
    /* background-color: #D9D9D9 !important; */
    background-color: white;

}
.custom-sidebar {
    background-color: white;
    color: #333;
}

.custom-sidebar .nav-link {
    color: #333;
    transition: background-color 0.3s ease;
}

.custom-sidebar .nav-link:hover {
    background-color: #00A249 ;
    color: white !important;
}

.custom-sidebar .nav-link.active {
    background-color: #00A249 !important;
    color: white !important;
    font-weight: bold;
    border-left: 4px solid #007f3b;
}

.username-text {
    color: #333 !important;
    text-decoration: none; /* optional: remove underline */
}
  
.navbar, .main-footer {
    /* background-color: #D9D9D9; */
    background-color: #00A249;
}

.nav-icon {
    color: #00A249;
}

.nav-link:hover .nav-icon {
    color: white;
}
  
.nav-link.active .nav-icon {
    color: white;
}

.nav-icon-white {
    color: white;
}

.custom-student, .custom-teacher,
 .custom-subjects, .custom-class {
    height: 160px;
    background-color: white;
}

/* .nav-sidebar .nav-link p {
    margin-left: 10px;

} */

/* search position */
#studentTable_filter.dataTables_filter {
    float: right;
}

#concernsTable_filter.dataTables_filter {
    float: right;
}

.card h6 a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.card h6 a:hover {
    text-decoration: underline 1px #333;
}

/* Custom card color */
.card-custom {
    background-color: #eee !important;
    color: black !important;
}

.card-header-custom {
    background-color: #eee;
    padding: 2px 15px 2px 15px;
}

.custom-nav-link {
    display: flex;
    align-items: center;
}

.custom-nav-link .nav-icon {
    margin-right: 10px;
}


/* .menu-open>.custom-nav-link,
:hover>.custom-nav-link {
    background-color: rgb(218 90 235 / 10%) !important;
    color: #212529;
} */


.days li:not(.active):hover::before {
    background: #f2f2f2;
}

/* DATATABLES CUSTOM */
#userTable_filter.dataTables_filter {
    float: right;
}

/* USER CUSTOM */
.users-heading {
    padding-top: 10px;
    font-size: 20px; 
    font-weight: bold;
}

.user-title {
    background-color: #D9D9D9;
    color: black;
}

.add-user-btn {
    background-color: #00A249;
    color: #ffffff;

}

.w-12{
    width: 12%;
}

.add-user-btn:hover {
    background-color: #fff;
    color: #00A249;
    border: 1px solid #00A249;
}

.cancel-btn {
    background-color: #898986;
    color: #ffffff;
}

.btn-container {
    padding-bottom: 25px;
}

.edit-icon {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.edit-icon i {
    color: gray;
    transition: color 0.3s;
}

.edit-icon:hover {
    background-color: #D9D9D9;
}

.edit-icon:hover i {
    color: gray;
}

.edit-btn,
.edit-student-btn,
.delete-student-btn,
.need-assessment-btn,
.wls-modal-btn,
.add-info-btn,
.edit-nap-btn,
.delete-nap-btn,
.add-observation,
.observation-attachment,
.obs-delete-btn,
.obs-edit-btn,
.delete-remarks-btn,
.edit-remarks-btn,
.notes-edit-btn,
.notes-delete-btn,
.delete-comment-btn,
.edit-comment-btn,
.concerns-delete-btn,
.concerns-edit-btn,
.intervention-delete-btn,
.intervention-edit-btn,
.user-delete-btn,
.user-edit-btn,
.delete-observation-btn,
.delete-concern-btn,
.delete-intervention-btn,
.delete-action-btn,
.delete-student-btn,
.delete-user-btn,
.delete-btn,
.logbook-comment-delete-btn,
.logbook-comment-edit-btn,
.hpe-btn {
    border: none;
    background-color: rgba(0, 0, 0, 0);
}

.swal-input-container,
input {
    padding: 10px;
}

#user-vertical-line,
#forename,
#surname,
#gender_select,
#email,
#function_select,
#class_handled_select,
#subject_select,
#session {
    border: 1px solid #D9D9D9;
}

.user-img {
    display: inline-block;
}

.profile-img {
    border: 1px solid #000;
    height: 150px;
    width: 150px;
    object-fit: cover;
}

#user-img-btn {
    background-color: #FFF;
    border: 1px solid #00A249;
}

/* .tooltip-inner {
    max-width: none !important;
    white-space: pre-line !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px !important;
    font-size: 12px !important;
} */

/* END USER CUSTOM */

/* STUDENT */
.add-student-btn, .new-equipment, .logbook-entry, .add-well-btn{
    background-color: #00A249;
    color: #ffffff;
}

.add-student-btn:hover {
    background-color: #fff;
    color: #00A249;
    border: 1px solid #00A249;
}

/* STUDENT */
.add-risk-btn {
    background-color: #00A249;
    color: #ffffff;
}

.add-risk-btn:hover {
    background-color: #fff;
    color: #00A249;
    border: 1px solid #00A249;
}


/* Action */
.add-action-btn {
    background-color: #008000;
    color: #ffffff;
}

.add-action-btn:hover {
    background-color: #fff;
    color: #008000;
    border: 1px solid #008000;
}

.pie-action-btn{
    background-color: #fff;
    color: #000000;
    border: 1px solid #008000;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
    /* Set the maximum width of the container */
}

.truncate:hover {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    /* or you can use "inherit" for the default behavior */
}

/* .custom-checkbox {
    accent-color: #009900;
    width: 24px;
    height: 21px;
} */
.custom-checkbox {
    appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 2px;
    text-align: center;
    background-color: #d9d9d9;
    transition: 250ms;

    position: relative;   /* ✅ REQUIRED */
}

.custom-checkbox:checked:before {
    content: "✔";
    color: white;
    
    font-size: 11px;
    line-height: 1;

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox:checked {
    background-color: #009900;
}
/* END STUDENT CUSTOM */

/* SELECT2 */
.select2-dropdown {
    z-index: 100000 !important;
}
.select2-container--bootstrap4 .select2-selection__clear {
    color: #ff0000;
    left: 5px;
    right: 5px;
    top: 50%;
}
  
  /* Placeholder styling */
  .select2-container .select2-selection--single .select2-selection__placeholder {
    font-size: 12.5px !important;
    line-height: 32px;
  }
  
  /* Arrow position adjustment */
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
  }
  
  /* General form dropdowns */
  .select2-container:not(.colored-select) .select2-selection--single {
    height: 32px !important;
    font-size: 12.5px !important;
    line-height: 32px !important;
  }
  
  .select2-container:not(.colored-select) .select2-results__option {
    padding: 6px 10px !important;
    font-size: 12.5px;
  }

/* MULTIPLE SELECT2 – MATCH SINGLE HEIGHT */
.select2-container--bootstrap4 .select2-selection--multiple {
    min-height: 32px !important;
    height: auto !important;
    font-size: 12.5px !important;
    padding: 2px 6px !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

/* Rendered list */
.select2-container--bootstrap4
.select2-selection--multiple
.select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
}

/* Inline search field (empty state height match) */
.select2-container--bootstrap4
.select2-search--inline
.select2-search__field {
    font-size: 12.5px;
    height: 28px;
    margin: 0;
}

/* Selected item chips */
.select2-container--bootstrap4
.select2-selection--multiple
.select2-selection__choice {
    font-size: 12px;
    padding: 2px 6px;
    margin: 2px 4px 2px 0;
    border-radius: 3px;
}

/* Remove button */
.select2-container--bootstrap4
.select2-selection--multiple
.select2-selection__choice__remove {
    color: #ff0000;
    margin-right: 4px;
}
/* SINGLE: ensure rendered text padding matches multiple */
.select2-container--bootstrap4
.select2-selection--single
.select2-selection__rendered {
    padding-left: 6px;
    padding-right: 24px; /* arrow space */
}

/* MULTIPLE: align placeholder with single */
.select2-container--bootstrap4
.select2-selection--multiple
.select2-search--inline
.select2-search__field {
    padding-left: 0;
    padding-top: 2px;   /* ← key alignment */
    padding-bottom: 2px;
    line-height: 28px;
}

/* End SELECT2 */

.custom-modal-input {
    font-size: 12.5px !important;
    height: 32px !important;
}

/* .custom-modal-input[readonly] {
    background-color: #e9ecef !important;
    color: #000;
} */

/* End Add Equipment dropdown */

.pe-modal-input {
    border: 1px solid #c2c2c2 !important;
    border-radius: 4px;
    font-size: 12.5px !important; 
    height: 32px !important;
    background-color: white !important;  
}

/* CONCERS CUSTOM START */

.clickable-cell:hover {
    opacity: 0.8;
    cursor: pointer;
}


.custom-tabs .nav-link {
    color: black; 
    background-color: #eee;
}

.custom-tabs .nav-link.active {
    color: black; 
    background-color: white;
    border-color: 1px solid #eee;
}

.custom-tabs-enviro-loss .nav-link {
    color: black; 
    background-color: white;
    /* border: 1px solid #ccc;  */
    border-bottom: 2px solid transparent;
    font-size: 14px;
    padding: 8px 20px;
}

.custom-tabs-enviro-loss .nav-link.active{
    background-color: white;
    border-bottom: 3px solid #00A249;
    color: black;
    font-weight: bold;     
}

.custom-tabs-enviro-loss .nav-link:hover {
    background-color: white;
    border-bottom: 3px solid #00A249;
    color: black;
    font-weight: bold; 
}

.custom-tabs-dashboard .nav-link {
    color: black;
    background-color: white;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    padding: 8px 20px;
}

.custom-tabs-dashboard .nav-link.active {
    background-color: white;
    border-bottom: 3px solid #00A249;
    color: #007914;
}

.custom-tabs-dashboard .nav-link:hover {
    background-color: white;
    /* border-bottom: 3px solid #00A249; */
    color: #007914;
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
}
.custom-list {
    display: flex;
    justify-content: space-between;
    align-items: left;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    font-size: 14px;
}
.btn-group {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}
.custom-ef-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    height: 26px;
}
.yes-btn, .no-btn {
    background-color: white;
    border: 1px solid #c2c2c2;
    color: black;
}
.yes-btn:hover {
    background-color: green;
    color: white;
}
.no-btn:hover {
    background-color: red;
    color: white;
}
.icon-container {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 28px;
    padding-right: 8px;
}
.icon-container-rca{
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    /* padding-top: 50px; */
}
.add-icon, .delete-icon {
    font-size: 17px;
    cursor: pointer;
}
.add-icon {
    color: green;
}
.delete-icon {
    color: red;
}

/* CONCERNS CUSTOM END */

@media (max-width: 450px) {
    .h-custom {
        height: 100%;
    }
}

@media (max-width: 768px) {

    /* Hide the right logo for screen sizes less than or equal to 768 pixels */
    .right-logo {
        display: none !important;;
    }
}

.custom-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding-top: 5px;
}

.dataTables_length {
    position: absolute;
    top: 0;
 
}

@media (max-width: 576px) { /* Adjust breakpoint as needed */
    .dataTables_length {
        position: relative;
        margin-bottom: 10px;
    }
}



/* .my-concern-table-btn, .all-actions-table-btn , .add-file-table-btn, .add-well-table-btn {
    float: left;
} */
.concern-table-btn{
    float: left;
}

.add-student-table-btn, .logbook-entry-cont, .add-well-table-btn{
    float: left;
}

@media (max-width: 576px) {
    .concern-table-btn{
        margin-bottom: 10px;
    }
    /* Adjust breakpoint as needed */
    /* .my-concern-table-btn { */

        /* margin-bottom: 10px; */
        /* Add margin for spacing on mobile */
    /* } */
}

/* Concern Modal */
.custom-smaller-column {
    width: 130px;
   margin-right: 15px;
}
.col-custom {
    flex: 0 0 20.83%;
    max-width: 20.83%;
}

.custom-hours-column {
    width: 67px;
    margin-right: 15px;
}

.custom-duration-column {
    width: 85px;
   margin-right: 15px;
}

.custom-thours-column {
    width: 70px;
    margin-right: 15px;
}

.custom-assigned-column {
    width: 200px;
    margin-right: 15px;
}

/* Action */
.add-action-btn {
    background-color: #008000;
    color: #ffffff;
}

.add-action-btn:hover {
    background-color: #fff;
    color: #008000;
    border: 1px solid #008000;
}

.pie-action-btn{
    background-color: #fff;
    color: #000000;
    border: 1px solid #008000;
}
.bx-pencil {
    font-size: 21px;
}
.custom-button {
    align-items: center;
    justify-content: center;
    border: 1px solid #00A249;
    background-color: white; 
    color: #375623; 
    border-radius: 5px;
    height: 32px; 
    font-size: 13px;
    margin-top: 24px;
    transition: all 0.1s ease-in-out; /* Smooth hover effect */
}
.custom-add-problem-button {
    border: 1px solid #00A249;
    background-color: white; 
    color: #375623; 
    border-radius: 5px;
    height: 32px;
    width: 175px; 
    font-size: 13px;
    transition: all 0.1s ease-in-out; /* Smooth hover effect */
}

.custom-button:hover, .custom-add-problem-button:hover {
    background-color: #00A249;
    color: white; 
    border-color: #00A249;
}
.custom-analysis-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease;
}
.custom-analysis-checkbox:checked {
    border-radius: 3px;
    background-color: green;
    border-color: green;
}
.custom-analysis-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg); /* Centered */
}
.custom-table {
    border: 2px solid black;
    color: black;
    /* font-size: 14px; */
    text-align: left;
    width: 100%;
}
.custom-table th,
.custom-table td {
    border: 1px solid black;
    padding: 8px;
}
.custom-table input, 
.custom-table select {
    width: 100%;
    /* height: 35px; */
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box; /* Ensures width includes padding */
}

/* Adjust datepicker input inside the input group */
.custom-table .input-rca {
    width: 100%;
}

.custom-table .input-rca input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-table .input-rca .input-rca-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    /* border-radius: 5px; */
    cursor: pointer;
}
/* .date-container {
    display: flex;
    align-items: center;
}
.date-container input {
    border: 1px solid #ccc;
    padding: 5px;
} */
.fa-calendar {
    cursor: pointer;
}
/* Tooltip container - Hidden by default */
.custom-tooltip {
    display: none;
    position: absolute;
    /* position: fixed; */
    z-index: 9999; 
    color: white;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 8px;
    max-width: 520px;
    border-radius: 4px;
    text-align: justify;
    font-size: 13px;
}

/* .custom-tooltip::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 5px;
    display: block;
}

.custom-tooltip.bottom::after {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-color: transparent transparent black transparent;
}

.custom-tooltip.top::after {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-color: black transparent transparent transparent;

}

.custom-tooltip.right::after {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-color: transparent black transparent transparent;
}

.custom-tooltip.left::after {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-color: transparent transparent transparent black;
} */

.custom-tooltip table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.85);
}

.custom-tooltip th, .custom-tooltip td {
    padding: 5px;
    border: 1px solid #ddd;
}

.custom-tooltip th {
    background-color: #f2f2f2;
}

#tab-title {
    text-align: left; 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 15px;
    color: black;
}

.concernsTable,.allconcernsTable, .my-cip-table, .all-cip-table, .risk-analysis-profiling,
.interventionrequiredTable, .hold-table, .schedule-table, .rrp-table, .cip-table, .pap-table, .casesevaluationTable,
.closedconcernsTable, .interventionTable, 
.allinterventionTable, .disengagedinterventionTable,
.closedintervention, .pe-wells-report-table, .well-table {
    width: 100% !important;
    table-layout: fixed;
}

/* Performance Assurance Plan */
.pap-top-btn, .asp-worklist-btns, .ora-btn{
    background-color: #fff;
    color: #3b3b3b;
    border: 1px solid #3b3b3b;
    font-size: 12.5px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 5px;
}

.value {
    font-weight: bold;
}

#pap_table_info, #logbook_table_info{
    text-align: left !important;
}

.dropdown-toggle::after {
    display: none !important;
}

/* Custom for checkbox for Additional Info */
.custom-check {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #6c757d;
    text-align: center;
    font-size: large;
    background-color: white;
    transition: 250ms;
}
.custom-check input {
    display: none; 
}
.custom-check:checked:before {
    content: "\25C9"; 
    color: #e83e8c; 
    color: #00A249; 
    font-size: 26px; 
    position: absolute; 
    top: 60%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}
.custom-check:checked {
    border: none;
}
/* Custom for checkbox for Additional Info */


/* BARRIER MODEL CHEESE START */
.barrier-model-table {
    table-layout: fixed;
    width: 100%;
}

.barrier-model-table th,
.barrier-model-table td {
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
    vertical-align: middle;
}
/* BARRIER MODEL CHEESE END */
.graph-btn{
    background-color: white;
    border: 1px solid #bababa;
    padding: 2px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    height: 26px;
}

.graph-btn:hover {
    background-color: #eaeaea;
    color: black;
}

/* ===============================
   Hydrocarbon Toggle (WORKING)
   =============================== */

/* Container */
.hc-toggle {
    position: relative;
    width: 60px;
    height: 25px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    display: flex;
    overflow: hidden;
}

/* Hide radios */
.hc-toggle input {
    display: none;
}

/* Labels */
.hc-toggle label {
    width: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    transition: 0.25s ease;
    font-size: 11px;
}

/* Slider */
/* Slider */
.hc-toggle .hc-slider {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 0.25s ease;
    border-radius: 0;
}


/* Default = NO */
.hc-toggle input[value="0"]:checked ~ .hc-slider {
    left: 50%;
    background: red;
    border-radius: 0 4px 4px 0;
}

/* YES selected */
.hc-toggle input[value="1"]:checked ~ .hc-slider {
    left: 0;
    background: green;
    border-radius: 4px 0 0 4px;
}

/* Active text */
.hc-toggle input:checked + label {
    color: white;
}

/* Hide inactive text */
.hc-toggle input:not(:checked) + label {
    color: transparent;
}

/* ================================================================= */

/* Base pill look */
.pap_table_radio .form-check-input {
    display: none; /* hide the real checkbox */
}

.pap_table_radio .form-check-label {
    padding: 4px 12px;
    border: 1px solid #28a745;   /* theme green */
    border-radius: 999px;
    font-size: 12px;
    background: #fff;
    color: #28a745;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

/* Hover effect */
.pap_table_radio .form-check-label:hover {
    background: #28a745;
    color: #fff;
}

/* Checked / active state */
.pap_table_radio .form-check-input:checked + .form-check-label {
    background: #28a745;   /* theme green */
    color: #fff;
    border-color: #28a745;
    box-shadow: 0 0 0 0.1rem rgba(40, 167, 69, 0.25); /* subtle glow */
}

/* Optional: slightly darker on active click */
.pap_table_radio .form-check-label:active {
    transform: scale(0.97);
}

.pap_table_radio label,
.pap_table_radio .form-check-label,
.pap_table_radio .form-check-input,
.pap_table_status {
    font-size: 10px;   /* adjust to match your table header */
}

.pap_table_radio {
    margin-right: 4px;  /* tighter spacing */
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#rect-logo {
    padding-left: 4px;
    height: 25px;
    width: auto;
}

/* FOR CUSTOM COLOR TEXT ON HEALTH STATUS */
.health-status::placeholder {
    color: #fff !important; /* white */
    opacity: 1; /* prevent faded look */
}

.health-status:disabled::placeholder {
    color: #fff !important;
    opacity: 1;
}

/* FOR CUSTOM COLOR TEXT ON HEALTH STATUS */
.health-status::placeholder {
    color: #fff !important; /* white */
    opacity: 1; /* prevent faded look */
}

.health-status:disabled::placeholder {
    color: #fff !important;
    opacity: 1;
}

#pe-chart-daily-report-date, #pe-chart-report-date, #pe-wells-report-date {
    color: #454545; 
    font-size: 13.5px;      
    font-weight: 600;  /* slightly bold */
}

.nav-arrow {
    cursor: pointer;
    font-size: 15px;
    color: #555; 
    /* transition: color 0.2s ease, transform 0.2s ease;  */
}

.nav-arrow:hover {
    color: #28a745;         
    /* transform: scale(1.2); */
}

.custom-calendar-pe {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white !important; 
    color: #555 !important;              
    border: none;
    height: 100%;
    /* transition: color 0.2s ease, transform 0.2s ease; */
}

.custom-calendar-pe:hover {
    color: #28a745 !important;              
    border: none;
    /* transform: scale(1.2); */
}

.custom-calendar-icon {
    font-size: 15px;
    padding: 0;
}

.custom-calendar-wrapper {
    position: relative;
    overflow: visible !important;
}

.custom-pe-confirm-report-btn {
    padding: 5px 10px;
    background-color: white;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12.5px;
    height: 28px;
}

#custom-pewells-chart-btn, #daily-pewells-chart-btn {
    background-color: #337ab7;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    color: white;
    font-size: 12.5px !important;
    height: 32px !important;
}

#custom-pewells-chart-btn:hover {
    background-color: #5888b2;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    color: white;
    font-size: 12.5px !important;
    height: 32px !important;
}

#pe-confirm-yes-btn, #pe-confirm-no-btn {
    background-color: white;
    border: 1px solid #c2c2c2;
    color: black;
}

#pe-confirm-yes-btn:hover, 
#pe-confirm-yes-btn.active {
    background-color: green; 
    color: white;
    border-color: green;
}

#pe-confirm-no-btn:hover, 
#pe-confirm-no-btn.active {
    background-color: red;
    color: white;
    border-color: red;
}

/* Community Forum */
/* New's feed */

#cf-search-post:hover,
#lesson-learned-search-post:hover {
    border-color: #00b3ff;
    /* box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25); */
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.search-post-custom-input {
    border-radius: 15px;
    font-size: 12.5px !important;
    height: 32px !important;
}


.search-input-wrapper {
    position: relative;
}

.search-post-custom-input {
    padding-right: 40px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none; 
    font-size: 16px;
}

.tab-menu a {
    border-bottom: 3px solid transparent;
    color: #000;
    display: inline-block;   
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    padding: 8px 15px;
}
.tab-menu a.active {
    border-bottom: 3px solid #007914;
    color: #007914;
    opacity: 1;
}
 .tab-menu a:hover {
    background-color: #eee;
    color: #007914;
    opacity: 1;
}

.dropdown-menu.specialist-dropdown {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.specialist-dropdown .dropdown-item.selected-item {
    background-color: #eee;
    color: #007914;
    opacity: 1;
    border-bottom: none;
}

.post-tags {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}
.post-title {
    font-weight: 600;
    margin-top: 10px;
}
.post-content {
    font-size: 13px;
    margin-top: 10px;
}
.post-actions {
    font-size: 13px;
}
.post-actions i {
    margin-right: 5px;
    color: #006fbf;
}
.post-action-child {
    cursor: pointer;
    padding: 8px 15px;
}
.post-action-child:hover {
    background-color: #f8f8f8;
    /* color: #006fbf; */
}

.ellipsis {
    cursor: pointer;
    display: inline-flex;      
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
}
.ellipsis:hover {
    background-color: #eaeaea;
    border-radius: 50%;        
}
.tooltip.small-tooltip .tooltip-inner {
    font-size: 11px;
}

.comment-box {
    border-top: 1px solid #eee;
    /* padding-top: 12px; */
}

.add-comment {
    width:31px;
    height:31px;
    border-radius:50%;
    border:none;
    color:#6c757d;
    font-size: 15px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:0.2s;
}
.add-comment:hover {
    background:#eaeaea;
    color:#00A249;
}
/* expand comment */
.comment-input-wrapper{
    position: relative;
}

.comment-input-wrapper textarea{
    padding-right:50px;
    resize:none;
    font-size:13px;
}

.comment-input-wrapper .add-comment{
    position:absolute;
    right:8px;
    bottom:8px;

    color:#007bff;
    padding:0;
    border:none;
    background:transparent;
}

.comment-input-wrapper .add-comment:hover{
    color:#0056b3;
}
/* New's feed end*/


/* Create post modal */
.create-post-autor-date {
    color: black; 
    font-weight: bold;
}

.post-content-icons i, 
.cf-save-close-btn {
    cursor:pointer;
    display: inline-flex;      
    align-items: center;
    justify-content: center;
    font-size:17px;
    height: 31px;
    width: 31px;
    border-radius: 50%;
}

.post-content-icons i:hover, 
.cf-save-close-btn:hover
{
    background-color: #eaeaea;
    border-radius: 50%; 
    /* color:#007bff; */
}
/* Create post modal end*/

.custom-navbar-icon {
    display: inline-flex;      
    align-items: center;
    justify-content: center;
    font-size:14px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.custom-navbar-icon:hover {
    background-color: #eaeaea1d;
    border-radius: 50%;
}

.user-profile-fields {
    color: black; 
    font-size: 14px;
    font-weight: bold;
}

.dropdown-menu.navbar-user-dropdown{
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
}

.btn-outline-secondary {
    font-size: 12.5px;
}
/* User profile end*/

#special_knowledge + .select2-container {
    cursor: pointer;
    width: 100% !important;
}

.lessonslearned-modal-share-btn, .communityforum-modal-share-btn {
    border-color: #bebebe;
    color: gray;
    height: 33px;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 12.5px;
}

.btn-success {
    background-color: white !important;
    border-color: #bebebe;
    color: gray;
    height: 25px;
    border-radius: 5px;
    padding: 2px 9px;
    font-size: 12px;
}

.btn-success {
    background-color: white !important;
    border-color: #bebebe;
    color: gray;
}

.lessonslearned-modal-share-btn.active, .communityforum-modal-share-btn.active,
.lessonslearned-modal-share-btn:hover, .communityforum-modal-share-btn:hover {
    color: black;
    background-color: #bebebe !important;
    border-color: #bebebe !important;
}

.lessonslearned-custom-dropdown-menu {
    min-width: 200px;
    border-radius: 12px;
    padding: 8px 0;
}

.lessonslearned-custom-dropdown-item {
    font-size: 12.5px;
    padding: 10px 15px;
}

.lessonslearned-custom-dropdown-item:hover {
    background-color: #f8f9fa;
}

.auto-title{
    font-size: 12.5px !important;
    overflow: hidden;
    resize: none;
    min-height: 38px;
    max-height: 96px;
}

#lessons-learned-dropzone, #community-forum-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;

    /* min-height: 90px;
    padding: 12px 15px; */
    min-height: 60px;
    padding: 8px 12px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: all .25s ease;
    cursor: pointer;
}

#lessons-learned-dropzone:hover, #community-forum-dropzone:hover {
    border-color: grey;
    background: #fbfbfb;
}

#lessons-learned-dropzone.dz-drag-hover {
    border-color: grey;
    background: #fbfbfb;
}

/* Keep previews compact */
#lessons-learned-dropzone .dz-preview {
    margin: 5px;
}

/* for treant and fault-tree */
.Treant > .node { padding: 3px; border: 1px solid #484848; border-radius: 3px; } 
.fault-tree-node {
    width: 180px;        /* 👈 fixed width */
    min-width: 180px;    /* prevent shrinking */
    max-width: 180px;    /* keep consistent */
    box-sizing: border-box;
}
.fault-tree-node textarea {
    width: 100%;
    resize: none;
    font-size: 13px;
}
.fault-tree-node label {
    font-size: 14px;
}
.fault-tree-node .d-flex {
    width: 100%;
}
#rca_fault_tree {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}
#rcfa_fault_tree {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}
#custom-dropzone { 
    border: 2px dashed #d1d5db; 
    border-radius: 12px; 
    background: #f9fafb;
    padding: 40px; 
    text-align: center; 
    transition: all 0.3s ease; 
    cursor: pointer; 
}
#custom-dropzone:hover { 
    border-color: grey; 
    background: #eff6ff; 
}
#custom-dropzone.dz-drag-hover { 
    border-color: grey; 
    background: #dbeafe; 
}
.dropzone .dz-preview .dz-error-message { 
    position: absolute !important; top: -35px; /* FORCE ABOVE */ 
    left: 50%; 
    transform: translateX(-50%) !important; 
    background: #ef4444; color: #fff; 
    padding: 5px 10px; 
    border-radius: 6px; 
    font-size: 12px; 
    z-index: 9999; 
    pointer-events: none; /* IMPORTANT: don't block clicks */ 
} 
.dropzone .dz-error-message span { 
    display: block; 
} 
.dropzone .dz-preview .dz-error-message::after { 
    position: absolute; 
    top: 100%; left: 50%; 
    transform: translateX(-50%); 
    border-width: 6px; 
    border-style: solid; 
    border-color: #ef4444 transparent transparent transparent; 
}
.dropzone .dz-error-mark svg {
    width: 30px;
    height: 30px;
}
.dropzone .dz-error-mark circle {
    fill: #fee2e2;
}
.dropzone .dz-error-mark path {
    fill: #ef4444;
}
.dropzone .dz-error-mark {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    margin: 0 !important;

    animation: none !important;
    transition: none !important;
}

#add-logbook-attachment-btn, .attachment-custom {
    border: 1px solid #00A249 !important;
    color: #00A249 !important;
}

#add-logbook-attachment-, .attachment-custom:hover {
    border: 1px solid #00A249 !important;
    color: #00A249 !important;
}

.dashboard-chart {
    position: relative;
    height: 220px;
    width: 100%;
}

.dashboard-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/*Start PE Wells chart monthly picker only */
#start_month_picker .bootstrap-datetimepicker-widget .datepicker-months,
#end_month_picker .bootstrap-datetimepicker-widget .datepicker-months {
    padding-left: 5px;
    padding-right: 5px;
}

#start_month_picker .bootstrap-datetimepicker-widget .datepicker-months .month,
#end_month_picker .bootstrap-datetimepicker-widget .datepicker-months .month {
    width: 48px;
    height: 38px;
    /* Remove Tempus Dominus' default spacing */
    padding: 0;
    margin: 0;
    line-height: 38px;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    font-size: 12.5px;
}

#start_month_picker .bootstrap-datetimepicker-widget .datepicker-months .month:hover,
#end_month_picker .bootstrap-datetimepicker-widget .datepicker-months .month:hover {
    border-radius: 4px;
}
/* End PE Wells chart monthly picker only */

.custom-navbar-icon-tooltip .tooltip-inner {
    background-color: #ffffff;
    color: #555555;
    font-size: 12.5px;
    border: 1px solid #cccccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 6px 10px;
}

.custom-navbar-icon-tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: white;
}

.custom-navbar-icon-tooltip.bs-tooltip-bottom .arrow::after {
    border-bottom-color: white;
}

.custom-username-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.custom-username-bg:hover {
    background-color: #eaeaea1d;
    border-radius: 20px;
}

/* Lessons Learned Empty State */
.lessons-learned-empty-state {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 45px 25px;
    margin-top: 10px;
}

.lessons-learned-empty-state .empty-state-icon {
    font-size: 45px;
    color: #adb5bd;
}

.lessons-learned-empty-state .empty-state-title {
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.lessons-learned-empty-state .empty-state-description {
    font-size: 12.5px;
    color: #6c757d;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.6;
}

/* All Actions DataTable toolbar only */
#all-actions-table_wrapper .all-actions-toolbar {
    width: 100%;
}

#all-actions-table_wrapper .all-actions-table-btn {
    display: flex;
    align-items: center;
}

#all-actions-table_wrapper .dataTables_filter {
    margin-left: auto;
    margin-bottom: 0;
}

#all-actions-table_wrapper .dataTables_filter label {
    margin-bottom: 0;
}