/*

===================================================================
CLOUD ADMIN CSS FILE
===================================================================

*/
.uxc-cloud-box {
  margin: 30px auto !important;
}
.uxc-cloud-box .uxc-bottom {
  justify-content: flex-start;
  display: flex;
  align-items: center;
  padding-top: 50px;
}
.uxc-cloud-box .uxc-bottom div + div {
  margin-left: 15px;
}
.uxc-cloud-box .uxc-bottom .uxc-text {
  font-size: 15px;
  line-height: 25px;
}
.uxc-cloud-box #uxc-forgot-password {
  margin: 10px 0 0 0 !important;
  text-align: right;
  font-size: 13px;
}
.uxc-cloud-box #uxc-cancel-reset-password, .uxc-cloud-box #uxc-forgot-password {
  cursor: pointer;
}
.uxc-cloud-box #uxc-cancel-reset-password:hover, .uxc-cloud-box #uxc-forgot-password:hover {
  color: #ca3434;
  transition: all 0.4s;
}

#uxc-registration-box, #uxc-login-box {
  color: #a37a29;
  cursor: pointer;
  margin-left: 5px !important;
}

.disclaimer {
  text-align: center;
  max-width: 600px;
  display: block;
  margin: 0 auto 30px auto;
  font-size: 13px;
  line-height: 25px;
  font-family: "Uncheckout";
}
.disclaimer a {
  color: #a37a29;
  text-decoration: none;
}

.uxc-cloud-box:not(.active) {
  display: none !important;
}

.uxc-errors-area {
  color: #ca3434;
  margin: 30px 0 0 0;
  font-size: 15px;
  line-height: 25px;
}

input.uxc-error {
  border: 1px solid #ca3434;
  box-shadow: 0 0 5px rgba(202, 52, 52, 0.25);
}

#uxc-payment-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  max-width: 600px;
  margin-top: 10px;
}
#uxc-payment-box > a {
  color: #000;
  text-decoration: none;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
#uxc-payment-box > a:hover {
  border-color: #a37a29;
  color: #a37a29;
}

#uxc-table-payments {
  margin-top: 30px;
}
#uxc-table-payments img {
  width: 20px;
  display: block;
  margin: 0 0 0 auto;
  transition: all 0.3s;
}
#uxc-table-payments img:hover {
  opacity: 0.6;
}
#uxc-table-payments th:first-child, #uxc-table-payments td:first-child {
  width: auto;
  overflow: visible;
}
#uxc-table-payments th:last-child, #uxc-table-payments td:last-child {
  text-align: right;
}

.uxc-credits-box {
  border: 1px solid var(--uxc-border-color, #d4d4d4);
  background: none;
  border-radius: 0;
  text-align: center;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 15px;
}
/* Restore the top border on a credits-box that immediately follows a settings-style section title.
   The generic `.uxc-settings-title + div { border-top: none !important }` rule (css/admin.css, for the
   Settings page) otherwise strips it. This selector is more specific (0,2,0 > 0,1,1) so it wins. */
.uxc-settings-title + .uxc-credits-box { border-top: 1px solid var(--uxc-border-color, #d4d4d4) !important; }
.uxc-help-content {
  text-align: left;
}
.uxc-api-key-input .uxc-input-with-action {
  position: relative;
  padding-right: 0;
  max-width: none;
}
.uxc-api-key-input .uxc-input-actions {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
}
.uxc-api-key-input .uxc-input-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #969696;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uxc-api-key-input .uxc-input-actions button:hover {
  color: #a37a29;
}
@media (min-width: 769px) {
  /* API key input fills its row on desktop: label stays fixed-width, input area flexes to fill */
  .uxc-api-key-input span {
    flex-grow: 0;
  }
  .uxc-input-with-action {
    flex: 1;
  }
}
.uxc-credits-box a {
  text-decoration: none;
  font-size: 12px;
  padding-left: 5px;
  color: #969696;
}
.uxc-credits-box a:hover {
  color: #a37a29;
}

#uxc-checkout-embed-code div, #uxc-checkout-payment-link div {
  margin-top: 10px;
  max-width: calc(100% - 80px);
  height: 20px;
  white-space: nowrap;
  overflow-x: scroll;
  padding-right: 65px;
}
#uxc-checkout-embed-code div::-webkit-scrollbar, #uxc-checkout-payment-link div::-webkit-scrollbar {
  height: 5px;
}
#uxc-checkout-embed-code div::-webkit-scrollbar-track, #uxc-checkout-payment-link div::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#uxc-checkout-embed-code div::-webkit-scrollbar-thumb, #uxc-checkout-payment-link div::-webkit-scrollbar-thumb {
  background: #ced6db;
  border-radius: 0;
}
#uxc-checkout-embed-code div::-webkit-scrollbar-thumb:hover, #uxc-checkout-payment-link div::-webkit-scrollbar-thumb:hover {
  background: #A0A0A0;
}
[data-checkout-id] #uxc-checkout-embed-code, [data-checkout-id] #uxc-checkout-payment-link {
  display: block !important;
}

#reset-password {
  font-size: 14px;
}

#uxc-account-list {
  margin-top: 30px;
}
#uxc-account-list .uxc-input {
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 18px;
}
#uxc-account-list .uxc-input span {
  max-width: none;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 6px;
}
#uxc-account-list .uxc-input + .uxc-input {
  margin-top: 0;
  border-top: none;
}

/* UCASH Holdings section: stacked (label/description on top, wallet input + Verify button on their
   own row, status below) — matches the Account-page convention. Outside #uxc-account-list, so it
   needs its own column-direction override (base .uxc-input is a row). */
.uxc-input.uxc-ucash-holdings {
  flex-direction: column;
  align-items: stretch;
}
.uxc-input.uxc-ucash-holdings > span {
  width: 100%;
  max-width: none;
  margin-bottom: 6px;
}
.uxc-ucash-wallet-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.uxc-ucash-wallet-row > input {
  flex: 1;
}
.uxc-input.uxc-ucash-holdings #account-ucash-status {
  margin-top: 8px;
}

#account-api-key {
  cursor: text;
  width: 100%;
  box-sizing: border-box;
  padding-right: 72px;
}

#account-cloud-token {
  padding-right: 36px;
}

#api-keys, #openexchangerates-app-id, #update, #js-admin, #envato-purchase-code, #minify, #url-rewrite, #shop-envato-purchase-code, #api-key, #shop-envato-purchase-code {
  display: none !important;
}

#uxc-super-save-customer {
  margin-top: 30px;
}

.uxc-cloud-disabled {
  position: relative;
}
.uxc-cloud-disabled input, .uxc-cloud-disabled span, .uxc-cloud-disabled select, .uxc-cloud-disabled .uxc-setting-content p {
  opacity: 0.5;
}
.uxc-cloud-disabled input, .uxc-cloud-disabled select {
  transition: all 0.5s;
}
.uxc-cloud-disabled:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background-color: rgb(255, 255, 255);
  z-index: 9;
}
.uxc-cloud-disabled:after {
  content: attr(data-description);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  z-index: 11;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  opacity: 0;
  background-color: #ffffff;
  color: #000000;
}
.uxc-cloud-disabled[data-type=checkbox]:after {
  top: 10px;
}
.uxc-cloud-disabled[data-type=checkbox]:before {
  background-color: rgb(255, 255, 255);
}
.uxc-cloud-disabled:hover:before, .uxc-cloud-disabled:hover:after {
  opacity: 1;
}

.uxc-credit-disabled:after {
  content: "To access this feature, a minimum credit purchase of 50 USD is required.";
}

.uxc-domain-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  opacity: 0.7;
}

/*

# RESPONSIVE
==========================================================

*/
@media (max-width: 428px) {
  .uxc-cloud-box {
    border: none;
  }
  .uxc-cloud-box .uxc-bottom, .uxc-cloud-box .uxc-bottom > div {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }
  .uxc-cloud-box .uxc-bottom.uxc-btn, .uxc-cloud-box .uxc-bottom > div.uxc-btn {
    margin-bottom: 15px;
  }

  /* Super admin mobile layout */
  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg {
    display: block;
    width: 35px;
    height: 40px;
    line-height: 40px;
    border-radius: 0;
    text-align: center;
    padding: 8px;
    color: #000000;
    transition: color 0.4s;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg {
    color: #a37a29;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg {
    color: #ffffff;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg {
    color: #a37a29;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex {
    display: none;
    flex-direction: column;
    position: fixed;
    right: 10px;
    top: 60px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    text-align: center;
    z-index: 9999995;
    animation: uxc-fade-bottom;
    max-width: fit-content;
    border: 1px solid #888888;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > .uxc-flex {
    display: flex;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex {
    background: #000;
    color: #fff;
  }
}
/* Dark mode for cloud disabled tooltip */
html.uxc-dark-mode .uxc-cloud-disabled:after,
body.uxc-dark-mode .uxc-cloud-disabled:after {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Dark mode for cloud disabled overlay */
html.uxc-dark-mode .uxc-cloud-disabled:before,
body.uxc-dark-mode .uxc-cloud-disabled:before {
  background-color: #000000 !important;
}

html.uxc-dark-mode .uxc-cloud-disabled[data-type=checkbox]:before,
body.uxc-dark-mode .uxc-cloud-disabled[data-type=checkbox]:before {
  background-color: #000000 !important;
}

/* Force single column layout for super admin grid on all screen sizes */
.uxc-main.uxc-admin .uxc-grid {
  grid-template-columns: 1fr !important;
}

/* Super admin sidebar bottom layout */
.uxc-sidebar > .uxc-bottom {
  display: flex;
  flex-direction: column;
}

/* Desktop: Show flex controls inline, hide mobile menu icon */
@media (min-width: 769px) {
  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg {
    display: none;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: static;
    background: transparent;
    box-shadow: none;
    animation: none;
    max-width: none;
    border: none;
  }
}

/* Mobile: Show mobile menu icon, hide inline flex controls */
@media (max-width: 768px) {
  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg {
    display: block !important;
    cursor: pointer;
    pointer-events: auto;
    width: 35px;
    height: 40px;
    line-height: 40px;
    padding: 8px;
    color: #000000;
    transition: color 0.4s;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg {
    color: #a37a29;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > svg {
    color: #ffffff;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > svg {
    color: #a37a29;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex {
    display: none;
    flex-direction: column;
    position: fixed;
    right: 10px;
    top: 60px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    text-align: center;
    z-index: 9999995;
    animation: uxc-fade-bottom;
    max-width: fit-content;
    border: 1px solid #888888;
  }

  .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu.uxc-active > .uxc-flex {
    display: flex;
  }

  html.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex,
  body.uxc-dark-mode .uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex {
    background: #000;
    color: #fff;
  }
}

.uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex .uxc-link {
  cursor: pointer;
  color: inherit;
}

.uxc-sidebar > .uxc-bottom > .uxc-mobile-menu > .uxc-flex #uxc-version {
  font-size: 12px;
  opacity: 0.7;
}

/* Fee Structure Editor */
.uxc-input[data-type="fee_structure"] {
  display: block;
}

.uxc-input[data-type="fee_structure"] > .uxc-setting-content {
  display: block;
  margin-bottom: 10px;
}

.uxc-input[data-type="fee_structure"] > .uxc-setting-input {
  display: block;
}

#uxc-fee-tiers-container {
  overflow-x: auto;
  max-width: 100%;
}

.uxc-fee-tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 4px;
  min-width: 0;
}

html.uxc-dark-mode .uxc-fee-tier,
body.uxc-dark-mode .uxc-fee-tier {
  background: #2a2a2a;
}

.uxc-fee-tier label {
  font-size: 11px;
  color: #666;
  margin-bottom: 3px;
  display: block;
}

html.uxc-dark-mode .uxc-fee-tier label,
body.uxc-dark-mode .uxc-fee-tier label {
  color: #aaa;
}

.uxc-fee-tier input {
  width: 50%;
  min-width: 80px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
}

html.uxc-dark-mode .uxc-fee-tier input,
body.uxc-dark-mode .uxc-fee-tier input {
  background: #1a1a1a;
  border-color: #444;
  color: #fff;
}

.uxc-fee-tier-remove {
  display: flex;
  align-items: flex-end;
}

.uxc-fee-tier-remove .uxc-btn {
  padding: 5px 10px;
  font-size: 12px;
  margin-top: auto;
  height: auto;
}

/* Hide save settings button by default in sidebar */
#uxc-save-cloud-settings {
  display: none;
}

/* Show save settings button only when settings area is active */
.uxc-main:has([data-area="settings"].uxc-active) .uxc-sidebar #uxc-save-cloud-settings {
  display: block;
  animation: uxc-fade-bottom .5s;
}

/*# sourceMappingURL=admin.css.map */
