:root {
  --fund-btn-bg: #dcfce7;
  --fund-btn-color: #16a34a;
  --fund-btn-hover: #16a34a;
  --red: #721c24;
  --red-light: #f8d7da;
}

.alq_wallet_card {
  font-family: "Inter", sans-serif;
  background-color: #e8feee; /* exact soft green background */
  border-radius: 10px;
  padding: 15px;
  max-width: 100%;
}

.alq_wallet_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alq_wallet_icon {
  font-size: 14px;
  color: var(--fund-btn-color);
}

.alq_wallet_title {
  color: var(--heading);
  font-weight: 400;
  font-size: 12px;
}

.alq_wallet_actions {
  display: flex;
  gap: 8px;
}

.alq_wallet_action {
  font-size: 12px;
  color: var(--fund-btn-color) !important;
  background: var(--fund-btn-bg);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border-radius: 50px;
}

.alq_wallet_action:hover {
  text-decoration: underline;
}

.alq_wallet_balance {
  margin-top: 12px;
}

.alq_wallet_amount {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  display: block;
}

.alq_wallet_text {
  font-size: 13px;
  color: #444;
}

.alq_wallet_footer {
  margin-top: 12px;
}

.alq_wallet_movements {
  font-size: 13px;
  color: #2a9d55;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.alq_wallet_movements:hover {
  text-decoration: underline;
}

/* Overlay */
.alq_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "Inter", sans-serif;
}

/* Modal */
.alq_modal {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 360px;
  max-width: 95%;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close button */
.alq_modal_close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--label) !important;
  padding: 0;
  box-shadow: none !important;
}

.alq_modal_close:hover {
  background: transparent !important;
  color: var(--label) !important;
}

/* Titles */
.alq_modal_title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.alq_label {
  font-weight: 500;
  margin: 10px 0 5px;
  display: block;
  color: #333;
}

.alq_input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 5px;
}

.alq_input:focus {
  outline: none;
  border-color: #2a9d55;
  box-shadow: 0 0 0 2px rgba(42, 157, 85, 0.2);
}

.alq_input_hint {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

/* Payment methods */
.alq_methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alq_method {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.alq_method:hover {
  border-color: #2a9d55;
}

.alq_method input[type="radio"] {
  accent-color: #2a9d55;
}

.alq_method_label {
  flex-grow: 1;
  font-size: 14px;
  color: #222;
}

/* Submit button */
.alq_topup_button {
  margin-top: 15px;
  width: 100%;
  background: #2a9d55;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.alq_topup_button:hover {
  background: #238b47;
}

input#alq-topup-amount {
  font-size: 16px;
  font-family: "Inter";
  line-height: 1.5;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}

h3.alq_modal_title {
  font-size: 18px;
  margin: 0 0 20px 0;
  line-height: 1.5;
  color: var(--heading);
}

h4.alq_label {
  font-size: 16px;
  margin: 0 0 10px;
  line-height: 1.5;
  font-weight: 400;
}

.alq-reviews-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Overlay */
#alq_withdrawal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}

/* Modal */
#alq_withdrawal_modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  width: 380px;
  max-width: 90%;
  z-index: 9999;
  display: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  animation: withDrawal 0.4s ease;
}

@keyframes withDrawal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Header */
.alq_withdrawal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.alq_withdrawal_header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  font-family: "Inter";
}

.alq_withdrawal_close {
  cursor: pointer;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

/* Body */
.alq_withdrawal_body {
  padding: 16px;
}

.alq_withdrawal_body label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: "INTER";
  font-size: 14px;
}

.alq_withdrawal_method {
  padding: 16px;
  border-radius: 16px;
}

#alq_withdrawal_amount {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  margin-bottom: 5px;
}

.alq_withdrawal_body small {
  display: block;
  margin-bottom: 15px;
  font-size: 12px;
  color: #777;
}

/* Payment Methods */
.alq_withdrawal_methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alq_withdrawal_method {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  cursor: pointer;
}

.alq_withdrawal_method input {
  margin-right: 10px;
  accent-color: var(--fund-btn-color);
}

.alq_withdrawal_method:hover {
  border-color: var(--fund-btn-color);
}

/* Footer */
.alq_withdrawal_footer {
  padding: 16px;
  border-top: 1px solid #eee;
}

#alq_withdrawal_submit {
  width: 100%;
  background: var(--fund-btn-color);
  border: none;
  padding: 12px;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter";
}

#alq_withdrawal_submit:hover {
  background: var(--fund-btn-hover);
}

.alq_withdrawal_body * {
  font-family: "Inter";
}

/* Overlay */
#alq_withdrawal_history_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}

/* Modal */
#alq_withdrawal_history_modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  width: 420px;
  max-width: 95%;
  z-index: 9999;
  display: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  max-height: 80vh;
  overflow-y: auto;
}

/* Header */
.alq_withdrawal_history_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.alq_withdrawal_history_header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.alq_withdrawal_history_close {
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

/* Body */
.alq_withdrawal_history_body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Individual Record */
.alq_withdrawal_history_item {
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 8px;
  background: #fafafa;
}

.alq_withdrawal_history_item strong {
  color: #333;
  display: inline-block;
  width: 90px;
}

.alq_withdrawal_history_item div {
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.alq_withdrawal_history_item:last-child div {
  margin-bottom: 0;
}

/* Status colors */
.alq_withdrawal_history_item div:has(strong:contains("Estado:")) {
  font-weight: bold;
}

.alq_withdrawal_history_item div:contains("Pagado") {
  color: green;
}

.alq_withdrawal_history_item div:contains("Pendiente") {
  color: #d97706;
}

div#alq_withdrawal_history_modal * {
  font-family: "Inter";
}

span.alq_withdrawal_status {
  font-size: 12px;
  background: #d9d9d9;
  padding: 3px 7px;
  border-radius: 5px;
}

span.alq_withdrawal_status.alq_withdrawal_status_pending {
  color: var(--yellow);
  background: var(--yellow-light);
}

span.alq_withdrawal_status.alq_withdrawal_status_paid {
  color: var(--green);
  background: var(--green-light);
}

span.alq_withdrawal_status.alq_withdrawal_status_rejected {
  color: var(--red);
  background: var(--red-light);
}

.alq_activities {
  margin-top: 20px;
}

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

.alq_filter_notification_type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--heading);
  font-family: "Inter";
  font-weight: 400;
  line-height: 1.5;
  max-width: 30%;
}

.alq_filter_notification_type > p {
  margin-bottom: 0 !important;
}

.alq-chip-filter span {
  font-size: 14px;
  color: var(--heading);
  line-height: 1.5;
  font-family: "Inter";
  padding: 6px 12px;
  border-radius: 50px;
  background: #eee;
  display: block;
  font-weight: 400;
  cursor: pointer;
}

.alq-chip-filter input {
  display: none !important;
}

.alq-chip-filter input:checked + span {
  background: var(--orange);
  color: white;
}

.alq_notif_header_right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.alq_notif_header_right button {
  white-space: nowrap;
}

.alq_notif_search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 0 0 0 10px;
  overflow: hidden;
}

.alq_notif_search i {
  color: var(--dark-grey);
}

input#alq_notif_search {
  font-size: 16px;
  line-height: 1.5;
  font-family: "Inter";
  color: var(--label);
  font-weight: 400;
  border: none;
  outline: none !important;
  box-shadow: none;
  padding-left: 0 !important;
}

input#alq_notif_search:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

#alq-notifications-body .alq_single_activity {
  padding: 16px;
  border-color: #eeeeee;
  border-width: 1px;
  border-style: solid;
  margin: 0;
  border-top: 0px;
  transition: all 0.2s ease-in-out;
}

#alq-notifications-body .alq_single_activity.unread {
  background: #fff9f2;
  border-left-color: var(--orange);
  border-left-width: 3px;
}

#alq-notifications-body .alq_single_activity:hover {
  background: #f9fafb;
}

#alq-notifications-body .alq_activity_content {
  padding: 0 0 0 10px;
  border-radius: 16px;
  box-shadow: none;
  flex: 1;
}

#alq-notifications-body .alq_notification_title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#alq-notifications-body .alq_notification_title i {
  font-size: 9px;
  color: var(--orange);
}

span.alq_notification_date {
  font-size: 12px;
  font-weight: 400;
  color: var(--label);
  margin-left: auto;
}

#alq-notifications-body .alq_single_activity input[type="checkbox"],
#alq_select_all_notif {
  appearance: none; /* remove default styling */
  -webkit-appearance: none; /* for Safari */
  -moz-appearance: none; /* for Firefox */

  width: 20px;
  height: 20px;
  border: 1px solid #d9d9d9; /* custom border */
  border-radius: 5px; /* rounded corners */
  background-color: #fff; /* unchecked bg */
  cursor: pointer;
  position: relative;
}

#alq-notifications-body .alq_single_activity input[type="checkbox"]:checked,
#alq_select_all_notif:checked {
  background-color: var(--orange);
  border-color: var(--orange);
}

#alq-notifications-body
  .alq_single_activity
  input[type="checkbox"]:checked::after,
#alq_select_all_notif:checked::after {
  content: "✓"; /* checkmark symbol */
  color: #fff; /* white checkmark */
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.alq_notif_row_actions {
  gap: 5px;
  margin-top: 5px;
  justify-content: flex-end;
}

.alq_notif_row_actions i {
  color: var(--dark-grey);
  user-select: none;
  cursor: pointer;
  padding: 10px 10px;
}

.alq_notif_row_actions .remove_notif:hover {
  color: red;
}

.alq-notification-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}

.alq-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

a.alq-page {
  width: 30px;
  display: inline-block;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter";
  text-decoration: none !important;
  color: var(--label);
  border: 1px solid #eee;
  border-radius: 5px;
  user-select: none;
  cursor: pointer;
}

a.alq-page.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.alq_notification_body_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}

.alq_notification_body_top > h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--heading);
  font-family: "Inter";
  margin: 0;
  line-height: 1.3;
}

.alq_notification_body_top > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: "Inter";
  line-height: 1.3;
  color: var(--label);
}

.alq_notification_container {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alq-notification-header {
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

div#alq-notification-count {
  font-size: 14px;
  font-family: "Inter";
  line-height: 1.3;
  color: var(--dark-grey);
}

.alq_notification_settings {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.alq_notification_settings form {
  padding: 24px;
}

.alq_grid_review {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: black;
  line-height: 1.3;
}

.alq_grid_review i {
  color: #facc15;
  font-size: 17px;
}

@media (max-width: 1024px) {
  .alq-notification-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .alq_filter_notification_type {
    max-width: unset;
  }
}

@media (max-width: 767px) {
  .alq_notification_body_top {
    flex-wrap: wrap;
  }

  ul.alq_user_tab_titles {
    max-width: 100%;
    overflow-x: scroll;
  }

  li.alq_user_tab_title {
    font-size: 14px;
    white-space: nowrap;
  }

  .alq_single_activity {
    flex-direction: column;
  }

  .alq_activity_content {
    width: 100%;
  }

  .alq_notif_header_right {
    flex-wrap: wrap;
  }

  .alq_notif_search {
    width: 100%;
  }

  .alq_notif_header_right button {
    width: calc(50% - 5px);
  }

  #alq-notifications-body .alq_activity_content {
    padding: 0;
  }

  #alq-notifications-body .alq_single_activity input[type="checkbox"] {
    margin-left: auto;
    margin-bottom: -30px;
  }

  .alq_notification_settings form {
    padding: 16px;
  }
}

@media (max-width: 500px) {
  .alq_notif_header_right button {
    white-space: nowrap;
    width: 100%;
  }

  .alq-notification-footer {
    flex-direction: column;
  }
}
