#custom-auth-modal {
  --ca-primary: #af8c53;
  --ca-dark: #2c2c2c;
  --ca-body-text: #555555;
  --ca-light-gray: #f9f9f9;
  --ca-border: #e8e8e8;
  --ca-background: #ffffff;
  --ca-success-bg: #f0f8f5;
  --ca-success-text: #2a7f62;
  --ca-error-bg: #fff0f0;
  --ca-error-text: #c0392b;
  --ca-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --ca-radius: 8px;
}

body.modal-open {
  overflow: hidden;
}
#custom-auth-open-modal {
  font-weight: 500;
  color: #fff;
  background-color: transparent;
  border: none;
  padding: 0;
}
#custom-auth-open-modal:hover {
  color: #000;
}
#custom-auth-modal.custom-auth-modal-overlay {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background-color: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#custom-auth-modal.custom-auth-modal-overlay.visible {
  opacity: 1;
}

#custom-auth-modal .custom-auth-modal-content {
  background-color: var(--ca-background);
  width: 100%;
  max-width: 450px;
  border-radius: var(--ca-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#custom-auth-modal.visible .custom-auth-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

#custom-auth-modal .custom-auth-close-button {
  color: #888;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--ca-light-gray);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
  z-index: 10;
}

#custom-auth-modal .custom-auth-close-button:hover {
  background-color: #e0e0e0;
  transform: rotate(90deg);
}

#custom-auth-modal .custom-auth-tabs {
  display: flex;
  padding: 1rem 1rem 0 1rem;
  border-bottom: 1px solid var(--ca-border);
  flex-shrink: 0;
}

#custom-auth-modal .custom-auth-tabs .tab-link {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  cursor: pointer;
  padding: 0 0 1rem 0;
  margin: 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--ca-font);
  color: var(--ca-body-text);
  transition:
    color 0.3s,
    border-color 0.3s;
  text-align: center;
}

#custom-auth-modal .custom-auth-tabs .tab-link.active {
  color: var(--ca-dark);
  border-bottom-color: var(--ca-primary);
}

#custom-auth-modal .tab-content-wrapper {
  padding: 1.5rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#custom-auth-modal .tab-content {
  display: none !important;
}

#custom-auth-modal .tab-content.active {
  display: block !important;
  animation: ca-fadeIn 0.5s ease-in-out;
}

#custom-auth-modal .custom-auth-form .form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ca-dark);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

#custom-auth-modal .custom-auth-form .form-subtitle {
  font-size: 0.9rem;
  color: var(--ca-body-text);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

#custom-auth-modal .form-row {
  margin-bottom: 1rem;
}

#custom-auth-modal .form-row-flex {
  display: flex;
  flex-direction: row !important;
  flex-direction: column;
  gap: 1rem;
}

#custom-auth-modal .input-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ca-dark);
  display: block;
  margin-bottom: 0.5rem;
}

#custom-auth-modal .input-group input,
#custom-auth-modal .custom-select-container .custom-select-trigger {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ca-border);
  border-radius: var(--ca-radius);
  box-sizing: border-box;
  background-color: var(--ca-light-gray);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-size: 0.95rem;
  font-family: var(--ca-font);
  color: var(--ca-dark);
}

#custom-auth-modal .input-group input:focus,
#custom-auth-modal .custom-select-container .custom-select-trigger:focus {
  outline: none;
  border-color: var(--ca-primary);
  background-color: var(--ca-background);
  box-shadow: 0 0 0 3px rgba(175, 140, 83, 0.2);
}

#custom-auth-modal .custom-select-container {
  position: relative;
}

#custom-auth-modal .custom-select-container select {
  display: none;
}

#custom-auth-modal .custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#custom-auth-modal .custom-select-trigger::after {
  content: "";
  width: 0.8em;
  height: 0.8em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}

#custom-auth-modal .custom-select-container.open .custom-select-trigger::after {
  transform: rotate(180deg);
}

#custom-auth-modal .custom-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--ca-background);
  border: 1px solid var(--ca-border);
  border-radius: var(--ca-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

#custom-auth-modal .custom-select-container.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#custom-auth-modal .custom-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.95rem;
}

#custom-auth-modal .custom-option:hover {
  background-color: var(--ca-light-gray);
}

#custom-auth-modal .custom-option.selected {
  background-color: var(--ca-primary);
  color: white;
  font-weight: 600;
}

#custom-auth-modal .auth-message {
  background-color: var(--ca-error-bg);
  color: var(--ca-error-text);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--ca-radius);
  display: none;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--ca-error-text);
  font-size: 0.9rem;
}
#custom-auth-modal .auth-message.success {
  background-color: var(--ca-success-bg);
  color: var(--ca-success-text);
  border-color: var(--ca-success-text);
}

#custom-auth-modal .form-submit-button {
  background-color: var(--ca-dark);
  color: white;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--ca-radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
  transition:
    background-color 0.3s,
    transform 0.2s,
    box-shadow 0.3s;
  margin-top: 1rem;
}

#custom-auth-modal .form-submit-button:hover:not(:disabled) {
  background-color: var(--ca-primary);
  box-shadow: 0 8px 20px rgba(175, 140, 83, 0.25);
  transform: translateY(-3px);
}

#custom-auth-modal .form-footer-link {
  text-align: center;
  margin-top: 1.5rem;
}

#custom-auth-modal .form-footer-link a {
  color: var(--ca-body-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

#custom-auth-modal .form-footer-link a:hover {
  color: var(--ca-primary);
  text-decoration: underline;
}

#custom-auth-modal .password-wrapper {
  position: relative;
}

#custom-auth-modal .password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3e%3c/path%3e%3ccircle cx='12' cy='12' r='3'%3e%3c/circle%3e%3c/svg%3e");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s;
}

#custom-auth-modal .password-toggle-icon:hover {
  opacity: 1;
}

#custom-auth-modal .password-toggle-icon.visible {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3e%3c/path%3e%3cline x1='1' y1='1' x2='23' y2='23'%3e%3c/line%3e%3c/svg%3e");
}

#custom-auth-modal .password-wrapper input {
  padding-right: 2.5rem !important;
}

.custom-auth-icon-button {
  padding: 8px !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  color: #fff;
}
.custom-auth-icon-button:hover {
  color: #000;
}

/* FIX: Hide native browser password reveal icons */
.custom-auth-form input[type="password"]::-ms-reveal,
.custom-auth-form input[type="password"]::-webkit-password-reveal-button {
  display: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* =============================================================================
   NEW: Password Reset Page Styles
============================================================================= */
.custom-auth-reset-page-wrapper {
  --ca-primary: #af8c53;
  --ca-dark: #2c2c2c;
  --ca-body-text: #555555;
  --ca-light-gray: #f9f9f9;
  --ca-border: #e8e8e8;
  --ca-background: #ffffff;
  --ca-success-bg: #f0f8f5;
  --ca-success-text: #2a7f62;
  --ca-error-bg: #fff0f0;
  --ca-error-text: #c0392b;
  --ca-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --ca-radius: 8px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 70vh;
  padding: 2rem 1rem;
  background-color: #f7f9fc;
  font-family: var(--ca-font);
}

.custom-auth-reset-page-wrapper .custom-auth-reset-page-content {
  width: 100% !important;
  max-width: 450px !important;
  background: var(--ca-background) !important;
  padding: 2rem 1.5rem !important;
  border-radius: var(--ca-radius) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form {
  padding: 0 !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .form-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--ca-dark) !important;
  margin: 0 0 0.5rem 0 !important;
  text-align: center !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .form-subtitle {
  font-size: 0.9rem !important;
  color: var(--ca-body-text) !important;
  margin: 0 0 1.5rem 0 !important;
  text-align: center !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .form-row {
  margin-bottom: 1rem !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .input-label {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--ca-dark) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form input[type="password"] {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--ca-border) !important;
  border-radius: var(--ca-radius) !important;
  box-sizing: border-box !important;
  background-color: var(--ca-light-gray) !important;
  transition:
    border-color 0.3s,
    box-shadow 0.3s !important;
  font-size: 0.95rem !important;
  font-family: var(--ca-font) !important;
  color: var(--ca-dark) !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form input[type="password"]:focus {
  outline: none !important;
  border-color: var(--ca-primary) !important;
  background-color: var(--ca-background) !important;
  box-shadow: 0 0 0 3px rgba(175, 140, 83, 0.2) !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .form-submit-button {
  background-color: var(--ca-dark) !important;
  color: white !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  border-radius: var(--ca-radius) !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  width: 100% !important;
  transition:
    background-color 0.3s,
    transform 0.2s,
    box-shadow 0.3s !important;
  margin-top: 1rem !important;
}

.custom-auth-reset-page-wrapper
  .custom-auth-form
  .form-submit-button:hover:not(:disabled) {
  background-color: var(--ca-primary) !important;
  box-shadow: 0 8px 20px rgba(175, 140, 83, 0.25) !important;
  transform: translateY(-3px) !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .auth-message {
  padding: 0.8rem 1rem !important;
  margin-bottom: 1rem !important;
  border-radius: var(--ca-radius) !important;
  font-weight: 500 !important;
  text-align: center !important;
  border: 1px solid transparent !important;
  font-size: 0.9rem !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .auth-message.error {
  background-color: var(--ca-error-bg) !important;
  color: var(--ca-error-text) !important;
  border-color: var(--ca-error-text) !important;
}

.custom-auth-reset-page-wrapper .custom-auth-form .auth-message.success {
  background-color: var(--ca-success-bg) !important;
  color: var(--ca-success-text) !important;
  border-color: var(--ca-success-text) !important;
}

.custom-auth-reset-page-wrapper .password-wrapper {
  position: relative;
}
.custom-auth-reset-page-wrapper .password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3e%3c/path%3e%3ccircle cx='12' cy='12' r='3'%3e%3c/circle%3e%3c/svg%3e");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.custom-auth-reset-page-wrapper .password-toggle-icon:hover {
  opacity: 1;
}
.custom-auth-reset-page-wrapper .password-toggle-icon.visible {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3e%3c/path%3e%3cline x1='1' y1='1' x2='23' y2='23'%3e%3c/line%3e%3c/svg%3e");
}
.custom-auth-reset-page-wrapper .password-wrapper input {
  padding-right: 2.5rem !important;
}

@media (min-width: 500px) {
  .custom-auth-form .form-title {
    font-size: 1.5rem;
  }
  .custom-auth-form .form-subtitle {
    font-size: 0.95rem;
  }
  .custom-auth-form .input-label {
    font-size: 0.875rem;
  }
  .custom-auth-form .input-group input,
  .custom-auth-form .custom-select-container .custom-select-trigger {
    font-size: 1rem;
  }
  .custom-auth-reset-page-wrapper .custom-auth-reset-page-content {
    padding: 2.5rem !important;
  }
}

/* =============================================================================
   NEW: Custom My Account Page Styles v3 (Refined)
============================================================================= */
.custom-my-account-wrapper {
  --ca-primary: #af8c53;
  --ca-dark: #2c2c2c;
  --ca-body-text: #555555;
  --ca-light-gray: #f9f9f9;
  --ca-border: #e8e8e8;
  --ca-background: #ffffff;
  --ca-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --ca-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--ca-font);
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.custom-my-account-wrapper .my-account-navigation {
  flex-shrink: 0;
  width: 100%;
  background: var(--ca-background);
  border: 1px solid var(--ca-border);
  border-radius: var(--ca-radius);
  padding: 1.5rem;
}

.custom-my-account-wrapper .account-user-info {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ca-border);
  margin-bottom: 1rem;
  text-align: center;
}

.custom-my-account-wrapper .account-user-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ca-dark);
  text-align: start;
  padding: 0 1.2rem;
}

.custom-my-account-wrapper .my-account-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-my-account-wrapper .my-account-navigation li a {
  display: block;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  color: var(--ca-body-text);
  font-weight: 500;
  border-radius: 6px;
  transition:
    background-color 0.2s,
    color 0.2s;
  font-size: 0.95rem;
}

.custom-my-account-wrapper .my-account-navigation li a:hover {
  background-color: rgb(85 85 85 / 20%);
  color: var(--ca-dark);
}

.custom-my-account-wrapper .my-account-navigation li.is-active a {
  background-color: var(--ca-primary);
  color: white;
}

.custom-my-account-wrapper .my-account-content {
  flex-grow: 1;
  width: 100%;
  background: var(--ca-background);
  border: 1px solid var(--ca-border);
  border-radius: var(--ca-radius);
  padding: 1.5rem;
}

.custom-my-account-wrapper .my-account-tab-content {
  display: none;
}
.custom-my-account-wrapper .my-account-tab-content.is-active {
  display: block;
  animation: ca-fadeIn 0.5s ease-in-out;
}

.custom-my-account-wrapper .my-account-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ca-dark);
  margin-top: 0;
  margin-bottom: 2rem;
}

.custom-my-account-wrapper .my-account-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ca-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ca-border);
}
.custom-my-account-wrapper .my-account-content h4:first-of-type {
  margin-top: 0;
}

.custom-my-account-wrapper .custom-auth-form {
  padding: 0;
}
.custom-my-account-wrapper .custom-auth-form .form-row {
  margin-bottom: 1.5rem;
}
.custom-my-account-wrapper .custom-auth-form .input-label {
  margin-bottom: 0.6rem;
}

.custom-my-account-wrapper .custom-auth-form .form-submit-button {
  background-color: var(--ca-dark) !important;
  color: white !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  border-radius: var(--ca-radius) !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  width: auto !important;
  min-width: 200px !important;
  transition:
    background-color 0.3s,
    transform 0.2s,
    box-shadow 0.3s !important;
  margin-top: 2rem !important;
}

.custom-my-account-wrapper
  .custom-auth-form
  .form-submit-button:hover:not(:disabled) {
  background-color: var(--ca-primary) !important;
  box-shadow: 0 8px 20px rgba(175, 140, 83, 0.25) !important;
  transform: translateY(-3px) !important;
}

.custom-my-account-wrapper .address-column {
  flex: 1;
  min-width: 250px;
}
.custom-my-account-wrapper .woocommerce-notices-wrapper {
  margin-bottom: 2rem;
}
.custom-my-account-wrapper .woocommerce-message,
.custom-my-account-wrapper .woocommerce-error {
  border-top-color: var(--ca-primary) !important;
  background-color: var(--ca-light-gray) !important;
}

/* =============================================================================
   NEW: Custom My Account Page Styles v4 (Delete Account)
============================================================================= */

.custom-my-account-wrapper .my-account-navigation li.delete-account-tab a {
  color: #c0392b;
}

.custom-my-account-wrapper
  .my-account-navigation
  li.delete-account-tab
  a:hover {
  background-color: var(--ca-error-bg);
  color: #c0392b;
}

.custom-my-account-wrapper
  .my-account-navigation
  li.delete-account-tab.is-active
  a {
  background-color: #c0392b;
  color: white;
}

.custom-my-account-wrapper .account-delete-warning {
  background-color: var(--ca-error-bg);
  border-left: 4px solid #c0392b;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.custom-my-account-wrapper .account-delete-warning p {
  margin: 0;
  color: #c0392b;
  font-size: 0.95rem;
}

.custom-my-account-wrapper .custom-auth-form .form-submit-button.delete-button {
  background-color: #c0392b !important;
  white-space: normal;
}

.custom-my-account-wrapper
  .custom-auth-form
  .form-submit-button.delete-button:hover:not(:disabled) {
  background-color: #a31818 !important; /* A darker red */
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.25) !important;
}

/* Move reCAPTCHA v3 badge to the left */

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

@media (min-width: 768px) {
  .custom-my-account-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .custom-my-account-wrapper .my-account-navigation {
    width: 280px;
  }
  .custom-my-account-wrapper .my-account-content {
    padding: 2rem 2.5rem;
  }
  .custom-my-account-wrapper .my-account-content h3 {
    font-size: 2rem;
  }
}
@media (max-width: 1025px) {
  .custom-auth-icon-button {
    position: relative;
    padding: 0 !important;
    display: block;
    width: 100%;
    text-align: start;
    align-content: center;
  }
  .custom-auth-icon-button svg {
    display: none;
  }
  .custom-auth-icon-button:after {
    content: "ჩემი ანგარიში";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    white-space: nowrap;
    transition: left 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
  }
  #custom-auth-modal .custom-auth-tabs {
    padding-top: 4rem;
  }
  .custom-my-account-wrapper
    .custom-auth-form
    .form-submit-button.delete-button {
    font-size: 0.75rem !important;
  }
}
