* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    scrollbar-width: thin;            /* "auto" or "thin" */
    scrollbar-color: #888 #f1f1f1;    /* thumb color track color */
}

.form-control-new {
    border-radius: 100px !important;
    padding-left: 29px;
    font-size: 12px;
    font-weight: 700;
    height: 33px;
}

.form-control-new::placeholder {
    color: #afafaf;
}

label.control-label-new {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px !important;
}

textarea.form-control-new {
    border-radius: 14px !important;
}

.new-btn {
    background: #ed1651;
    border-radius: 100px;
    border: none;
    padding: 5px 14px;
    margin: auto;
    font-size: 0.8rem;
}

.new-btn:hover {
    background-color: #cb1346 !important;
}

.record-title {
    font-size: 20px;
    font-weight: 500;
    padding: 5px 0px;
}

.new-edit-btn {
    background: green;
    ;
    border-radius: 100px;
    border: none;
    padding: 2px 16px;
    margin: auto;
    color: white;
    font-size: 0.8rem;
}

.new-edit-btn:hover {
    background-color: rgb(5, 100, 5);
}

.new-delete-btn {
    background: red;
    border-radius: 100px;
    border: none;
    padding: 2px 16px;
    margin: auto;
    color: white;
    font-size: 0.8rem;
}

.new-delete-btn:hover {
    background-color: rgb(135, 10, 10) !important;
}

.new-export-btn {
    background: #277dff;
    border-radius: 100px;
    border: none;
    padding: 2px 16px;
    margin: auto;
    color: white;
    font-size: 0.8rem;
}

.new-export-btn:hover {
    background: #235d9a !important;
}

thead.table-header {
    color: red;
    font-size: 13px;
    font-weight: 400 !important;
    background-color: white !important;
    ;
}

.page {
    background-color: #f5f7fa;
}

#page-report-body {
    border-radius: 26px;
    background: white;
    padding: 20px 17px;
    padding-bottom: 94px !important;
}

.page-link {
    background-color: transparent;
    border: none
}

.page-item.active .page-link {
    background: #635f5f;
    border-radius: 5px;
    padding: 4px 11px;
}

li.page-item {
    padding: 0px 3px;
}

.pagination {
    justify-content: flex-end;
}

.rounded-max {
    border-radius: 100px;
}

.table-responsive {
    overflow: hidden;
}

/* SweetAlert2 Modal Styling */
.swal2-popup {
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    font-family: sans-serif;
    /* Use sans-serif font */
    padding: 20px;
    /* Padding inside the modal */
    width: 500px;
    /* Adjust width as needed */
}

.swal2-title {
    /* background: red; */
    border-radius: 100px;
    border: none;
    padding: 7px 21px;
    margin: auto;
    /* color: white; */
    font-size: 14px !important;
}

.swal2-html-container {
    text-align: center;
    /* Center the HTML content */
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 20px;
    /* Spacing below the HTML content */
    overflow: hidden !important;
}



.swal2-confirm {
    background-color: #ff0000;
    /* Red confirm button background */
    border: none;
    /* Remove button border */
    border-radius: 100px !important;
    /* Button rounded corners */
    color: white;
    /* Button text color */
    padding: 6px 18px;
    /* Button padding */
    font-weight: bold;
    /* Bold button text */
    cursor: pointer;
    /* Pointer cursor on hover */
    margin: 0px;
}

#confirmInput {
    width: 100% !important;
    margin: 0px;
    margin-top: 26px;
}

#confirmInput:focus {
    outline: none;
}

.swal2-cancel {
    border: 1px solid #ccc;
    /* Cancel button border */
    border-radius: 100px !important;
    /* Cancel button rounded corners */
    color: #333;
    /* Cancel button text color */
    padding: 6px 18px;
    /* Cancel button padding */
    margin-right: 10px;
    /* Spacing between buttons */
    cursor: pointer;
    /* Pointer cursor on hover */
}

.swal2-close {
    color: #aaa;
    /* Close button color */
    font-size: 24px;
    /* Close button font size */
    cursor: pointer;
    /* Pointer cursor on hover */
}

.custom-select-container {
    position: relative;
    display: inline-block;
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    /* Adjust width as needed */
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    background-color: white;
    z-index: 1000;
}

.custom-select-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-select-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
}

.custom-select-dropdown li:hover {
    background-color: #f0f0f0;
}

.login-form {
    border-radius: 25px;
    box-shadow: 0 0 15px #cccbcb;
    width: 450px;
    padding: 27px 42px;
}

.login-form h2 {
    font-size: 14px;
}

.login-form label {
    font-size: 12px;
}

.login-form .form-control-new {
    height: 26px;
}


/* -------------------------------------------------
                    SIDEBAR 
--------------------------------------------------- */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Chrome, Edge, Safari */
#sidebar::-webkit-scrollbar-button {
    display: none !important;
}

/* Remove scrollbar arrows */
::-webkit-scrollbar-button:single-button {
    display: none;
    width: 0;
    height: 0;
}



#sidebar {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 200px;
    z-index: 1;
    background: white;
    height: 100vh;
    box-shadow: 0px -2px 4px #e2e2e2;
    overflow: auto;
}

#main {
    padding: 0px;
}

#topbar {
    background-color: white;
    position: sticky;
    top: 0px;
    z-index: 3;
    box-shadow: 0 0 10px #dedede !important;
}

#main-content {
    background: #f5f7fa;
    margin-left: 200px;
    width: 100%;
    overflow: hidden !important;
}

/* ------------------------------------------- */
/* SIDEBAR LAYOUTS */
/* ------------------------------------------- */
ul.nav-bar li {
    list-style-type: none;
    margin: 12px 0px;
    position: relative;
    padding-left: 19px;
}

ul.nav-bar li a {
    color: #9e9e9e;
    font-weight: 500;
    text-decoration: none;
}

ul.nav-bar li:hover {
    cursor: pointer;
}

ul.nav-bar li.active a {
    color: red
}

ul.nav-bar li.active::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 3px;
    background-color: red;
}

/* ---- */
li.nav-item {
    list-style-type: none;
    margin: 0px 0px;
    position: relative;
    padding-left: 8px;
}

ul.navbar-nav li.nav-item a.nav-link {
    color: #9e9e9e;
    font-weight: 500;
    text-decoration: none;
}

ul.navbar-nav li.nav-item:hover {
    cursor: pointer;
}

ul.navbar-nav li.nav-item a.nav-link.active {
    color: red !important;
}

ul.navbar-nav li.nav-item a.nav-link.active:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 3px;
    background-color: red;
}



ul.navbar-nav li.nav-item.active::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 3px;
    background-color: red;
}


#main {
    padding: 0px !important;
}

#topbar .dropdown-menu {
    left: -47px !important;
}

/* ---------------------------------------------------- */
/* FEEDBACK MODAL  */
/* ---------------------------------------------------- */
.feedback-modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background-color: #0000003b;
    padding: 24px 22px;
    display: none;
}

.feedback-modal .inner-content {
    background: white;
    border-radius: 12px;
    width: auto;
    padding: 11px 15px;
    width: 500px;
}

.freelancer-rating-form {
    border-radius: 8px;
    background-color: #fff;
}

.freelancer-rating-form h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.freelancer-rating-input {
    margin-bottom: 10px;
}

.freelancer-rating-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 12px;
}

.freelancer-rating-range-container {
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 3px 10px;
    border: 1px solid #e7e7e7;
}

.freelancer-rating-range {
    flex-grow: 1;
    /* height: 8px; */
    -webkit-appearance: none;
    background: linear-gradient(to right, #febf46 var(--range-value-percent), #ddd var(--range-value-percent));
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}

.freelancer-rating-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px !important;
    ;
    /* Adjust thumb size */
    height: 15px !important;
    ;
    /* Adjust thumb size */
    background: #febf46 !important;
    /* Blue thumb color from UI */
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(2px) !important;
    ;
}

.freelancer-rating-range::-moz-range-thumb {
    width: 15px !important;
    ;
    /* Adjust thumb size */
    height: 15px !important;
    ;
    /* Adjust thumb size */
    background: #febf46 !important;
    ;
    /* Blue thumb color from UI */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(2px) !important;
    ;
}

.freelancer-rating-star-rating {
    font-size: 1.2em;
    color: #ccc;
    /* Default unfilled color */
    white-space: nowrap;
}

.freelancer-rating-star {
    position: relative;
    display: inline-block;
}

.freelancer-rating-star::before {
    content: '★';
    position: absolute;
    left: 0;
    color: gold;
    /* Filled color */
    overflow: hidden;
    width: 0%;
    /* Initially hidden */
}

.freelancer-rating-star.filled::before {
    width: 100%;
    /* Show full star */
}

.freelancer-rating-star.half::before {
    width: 50%;
    /* Show half star */
}

.freelancer-rating-submit-button {
    background-color: #3b82f6;
    /* Darker blue submit button */
    color: white;
    border: none;
    border-radius: 100px;
    padding: 6px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.freelancer-rating-submit-button:hover {
    background-color: #febf46;
}

.freelancer-rating-range::-webkit-slider-runnable-track {
    background-color: transparent !important;
    ;
}

.freelancer-rating-range::-moz-range-track {
    background-color: transparent !important;
    ;
}

/* ---------------------------------------------------- */
/* REMARK MODAL  */
/* ---------------------------------------------------- */
.custom-remark-modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background-color: #0000003b;
    padding: 46px;
    backdrop-filter: blur(2px);
    display: none;
}

.custom-remark-modal .inner-content {
    background: white;
    border-radius: 23px;
    width: auto;
    padding: 40px 60px;
    width: 489px;
}

.custom-remark-modal h5 {
    font-size: 14px;
}

.custom-remark-modal textarea.custom-remakr-inp {
    width: 100%;
    resize: none;
    height: 100px;
    border-radius: 17px;
    padding-left: 13px;
    padding-top: 7px;
    border-color: #bfb9b9;
}

.custom-remark-modal textarea.custom-remakr-inp::placeholder {
    color: #bfb9b9;
    font-size: 12px;
}

#page-report-body {
    overflow-x: auto !important;
    /* max-width: 80vw; */
}

td {
    width: 200px
}

.table-header {
    text-align: center;
}

table {
    overflow: scroll;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 100px !important;
}

/* ------------------------------------------- */
/* SIDEBAR LAYOUTS */
/* ------------------------------------------- */

.task-card {
    background: white;
    border-radius: 23px;
    padding: 23px;
    box-shadow: 0 0 10px #e9e9e9;
    display: flex;
    align-items: center;
}

.task-card p {
    color: #afafaf;
    font-weight: 500;
    font-size: 12px;
}

.task-card span {
    font-weight: 500;
    font-size: 20px;
}

.icon-image .fa-user {
    background: #ffe2b6;
    padding: 21px 23px;;
    border-radius: 50%;
    color: #e99515
}

.icon-image .fa-dollar {
    background: #c7fcff;
    padding: 20px 23px;
    border-radius: 50%;
    color: #2d5b5d;
}

.icon-image .fa-chart-simple {
    background: #fadee3;
    padding: 21px 23px;;
    border-radius: 50%;
    color: #da8c8c;
}

.icon-image .fa-tasks {
    background: #d5f0ff;
    padding: 21px 22px;;
    border-radius: 50%;
    color: #59a4ce;
}

.task-view-container {
    border-radius: 40px;
    padding: 35px;
    background: white;
    border: 1px solid gray;
    /* margin: 0px 23px; */
}

.fa.fa-cog {
    border-radius: 50%;
    background: #f5f7fa;
    padding: 9px;
    font-size: 18px;
    color: #afafc1;
}

.fa.fa-bell {
    border-radius: 50%;
    background: #f5f7fa;
    padding: 9px;
    color: #afafc1;
}


.task-value {
    color: #969696;
    font-weight: 600;
}

.task-view-container i {
    color: #969696;
    font-weight: 600;
}

.table-container {
    /* A new container div for better control */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.task-tab-btn {
    background: #e2e2e2;
    border-radius: 21px;
    padding: 13px 17px 42px 17px;
    margin-bottom: -33px;
    display: inline-block;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.task-tab-btn.active {
    background: white;
}

.table {
    width: auto;
    /* Important: Let the table expand based on its content */
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-family: sans-serif;
    font-size: 0.875rem;
    border-spacing: 0;
    /* Ensure no extra spacing that might interfere with width calculation */
}

.table th,
.table td {
    padding: 0.5rem;
    line-height: 1.5;
    white-space: nowrap;
    /* Prevent wrapping, forcing horizontal overflow */
    border-bottom: 1px solid #dee2e6;
}

.table-header th {
    background-color: white;
    font-weight: bold;
    color: #dc3545;
    text-align: left;
    border-top: 0px solid #dee2e6;
}

/* Existing styles for rounded-max, buttons, etc. remain the same */
.rounded-max {
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
    color: white;
    font-size: 0.8rem;
}

.btn-sm {
    font-size: 0.75rem;
    margin-right: 0.2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    color: white;
    font-size: 0.8rem;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    font-size: 0.8rem;
}



.custom-select-container {
    position: relative;
    display: inline-block;
}

.status-display,
.payment-status-display {
    cursor: pointer;
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    display: none;
    min-width: 100px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.custom-select-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-select-dropdown li {
    padding: 0.3rem 1rem;
    cursor: pointer;
}

.custom-select-dropdown li:hover {
    background-color: #f8f9fa;
}

/* ---------------------------------------------------- */
/* Profiles completion */
/* ---------------------------------------------------- */

/* Add these styles to your existing CSS file or within <style> tags */
.profile-completion {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.profile-completion h4 {
    font-size: 12px;
}

.progress-bar-container {
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 13px;
    margin-top: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: red;
    /* Initial color (will be overridden by PHP) */
    height: 100%;
    width: 0%;
    /* Initial width (will be overridden by PHP) */
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 8px;
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: #e9ecef;
}


/* --------------------------------------------------------
Profile
--------------------------------------------------------- */
.new-transaparat-btn {
    background: #ff000000;
    color: black !important;
    border: 1px solid gray !important;
    border-radius: 100px !important;

    padding: 5px 14px;
    margin: auto;
    font-size: 0.8rem;
}


.upload-container {
    background-color: #fff;
    padding: 11px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: max-content;
    display: flex;
    align-items: center;
}

.profile-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px dashed #ddd;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #777;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-select-img {
    border: 2px solid #ff0000;
    color: #ff0000;
    background-color: white;
    padding: 4px 13px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.actions {
    margin-top: 20px;
}

.actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin: 0 5px;
}

.actions button.upload {
    background-color: #28a745;
    color: white;
}

.actions button.cancel {
    background-color: #dc3545;
    color: white;
}

.drag-drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    color: #777;
}

.drag-drop-area.active {
    border-color: #007bff;
    background-color: #e9f2ff;
}

/* -------------------------------------------- */
        /* PROJECT MANAGEMENT SECTION  */
/* --------------------------------------------- */

.project-view-sub{
    background-color: WHITE;
    padding: 23px;
    border-radius: 8px;
    box-shadow: 0 0 10px #e6e6e6;
}

.canvasjs-chart-credit{
    display: none !important;
}

.filter-icon {
    cursor: pointer;
    margin-left: 6px;
    font-size: 16px;
    color: #555;
    user-select: none;
  }
  .filter-icon:hover {
    color: #000;
  }
  .filter-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 140px;
    z-index: 1000;
    display: none;
  }
 
  .filter-popup button {
    cursor: pointer;
    margin-right: 6px;
    padding: 5px 10px;
  }

    .filter-container {
   
    background: #ffffff;
    border-radius: 12px;
    /* box-shadow: 0 8px 24px rgba(0,0,0,0.12); */
    padding: 20px 24px;
    overflow-y: auto;
  }
  h2 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 16px;
    color: #2c3e50;
  }

  .filter-group {
    margin-bottom: 20px;
  }
  .filter-group:last-child {
    margin-bottom: 0;
  }


 .copyright{
        font-size: 12px;
 }

 .cur-month, .flatpickr-current-month span.cur-month{
     font-family: math !important;
     display: block !important;
 }
 
@media (max-width: 768px) {
    .login-form {
        width: 100%;
    }
}

