.path-manage-users header a{
    background: #148e9e;
    cursor: pointer;
    color: #fff;
    border: 0;
    padding: 12px 18px;
    line-height: 100%;
    margin-right: 2px;
    border-radius: 20px;
}

.manage-users{
    margin-top: 45px;
}

.path-manage-users .views-exposed-form,.path-customer-view .customer-view-form,.path-customer-vehicles .customer-vehicles-form{
    display: flex;
    flex-wrap: wrap;
    margin-block: var(--space-l);
    padding: var(--space-xs) var(--space-l) var(--space-l) var(--space-l);
    border: var(--details-border-size) solid var(--details-border-color);
    border-radius: var(--details-border-size-radius);
    background-color: var(--color-white);
    box-shadow: var(--details-box-shadow);
}

.path-manage-users .form-type-textfield input{
    margin: 16px 15px 0 0;

}

.path-customer-view .form-type-textfield input{
    width: 138px;
    margin: 16px 10px 0 0;
}

.path-manage-users .form-type-textfield label,.content form .form-type-select label,.content form .form-type-textarea label{
    display: table;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
}

.clear {
    clear: both;
}

#customer-information{
    margin-top: 36px;
}

.path-manage-users .form-item-status label,.path-customer-view .form-type-textfield,.path-customer-view .form-type-select{
    display: inline-block;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
    padding-top: 16px;
}

 
.path-manage-users #edit-actions{
    padding-top: 35px;
    padding-left: 15px;
}

.welcome-message span,.welcome-message a{
    background: none;
    border: 0;
    font-weight: 400;
    color: #fff;
}

.welcome-message{
    display: ruby-text;
    padding-top:21px;
}

/* start  Masquerade */

/* Change color of the Masquerade placeholder text */
input#edit-masquerade-as::placeholder {
  color: #fff; /* ← change to any color you want */
  opacity: 1;     /* ensures full opacity */
}

/* For WebKit browsers */
input#edit-masquerade-as::-webkit-input-placeholder {
  color: #fff;
}

/* For Firefox */
input#edit-masquerade-as::-moz-placeholder {
  color: #fff;
}

/* For Internet Explorer/Edge */
input#edit-masquerade-as:-ms-input-placeholder {
  color: #fff;
}


.user-form {
  max-width: 100% !important;
}

/* end  Masquerade */


/* start my-users */

.path-my-users header a {
    background: #148e9e;
    cursor: pointer;
    color: #fff;
    border: 0;
    padding: 12px 18px;
    line-height: 100%;
    margin-right: 2px;
    border-radius: 20px;
}

.path-my-users .form-type-textfield input{
    margin: 16px 15px 0 0;
    width: 170px;
}

.path-my-users .form-type-textfield,.path-my-users .form-type-select{
    display: inline-block;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
    padding-top: 16px;
}

.path-my-users .form-type-select label ,.path-my-users .form-type-textfield label {
    display: table;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
}

.path-my-users .views-exposed-form{
    display: flex;
    flex-wrap: wrap;
    margin-block: var(--space-l);
    padding: var(--space-xs) var(--space-l) var(--space-l) var(--space-l);
    border: var(--details-border-size) solid var(--details-border-color);
    border-radius: var(--details-border-size-radius);
    background-color: var(--color-white);
    box-shadow: var(--details-box-shadow);
}

.path-my-users #edit-actions {
    padding-top: 35px;
    padding-left: 15px;
}

.path-my-users .form-type-select{
    margin-top: 16px;
}

/* end my-users */

 .button{
    background: #148e9e;
    cursor: pointer;
    color: #fff;
    border: 0;
    padding: 12px 18px;
    line-height: 100%;
    margin-right: 2px;
    border-radius: 20px;
}

.clear{
    margin: 15px;
}
.financials-btn{
    float: right;
}

.horizontal{
    display: -webkit-box;
}

.horizontal input[type="submit"]{
    margin-top: 24px;
}

.horizontal .form-type-select{
    margin-top: 3px !important;
}

.horizontal select{
    padding: 9px;
}
.horizontal .form-type-date,.form-type-date{
    display: grid;
}

.horizontal .form-type-textfield .form-text{
    padding: 8px;
}

.horizontal .form-item{
    margin: 0px 10px 0px 0px;
}

.horizontal label {
    display: table;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
}

.form-type-textfield,.form-type-date{
    font-weight: bold;
}

.path-customer-form .form-text ,.path-customer-form input[type=date]{
    width: 20%;
}

.path-customer-payments .horizontal .form-type-textfield #edit-payment-amount {
    width: 130px;
}

.path-customer-payments .horizontal .form-type-textfield #edit-payment-note {
    width: 280px;
}

.group-title span{
    font-size:22px;
    color:#28968f
}

.group-title {
    font-size:22px;
    color:#28968f
}

.path-customer-vehicles .form-type-textfield input{
    width: 138px;
    margin-top: 0px;
}

.path-customer-vehicles .form-type-textfield,.path-customer-vehicles .form-type-select{
    display: inline-block;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
    padding-top: 16px;
    margin: 5px;
}

.path-customer-vehicles .button--primary{
    display: inline-block;
}

.body-type-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px dashed #ccc;
  cursor: pointer;
}
.body-type-option.selected {
  background-color: #f0f0f0;
}

.custom-dropdown {
  width: 100%;
  max-width: 350px;
  position: relative;
  font-family: Arial;
}

.dropdown-selected {
  padding: 14px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}

.dropdown-options {
  display: none;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 6px;
  background: #fff;
  position: absolute;
  width: 100%;
  z-index: 1000;
}

.dropdown-options.open {
  display: flex;
}

.body-type-option {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px dashed #eee;
}

.body-type-option:last-child {
  border-bottom: none;
}

.body-type-option:hover {
  background: #f3f3f3;
}

.body-type-option.selected {
  background: #e5f0ff;
  border-left: 4px solid #3b82f6;
}

/* Arrow always visible */
.custom-dropdown .dropdown-arrow {
  transition: transform 0.2s ease;
}

/* Rotate only when dropdown is open */
.custom-dropdown.rotate-arrow .dropdown-arrow {
  transform: rotate(180deg);
}

.year-dropdown-container {
  position: relative;
  width: 100%;
}

.year-dropdown-container .year-options {
  display: none;
}

.year-dropdown-container.open .year-list {
  display: block;
}

#year_arrow {
  transition: transform 0.2s ease;
}

.year-dropdown-container.open #year_arrow {
  transform: rotate(180deg); /* Arrow flips when dropdown is open */
}

/* Dropdown list hidden by default */
.dropdown-list {
  display: none; /* Must be 'none' initially */
  /*position: absolute;*/
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background: #fff;
  z-index: 10;
  margin-top: 4px;
  flex-direction: column;
}

/* Show when open */
.dropdown-list.open {
  display: flex;
}

.ajax-select-wrapper {
  position: relative;
}

.ajax-select-wrapper .ajax-progress {
  position: absolute;
  top: -22px;        /* ABOVE select */
  left: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.ajax-select-wrapper .ajax-progress .message {
  font-size: 12px;
  color: #666;
  margin-left: 6px;
}

.ajax-select-wrapper .ajax-progress .throbber {
  margin: 0;
}


.path-customer-vehicles .form-checkboxes .form-item{
  display: inline-block;
  padding: 0px 5px;
}

.path-customer-vehicles .form-checkboxes .form-item label.option {
  font-weight: 600;
}

/*show-more-options */
.options-wrapper .form-checkboxes .form-item:nth-child(n+5) {
  display: none;
}

.options-wrapper.expanded .form-checkboxes .form-item {
    display: inline-block;
    padding: 0px 5px;
}

.show-more-options {
  display: inline-block;
  margin-top: 8px;
  color: #0074bd;
  cursor: pointer;
}

.options-wrapper {
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background-color: #fafafa;
}

.vehicle-details {
  margin-top: 6px;
  padding: 8px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  font-size: 13px;
}
summary {
  cursor: pointer;
  font-weight: bold;
}

#new_invoice_container{
  display: ruby;
}

.path-inventory .form-item{
    font-weight: bold;
    display: grid;
}

#new_items_container {
    border: 1px solid #999;
    border-radius: 8px;
    margin: 20px 0 15px;
}

#new_items_attachments {
    /*height: 80px;
    overflow-y: scroll;*/
}

.visit {
    background-color: rgba(127, 196, 205, 0.2);
    border-radius: 8px;
    box-shadow: 5px 5px 5px #bbb;
    margin: 10px;
    padding: 8px;
}

#new_items_container fieldset {
    padding: 10px;
}

.path-inventory .form-checkboxes .form-item {
    display: inline-block;
    padding: 0px 5px;
}

.path-inventory .form-checkboxes .form-item label.option {
    font-weight: 600;
}

/*show-more-options */
.path-inventory .options-wrapper .form-checkboxes .form-item:nth-child(n+5) {
  display: none;
}

.path-inventory .options-wrapper.expanded .form-checkboxes .form-item {
    display: inline-block;
    padding: 0px 5px;
}

 
.path-inventory .invoice-wrapper {
    font-weight: bold;
    display: ruby;
}

.path-inventory .price,.path-inventory .item-total,.path-inventory .qty{
  width: 70px;  
}

.path-inventory .form-text {
    width: 138px;
    margin-top: 0px;
}

#new_items_container_view_invoice {
    border: 1px solid #999;
    border-radius: 8px;
    margin: 20px 0 15px;
    padding: 10px 10px;
}

.path-inventory #new_items_container_view_invoice .form-item {
    font-weight: bold;
    display: inline-block;
}

select:disabled ,
.path-inventory #new_items_container_view_invoice .form-text,
.path-inventory #new_items_container_view_invoice input[type="checkbox"]:checked:disabled + label{
    font-weight: 700;
    color: #0829bf;
}

.invoice-swiper {
  width: 600px;
  max-width: 100%;
}
.invoice-swiper img {
  width: 100%;
  border-radius: 6px;
}

.horizontal_ruby{
  display: ruby;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}

.path-patients .button {
  float: right;
}

.ui-autocomplete {
  z-index: 99999 !important;
}

.path-patient-payments input,.path-patient-payments textarea {
    width: 170px;
}

.voice-note{
  cursor: pointer;
  position: relative;
  z-index: 100;
  right: 27px;
}

.voice-re-note{
    cursor: pointer;
    position: relative;
    z-index: 100;
    right: 85px;
}

#edit-type{
    display: inline-flex;
}

#treatment-table-wrapper caption ,.ccaption caption{
  caption-side: top !important;
  text-align: center;
  font-weight: bold;
}

.print_page .no-print {
  display: none;
}

/* Your existing popup wrapper */
.div-popup.action-comp {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 99999;

  width: 92%;
  max-width: 1100px;
  /*max-height: 92vh;*/

  overflow-y: auto;

  background: #fff;
  border-radius: 8px;

  padding: 20px;

  box-shadow: 0 0 25px rgba(0,0,0,.25);

  border: 1px solid #dcdcdc;
}

/* Hide by default */
.treatment-popup {
  display: none;
}

/* Overlay background */
.treatment-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99990;
  display: none;
}

/* Popup title */
.div-popup.action-comp legend {
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 30px;
  height: 30px;

  line-height: 28px;
  text-align: center;

  border-radius: 50%;
  background: #f2f2f2;

  font-size: 18px;
  font-weight: bold;

  cursor: pointer;

  transition: .2s;
}

.popup-close:hover {
  background: #d32f2f;
  color: #fff;
}

/* Form items */
.div-popup.action-comp .form-item {
  margin-bottom: 15px;
}

/* Labels */
.div-popup.action-comp label {
  font-weight: 600;
  margin-bottom: 5px;
  display: inline-block;
}

/* Inputs */
.div-popup.action-comp input[type="text"],
.div-popup.action-comp input[type="date"],
.div-popup.action-comp input[type="number"],
.div-popup.action-comp select,
.div-popup.action-comp textarea {
  width: 100%;
  box-sizing: border-box;

  border: 1px solid #d8d8d8;
  border-radius: 6px;

  padding: 9px 12px;
  background: #fff;
}

/* Textarea */
.div-popup.action-comp textarea {
  resize: vertical;
  min-height: 90px;
}

/* Actions */
.div-popup.action-comp .actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Buttons */
.div-popup.action-comp input[type="submit"] {
  border: 0;
  padding: 10px 18px;

  border-radius: 6px;

  cursor: pointer;
  font-weight: 600;
}

/* Update / Complete */
.div-popup.action-comp input[name="tcsubmit"],
.div-popup.action-comp input[name="tcedit"] {
  background: #1565c0;
  color: #fff;
}

/* Cancel */
.div-popup.action-comp input[name="tccancel"] {
  background: #ececec;
  color: #222;
}

/* Mobile */
@media (max-width: 768px) {

  .div-popup.action-comp {
    width: 96%;
    padding: 15px;
    max-height: 95vh;
  }

  .div-popup.action-comp .actions {
    flex-direction: column;
  }

  .div-popup.action-comp input[type="submit"] {
    width: 100%;
  }
}

#ajax-delete-message,.messages--status{
  display: inline-block;
}

.session-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;

  width: 650px;
  max-width: 95%;

  background: #fff;
  border-radius: 12px;

  padding: 25px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);

  display: none;
}

.session-popup legend {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 0;
}

.session-popup .popup-close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 30px;
  height: 30px;

  line-height: 30px;
  text-align: center;

  border-radius: 50%;
  background: #f3f3f3;
  color: #444;

  cursor: pointer;
  font-weight: bold;
  font-size: 16px;

  transition: 0.2s;
}

.session-popup .popup-close:hover {
  background: #e74c3c;
  color: #fff;
}

.session-popup .form-item {
  margin-bottom: 15px;
}

.session-popup label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.session-popup input[type="text"],
.session-popup input[type="date"],
.session-popup select,
.session-popup textarea {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 10px 12px;

  font-size: 14px;
  background: #fff;
}

.session-popup textarea {
  min-height: 120px;
  resize: vertical;
}

.session-popup .actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.session-popup .actions input,
.session-popup .actions button {
  border: 0;
  border-radius: 8px;

  padding: 10px 20px;
  cursor: pointer;

  font-weight: 600;
}

.session-popup .actions input[type="submit"] {
  background: #198754;
  color: #fff;
}

.session-popup .actions input[type="submit"]:hover {
  background: #157347;
}

.session-popup .actions button {
  background: #f1f1f1;
  color: #333;
}

.session-popup .actions button:hover {
  background: #ddd;
}

/* overlay */
.session-popup::before {
  content: "";
  position: fixed;

  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  /*background: rgba(0,0,0,0.45);*/

  z-index: -1;
}

.enable-button,
input[type="submit"].enable-button,
button.enable-button {
    background: url("../images/enable.png") no-repeat center center transparent !important;
    background-size: 40px 40px !important;   
}

.delete-button,
input[type="submit"].delete-button,
button.delete-button{
    background: url("../images/deletee.png") no-repeat center center transparent !important;

    background-size: 15px 15px !important;  

    width: 40px !important;
    height: 40px !important;

    border: 0 !important;
    padding: 0 !important;

    color: transparent !important;
    box-shadow: none !important;
}

.delete-button,
.enable-button {
    display: inline-block;

    width: 40px;
    height: 40px;

    /*background-size: 24px 24px !important;*/
    background-position: center center !important;
    background-repeat: no-repeat !important;

    text-decoration: none;
}

/* Popup background */
#treatment-note {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 500px;
    max-width: 95%;

    background: #fff;
    z-index: 9999;

    padding: 25px;
    border-radius: 12px;

    box-shadow: 0 5px 30px rgba(0,0,0,0.25);

    display: none;
}

/* Popup title */
#treatment-note legend {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

 
/* Textarea */
#treatment-note textarea {
    width: 100%;
    min-height: 140px;

    border: 1px solid #dcdcdc;
    border-radius: 8px;

    padding: 12px;

    resize: vertical;

    font-size: 14px;
}

/* Buttons wrapper */
#treatment-note .actions {
    margin-top: 20px;

    display: flex;
    gap: 10px;
}

/* Save button */
#treatment-note input[type="submit"] {
    background: #148e9e;
    color: #fff;

    border: 0;
    border-radius: 6px;

    padding: 10px 20px;

    cursor: pointer;
}

/* Cancel button */
#treatment-note .treatment-note-close {
    background: #f1f1f1;
    color: #333;

    border: 0;
    border-radius: 6px;


    cursor: pointer;
}

/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.45);

    z-index: 9998;

    display: none;
}

#treatment-note .popup-close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 30px;
  height: 30px;

  line-height: 30px;
  text-align: center;

  border-radius: 50%;
  background: #f3f3f3;
  color: #444;

  cursor: pointer;
  font-weight: bold;
  font-size: 16px;

  transition: 0.2s;
}

#treatment-note .popup-close:hover {
  background: #e74c3c;
  color: #fff;
}

.payment-fields-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.payment-fields-row .form-item {
  margin: 0;
  min-width: 120px;
}

.payment-fields-row input,
.payment-fields-row select {
  width: 130px;
}

.payment-fields-row .form-submit {
  margin-bottom: 0;
  white-space: nowrap;
}

.amount-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-inline {
  margin-top: 25px;
  font-weight: bold;
}

.payment-fields-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-fields-row .form-item {
  margin: 0;
}

.amount-inline-currency .form-item {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.amount-inline-currency .field-suffix {
  white-space: nowrap;
  margin-bottom: 6px;
}

.path-cash-report caption {
    caption-side: top !important;
    text-align: center;
    font-weight: bold;
}

.medical-packages-filters,.horizontal-ruby {
    display: ruby;
}

.page-node-type-credit-allocation-management .form-type-textfield .js-text-full.required,.page-node-type-credit-allocation-management .js-form-type-vertical-tabs{
  display: none;
}

.legend {
    background-color: #60B989;
    padding: 0 15px;
    width: 80%;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #444;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: 0.2s;
}

.close:hover {
    background: #e74c3c;
    color: #fff;
}

.resizablee {
    display: flex;
    align-items: center;
}

.patient-appointment {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
    float: none !important;
}

.name-shortcut {
    flex-shrink: 0;
    margin: 0 4px;
}

.whatsapp{
  width: 25px;
}

/* The login page already contains its own Sign In form and action. */
.path-user-login .clinic-dashboard-topbar--anonymous {
  display: none;
}
