* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ccs-container {
  display: flex;
  height: 100vh; /* Set container height to 100vh for full viewport */
}

.ccs-header {
  background-color: #333;
  color: #fff;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 40px;
}

.ccs-logo {
  font-size: 1.5rem;
}

.ccs-sidebar {
  width: 210px;
  background-color: #2a2a2a;
  position: absolute;
  height: 100vh;
  overflow: hidden;
}

.ccs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  /* margin-top: 25px; */
}

.ccs-sidebar ul li {
  /* padding: 10px 12px; */
}
.ccs-sidebar ul li:hover {
  background: #424242;
  cursor: pointer;
}

.ccs-sidebar ul li a {
  text-decoration: none;
  color: #ebebeb;
  padding: 12px;
  display: block;
  font-size: 15px;
  border-bottom: 1px solid #4e4e4e;
}

.ccs-content {
  width: 100%;
  margin-left: 210px;
}
.ccsMain-content {
  padding: 1rem;
}
.ccs-menu-toggle {
  display: none;
}
button#menu-toggle {
  border: none;
  background: #fff;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 16px;
}
/* custom dropdwon */
.css-dropdown {
  position: relative;
  display: inline-block;
}

.css-dropdown-toggle {
  background-color: #ddd;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.css-dropdown-toggle i {
  transition: transform 0.2s ease-in-out;
}

.css-dropdown:hover .css-dropdown-toggle i {
  transform: translateY(-2px);
}

.css-dropdown-content {
  display: none;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  position: absolute;
  margin: 0;
  right: 0;
}

.css-dropdown-content a {
  color: black;
  padding: 12px;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.css-dropdown:hover .css-dropdown-content {
  display: block;
}
/* custom dropdwon End*/
.css-userName a {
  padding: 14px;
  font-size: 16px;
  color: blue;
  font-weight: bold;
  border-bottom: 1px solid blue;
  background: #0000ff1f;
}
.css-dropdown-content li a:hover {
  background: #0000ff1f;
  color: blue;
}
button.css-dropdown-toggle {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}
.ccsMain-content div {
  display: none;
}
/* ----------css  profile----------- */
.cst-cssProfile {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    width: 70%;
    margin: auto;
}
.cst-profileImg {
    margin: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    text-align: center;
}
.cst-profileImg img.ccs-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.profile-form-sec
{
 display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; 
}
.profile-form-sec .ccs-field-container {
    flex: 0 0 48%;
    margin-bottom: 15px;
}
.profile-form-sec .ccs-field-container label
{
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.profile-form-sec .ccs-field-container input
{
    padding: 10px;
    border: 1px solid #767676;
    border-radius: 5px;
    font-size: 18px;
    color: #121212;
    width: 100%;
}
.profile-form-sec .ccs-field-container input#ccs-profile-image {
    border: 0;
    padding-left: 0;
}
.profile-form-sec .ccs-field-container button.ccs-profile-upd-btn
{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    display: block;
    color: #fff;
    border-radius: 5px;
        background: #0201ff;
    border: 1px solid #0201ff;
    margin-top: 10px;
}
.profileUpd button.ccs-profile-upd-btn{
	width: 100%;
}
/* ----------css  profile end----------- */
.ccs-badge {
  display: inline-block;

  padding: 0.25em 0.5em;

  border-radius: 0.25rem;

  font-size: 0.875rem;
}

/* Student badge style */

.ccs-badge-trucker {
  background-color: #ff6666; /* Red background */

  color: #fff; /* White text */
}

/* Tutor badge style */

.ccs-badge-supplier {
  background-color: #66cc66; /* Green background */

  color: #fff; /* White text */
}

/* Mudanzas badge style */

.ccs-badge-mudanzas {
  background-color: #8f10a0; /* Green background */

  color: #fff; /* White text */
}

/* freightbrokers badge style */

.ccs-badge-freightbrokers {
  background-color: #020da3; /* Green background */

  color: #fff; /* White text */
}

/* mecanicos badge style */

.ccs-badge-mecanicos {
  background-color: #e48202; /* Green background */

  color: #fff; /* White text */
}

/* lpw badge style */

.ccs-badge-lpw {
  background-color: #a10d0d; /* Green background */

  color: #fff; /* White text */
}

/* Default badge style (for other roles) */

.ccs-badge-default {
  background-color: #ccc; /* Gray background */

  color: #000; /* Black text */
}

#cliclbtn {
  background-color: red;
  font-size: 20px;
  color: red;
}

.expired {
  background-color: #ffcccc; /* Red background color */
}

.expired::after {
  content: " \2716"; /* Unicode character for "X" with a space before */
}

.expire-send-mail {
  font-size: 12px; /* Adjust font size for the send mail button */
}
/*modal css users list page*/
.ccs-avatar {
  width: 100px;
  /* Adjust the width as needed */
  height: 100px;
  /* Adjust the height as needed */
  overflow: hidden;
  border-radius: 50%;
  /* Make the image round */
  border: 2px solid #fff;
  /* Add a white border */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  /* Add a shadow */
}

.avatar-image {
  width: 100%;
  /* Make the image fill its container */
  height: auto;
  /* Keep the aspect ratio */
}

.modal-ccs {
  display: none;
  /* Initially hidden */
  position: fixed;
  /* Stays on top of other content */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  /* Overlay behind the modal */
}

.modal-ccs.visible {
  display: block;
  /* Show the modal */
}

.modal-content-ccs {
  background-color: #fff;
  border: 0;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
      width: 100%;
    max-width: 700px;
}

.modal-header-ccs {
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: #fff;
  border-radius: 5px 5px 0 0;
}
.modal-header-ccs h2 {
  margin: 0;
  font-size: 25px;
}

.modal-ccs .modal-content-ccs .modal-header-ccs button.close-button-ccs {
  font-size: 30px;
  background: transparent;
  border: 0;
  color: #fff;
  line-height: 1;
}
.modal-ccs .modal-content-ccs .modal-body {
  padding: 20px;
  padding-bottom: 0;
  height: 100%;
  max-height: 500px;
  overflow-y: auto;

}
.modal-ccs .modal-content-ccs .modal-body div {
  flex: 0 0 50%;
  margin-bottom: 20px;
}
.modal-ccs .modal-content-ccs .modal-body div label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.modal-ccs .modal-content-ccs .modal-body div input {
  width: 95%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.modal-footer-sec,
.modal_footer {
  padding: 20px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.oneLine .modal-footer-sec{
	justify-content: end;
}
.modal-footer-sec button,
.modal_footer button {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 50px;
  display: block;
  color: #fff;
  border-radius: 5px;
  background: #4caf50;
  border: 1px solid #4caf50;
}
.modal_footer .footer_close {
  background: #d6524b;
  border: 1px solid #d6524b;
}
.modal-txt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.modal-txt p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  margin-right: 20px;
}
/* ccs-mobile-mechanic-form-management --Modal CCS-- */
/* Modal */
.mec-modal {
}

.mec-modal-content {
  width: 100%; /* Full width */
}

.mec-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
/*User section css 15 March*/
.fliter-sec {
  margin-bottom: 20px;
}
.fliter-sec label {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.fliter-sec select {
  font-size: 18px;
  padding: 10px;
  min-width: 350px;
  border-radius: 5px;
}
span.select:after {
  display: none;
}
.cstDashb .dataTables_wrapper {
    overflow-x: auto;
}
.ccs-table-container div#ccs-spreadsheets_wrapper .dt-buttons {
  position: absolute;
  right: 0;
  top: -70px;
}
div#ccs-spreadsheets_wrapper .dt-buttons, .cstDashb .dt-buttons {
  margin-bottom: 25px;
}
div#ccs-spreadsheets_wrapper .dt-buttons .dt-button, .cstDashb .dt-buttons .dt-button{
  font-size: 16px;
  padding: 10px 20px;
  margin-right: 5px;
  font-weight: 600;
  border-radius: 5px;
  border: 1px solid #333333;
  background: #333333;
  color: #fff;
}
div#ccs-spreadsheets_wrapper .dt-buttons .dt-button.buttons-csv, .cstDashb .dt-buttons .dt-button.buttons-csv {
  background: #3da26d;
  color: #fff;
  border: 1px solid #3da26d;
}
div#ccs-spreadsheets_wrapper .dt-buttons .dt-button.buttons-excel, .cstDashb .dt-buttons .dt-button.buttons-excel {
  background: #016e38;
  color: #fff;
  border: 1px solid #016e38;
}
div#ccs-spreadsheets_wrapper .dt-buttons .dt-button.buttons-pdf, .cstDashb .dt-buttons .dt-button.buttons-pdf {
  margin-right: 0;
  background: #ad0b00;
  color: #fff;
  border: 1px solid #ad0b00;
}
div#ccs-spreadsheets_length label,
div#ccs-spreadsheets_filter label,
.cstDashb .dataTables_length label,
.cstDashb .dataTables_filter label
 {
  font-size: 18px;
  font-weight: 600;
}
div#ccs-spreadsheets_length label select,
.cstDashb .dataTables_length label select
 {
  padding: 10px 15px;
  font-size: 17px;
  padding-left: 5px;
}
div#ccs-spreadsheets_filter label input,
.cstDashb .dataTables_filter label input
 {
  padding: 10px;
  min-width: 280px;
  border: 1px solid #767676;
  border-radius: 5px;
  font-size: 18px;
  color: #121212;
  margin-left: 8px;
}
div#ccs-spreadsheets_length, .cstDashb .dataTables_length {
  margin-bottom: 40px;
}
.cstDashb .dataTables_filter button.clear-search {
    background: #d34c4c;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    font-family: "Bai Jamjuree", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    display: inline-block;
    margin-left: 15px;
    border: none;
    line-height: 1.3;
}
.cstDashb .dataTable thead tr th,
.cstDashb .dataTable tbody tr td {
  padding: 15px;
  font-size: 16px;
  color: #121212;
      vertical-align: middle;
}
.cstDashb .dataTable tbody tr td .edit-button,
.cstDashb .dataTable tbody tr td .ccs-delete-user-button,
.cstDashb .dataTable tbody tr td button.subscribe-users-view-button,
button.mmfda-edit-button.mmfda,
button.mmfda-ccs-delete-user-button,
button.expire-send-mail,
button.loads-edit-btn,
button.loads-ccs-delete-btn {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 20px;
  display: block;
  color: #fff;
  border-radius: 5px;
  width: 100%;
}
.cstDashb .dataTable tbody tr td .edit-button,
.cstDashb .dataTable tbody tr td button.subscribe-users-view-button,
button.mmfda-edit-button.mmfda,
button.loads-edit-btn {
  background: #3175ad;
  border: 1px solid #3175ad;
  margin-bottom: 5px;
}
.cstDashb .dataTable tbody tr td .ccs-delete-user-button,
button.mmfda-ccs-delete-user-button,
button.loads-ccs-delete-btn {
  background: #d6524b;
  border: 1px solid #d6524b;
}
button.expire-send-mail {
  background: #3da26d;
  color: #fff;
  border: 1px solid #3da26d;
}
.cstDashb .dataTable tbody tr td span.ccs-badge {
  font-size: 14px;
  font-weight: 500;
  padding: 5px 20px;
  text-transform: capitalize;
  text-align: center;
  border-radius: 50px;
}
.cstDashb .dataTables_info,
.cstDashb .dataTables_paginate .paginate_button {
  font-size: 17px;
  font-weight: 600;
}
.cstDashb .dataTables_paginate .paginate_button:hover {
  border: 1px solid #262626;
  background: #333333;
  color: #fff;
  border-radius: 5px;
}
.cstDashb .dataTables_paginate span a.paginate_button.current {
  background: #0201ff;
  border: 1px solid #0201ff;
  border-radius: 5px;
  color: #fff !important;
}
.cstDashb .dataTable, .cstDashb .dataTables_info{
  margin-bottom: 30px;
}
span#upd-ccs-users-list-resp {
  font-size: 17px;
  font-weight: 600;
  color: #4caf50;
}
/* Subscription List Modal*/
.subscribe-users-modal {
  display: none;
}
.modal-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}
.modal-box .modal-content {
  width: 100%;
  max-width: 700px;
  padding: 0;
  padding-top: 20px;
}
.modal-box .modal-content p {
  font-size: 16px;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-bottom: 2px dotted #ccc;
}
.modal-box .modal-content p b {
  flex: 0 0 50%;
}
.modal-box .modal-content.oneLine p b {
  flex: 0 0 100%;
}
.modal-box .modal-content p span {
  flex: 0 0 50%;
}
.modal-box .modal-content.oneLine p span {
  flex: 0 0 100%;
}
.no-content-div
{
  display: none;
}
.custom-table-response
{
  overflow-x: auto;
}
.modal-header-ccs .header-email
{
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}
.modal-header-ccs .header-email label
{
 flex: 0 0 10%;   
}
.modal-header-ccs .header-email input#user-email-field
{
    background: transparent;
    border: 0;
    color: #fff;
    padding: 0;
    font-size: 20px;
    font-weight: 500;
    flex: 0 0 90%;
}
.modal-ccs .modal-content-ccs .modal-body .abogados-modal-content,
.modal-ccs .modal-content-ccs .modal-body .seguradoras-modal-content,
.modal-ccs .modal-content-ccs .modal-body .trucker-modal-content
 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.whm-modal .modal_head
{
    background: #333333;
    border-radius: 5px 5px 0 0;
}
.whm-modal .modal_head h3
{
    margin: 0;
    padding: 20px;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}
.whm-modal .modal_head h3 span
{

}
.whm-modal .modal_body
{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.whm-modal .modal_body input
{
    flex: 0 0 49%;
    margin-bottom: 17px;
    border: 1px solid #ccc;
    padding: 15px;
}
.whm-modal .modal_footer div
{
    flex: 0 0 50%;
    display: flex;
}
.whm-modal .modal_footer span
{
  flex: 0 0 50%;
}
.whm-modal .modal_footer button.btn-close
{
 background: #d6524b; 
 border: 1px solid #d6524b;
 margin-left: 20px;
}
.whm-modal .modal-box .modal-content
{
    padding-top: 0;
}
.upper-detail
{
padding: 20px;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.upper-detail input
{
     flex: 0 0 100%; 
}
.upper-detail span
{
    flex: 0 0 100%;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.modal-box .modal-content .upper-detail p
{
    flex: 0 0 100%;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 0;
}
.detail-sec
{
    padding: 20px;
    padding-top: 0;
}
.detail-sec h4
{
margin: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}
.detail-sec ul
{
    list-style: none;
    margin: 0;
    margin-left: 0;
    font-size: 16px;
}
.detail-sec ul li
{
    padding-bottom: 10px;
    font-weight: 600;
}
.detail-sec ul li span
{
font-weight: 500;
}
input#user_main_role {
    background: #ddd;
    cursor: not-allowed;
}
/* ----------css  profile end----------- */
@media screen and (max-width: 768px) {
  .cssMobileColap .ccs-sidebar {
    width: 0;
    padding: 0;
    transition: width 0.5s ease-in-out;
  }
  .cssMobileColap.active .ccs-sidebar {
    width: 210px;
    padding: 0.5rem;
    transition: width 0.5s ease-in-out;
  }
  .cssMobileColap .ccs-content {
    margin-left: 0;
    transition: margin-right 0.5s ease-in-out;
  }
  .cssMobileColap.active .ccs-content {
    margin-left: 210px;
    transition: margin-right 0.5s ease-in-out, width 0.5s ease-in-out;
  }
  .ccs-menu-toggle {
    display: block;
  }
}
/* ------------------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
  .mec-modal {
    padding: 10px;
  }
}