/* account setting popup */
.absd-account-settings-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #1F2A30A3;
    backdrop-filter: blur(4px);
}

.absd-account-settings-overlay.active {
  display: flex;
}
.absd-account-settings-popup {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 0;
	height: 528px;
	max-height: calc(100vh - 40px);
	box-sizing: border-box;
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
	 overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
button.absd-address-edit,
button.absd-payment-edit-btn {
    border: 1px solid #1F2A30;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.22;
    cursor: pointer;
    letter-spacing: 0%;
    text-align: center;
}
.absd-address-line,
.absd-address-location {
	display:inline;
}
/* payment */
.absd-payment-content {
    width: 100%;
/*     padding-top: 24px; */
}
.absd-payment-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}
.absd-payment-card {
    width: 100%;
    min-height: 126px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
/* 	flex-wrap:wrap; */
	gap:15px;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #d8dde0;
    border-radius: 16px;
}
.absd-payment-card-info {
    display: flex;
/*     align-items: center; */
    gap: 12px;
}
.absd-payment-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.absd-payment-card-number {
    color: #2B2B2B;
    font-size: 15px;
    font-weight: 600;
    font-family: "Manrope";
}
.absd-payment-card-name {
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 500;
}
.absd-account-settings-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}
.absd-password-toggle img{
	width: 100%;
    height: 100%;
    object-fit: contain;
	display:inline-block;
}
.absd-password-toggle img.passoword-show ,
.absd-password-toggle.active  img.passoword-close{
    display: none;
}
.absd-password-toggle.active img.passoword-show {
    display: block;
}
.absd-password-forgot button.absd-show-forgot {
    background: transparent;
    border: 0px;
    color: #1BB3A9;
    font-size:14px;
    font-weight: 500;
	
}
.absd-account-settings-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    width: 100%;
}
.absd-account-settings-sidebar {
    padding-right: 24px;
    border-right: 1px solid #E6E9EB
}
.absd-settings-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px 12px 16px;
    border: 0;
    border-radius: 20px;
    justify-content: flex-start;
    background: transparent;
    font-weight: 600;
    line-height: 100%;
    text-align: left;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 15px);
    color: #222;
    cursor: pointer;
/*     transition: all 0.2s ease; */
}

.absd-settings-menu-item span:first-child {
  width: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0px;
}
.absd-settings-menu-item span img {
	width:100%;
	height:100%;
	object-fit:contain;
	display:inline-block;
}
.absd-settings-menu-item.active span img {
	filter: brightness(0.5) invert(1);
}

.absd-settings-menu-item.active {
  background: #202d34;
  color: #ffffff;
}
.absd-settings-menu-item[data-settings-section="notifications"],
.absd-settings-menu-item[data-settings-section="preferences"] {
  display: none !important;
}

.absd-account-settings-content {
    padding-left: 24px;
    display: flex;
/*     flex-direction: column; */
    overflow: hidden;
    height: 100%;
    min-height: 0;
}

.absd-settings-section h2 {
    margin: 0;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.536), 20px);
    font-weight: 600;
    color: #2B2B2B;
    line-height: 100%;
}
.absd-settings-divider {
  width: 100%;
  height: 1px;
  margin: 16px 0;
  background: #E6E9EB;
}

.absd-settings-section {
  display: none;
}

.absd-settings-section.active {
    display: block;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    max-height: 70vh;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    padding-right: 10px;
    flex: 1 1 0;
}
.absd-settings-header {
    background: #fff;
    position: sticky;
    top: 0;
	z-index: 2;
    flex: 0 0 auto;

}
/* Chrome / Edge / Safari */
/* .absd-account-settings-inner::-webkit-scrollbar {
  width: 6px;
}

.absd-account-settings-inner::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.absd-account-settings-inner::-webkit-scrollbar-thumb {
  background: #2b2b2b;
  border-radius: 10px;
}

.absd-account-settings-inner::-webkit-scrollbar-thumb:hover {
  background: #1f1f1f;
} */
.absd-password-field label {
    font-weight: 500;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    line-height: 100%;
    letter-spacing: 0%;
    color: #2B2B2B;
    margin-bottom: 12px;
    display: inline-block;
}
.absd-settings-placeholder h3,
.absd-settings-placeholder label {
margin: 0 0 8px;
    font-size: clamp(13px, calc(12px + 0.25vw), 15px);
    font-weight: 600;
    color: #2b2b2b;
    line-height: 100%;
    letter-spacing: 0px;
}

.absd-settings-placeholder p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #808080;
}
.absd-support-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.absd-support-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.absd-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #1f2a30;
    border-radius: 25px;
    color: #1f2a30;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}
.absd-support-btn:hover {
  text-decoration: none;
}
.absd-support-hours {
  align-items: flex-start;
}
.absd-add-address-btn,
.absd-payment-add-card {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid #1F2A30;
    border-radius: 20px;
    background: #fff;
    color: #1F2A30;
    font-size: clamp(13px, calc(12px + 0.25vw), 16px);
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}
.absd-address-card-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
 .absd-address-icon {
	width: 40px;
	height: 40px;
	background: #F4F6F7;
	border-radius: 5px;
	display: flex;
    align-items: center;
	justify-content:center;
}
 .absd-address-icon img {
	max-width:100%;
	height:auto;
	display:inline-block;
	object-fit:contain;
}
.absd-address-info {
    flex: 1;
}
.absd-address-info strong {
    font-weight: 600;
    font-size: clamp(13.8px, calc(12px + 0.25vw), 15px);
    line-height: 100%;
    letter-spacing: 0%;
	margin-bottom:6px;
    color: #2B2B2B;
}
.absd-address-info p {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0%;
    color: #2B2B2B;
    margin: 0;
}
.absd-add-address-btn span {
  font-size: 18px;
  line-height: 1;
}
.absd-address-card {
    width: 100%;
    margin-top: 16px;
    padding: 15px;
    border: 1px solid #E6E9EB;
    border-radius: 12px;
    box-sizing: border-box;
}
.absd-address-actions {
  display: flex;
  gap: 10px;
	margin-top:12px;
  justify-content: flex-end;
}
/* address css */
/* =========================
   ADD ADDRESS FORM
========================= */

.absd-add-address-form {
  margin-top: 15px;
}

.absd-add-address-form h3 {
    margin: 0 0 20px;
    color: #2B2B2B;
    font-weight: 600;
    line-height: normal;
    font-size: clamp(13px, calc(12px + 0.25vw), 17px);
}
.absd-address-form-field label {
    color: #2B2B2B;
    font-weight: 500;
    line-height: normal;
    font-size: clamp(13px, calc(12px + 0.25vw), 15px);
    margin-bottom: 11px;
    display: inline-block;
    line-height: 1;
}
.absd-address-form-row {
  display: flex;
  gap: 10px;
}

.absd-address-form-field {
  width: 100%;
  margin-bottom: 12px;
}

.absd-address-form-field input {
    width: 100%;
    height: 45px;
    padding: 14px 20px;
    border: 1px solid #e6e9eb;
    border-radius: 25px;
    background: #ffffff;
    font-family: Manrope;
    font-weight: 500;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 15px);
    line-height: 100%;
    letter-spacing: 0%;
    box-sizing: border-box;
}
.absd-address-form-field input:focus {
  outline: none;
  border-color: #2b2b2b;
}
/* change password */
/* =========================================
   CHANGE PASSWORD
========================================= */

.absd-change-password-form {
  width: 100%;
}

.absd-password-field {
  margin-bottom: 14px;
}

/* .absd-password-field label {
    display: block;
    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 500;

    color: #252525;
} */

.absd-password-input {
  position: relative;
}

.absd-password-input input {
    width: 100%;
    height: 50px;
    padding: 14px 40px 14px 46px;
    border: 1px solid #e6e9eb;
    border-radius: 25px;
    background: #ffffff;
    font-family: Manrope;
    font-weight: 500;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    line-height: 100%;
    letter-spacing: 0%;
    box-sizing: border-box;
    background-image: url(/wp-content/uploads/2026/07/input-password-icon.svg);
    background-repeat: no-repeat;
    background-position: top 13px left 18px;
}

.absd-password-input input:focus {
  outline: none;
  border-color: #202d34;
}

.absd-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}
.absd-eye-icon {
  width: 16px;
  height: 16px;
  display: block;
}
.absd-password-error {
   display: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
    color: #d63638;
}
.absd-password-error:not(:empty) {
    display: block;
}

.absd-password-forgot {
  margin-bottom: 25px;
  display: flex;
  flex-direction: row-reverse;
}

.absd-password-forgot a {
  font-size: 14px;
  color: #1bb3a9;
  text-decoration: underline;
}

.absd-change-password-message {
  display: none;

  margin-bottom: 15px;
  padding: 9px 10px;

  border-radius: 4px;

  font-size: 11px;
}

.absd-change-password-message.success {
  display: block;

  background: #eef8f1;
  color: #28733c;
}

.absd-change-password-message.error {
  display: block;

  background: #fff0f0;
  color: #c62828;
}

.absd-change-password-actions ,
.absd-address-form-actions{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}
.absd-address-form-actions  {
	margin-top:20px;
}

.absd-password-cancel, .absd-password-submit,
.absd-address-form-actions .absd-address-save,
.absd-address-form-actions .absd-address-cancel{
    padding: 14px 16px;
    border-radius: 4px;
    font-size: clamp(13px, calc(12px + 0.25vw), 16px);
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    border-radius: 25px;
    line-height: 1.2;
	position:relative;
	z-index: 1;
	overflow:hidden;
}

.absd-password-cancel,
.absd-address-form-actions .absd-address-cancel{
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #333333;
}

.absd-password-submit ,
.absd-address-form-actions .absd-address-save{
    border: 1px solid #1F2A30;
    background: #1F2A30;
    color: #ffffff;
}
.absd-password-submit::before ,
.absd-address-form-actions .absd-address-save::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / 11%), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}
.absd-password-submit:hover::before,
.absd-address-form-actions .absd-address-save:hover::before{
	left: 100%;
}

.absd-password-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.absd-password-loader {
  display: none;

  width: 11px;
  height: 11px;

  margin-left: 5px;

  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;

  animation: absdPasswordLoader 0.7s linear infinite;
}

.absd-password-submit.loading .absd-password-loader {
  display: inline-block;
}
.absd-delete-account-btn,
.absd-address-delete,
.absd-payment-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border: 1px solid #f04141;
    border-radius: 25px;
    background: #ffffff;
    color: #f04141;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 81px;
    width: 100%;
}
.absd-delete-account-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.absd-delete-account-btn:hover {
  background: #fff3f3;
}

/* CONFIRMATION */

.absd-delete-account-confirm {
  display: none;

  margin-top: 25px;
  padding: 15px;

  border: 1px solid #f0dada;
  border-radius: 7px;

  background: #fff8f8;
}

.absd-delete-account-confirm.active {
  display: block;
}

.absd-delete-confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #ffe6e6;
  color: #f04141;
  font-size: 14px;
  font-weight: 600;
}
.absd-settings-placeholder p span {
    display: block;
}

.absd-delete-confirm-content h3 {
  margin: 0 0 6px;

  font-size: 12px;
  font-weight: 600;

  color: #252525;
}

.absd-delete-confirm-content p {
  margin: 0;

  font-size: 10px;
  line-height: 1.5;

  color: #777;
}
.absd-delete-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;

  margin-top: 15px;
}

.absd-delete-cancel,
.absd-delete-confirm-btn {
  min-height: 30px;

  padding: 0 14px;

  border-radius: 15px;

  font-size: 13px;

  cursor: pointer;
}

.absd-delete-cancel {
  border: 1px solid #a7a7a7;

  background: #ffffff;

  color: #333;
}

.absd-delete-confirm-btn {
  border: 1px solid #f04141;

  background: #e04d4d;

  color: #ffffff;
}

.absd-delete-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* LOADER */

.absd-delete-loader {
  display: none;

  width: 10px;
  height: 10px;

  margin-left: 5px;

  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;

  border-radius: 50%;

  animation: absdDeleteLoader 0.7s linear infinite;
}

.absd-delete-confirm-btn.loading .absd-delete-loader {
  display: inline-block;
}

@keyframes absdDeleteLoader {
  to {
    transform: rotate(360deg);
  }
}

/* MESSAGE */

.absd-delete-account-message {
  display: none;

  margin-top: 15px;
  padding: 8px 10px;

  border-radius: 4px;

  font-size: 10px;
}

.absd-delete-account-message.success {
  display: block;

  background: #eef8f1;
  color: #28733c;
}

.absd-delete-account-message.error {
  display: block;

  background: #fff0f0;
  color: #c62828;
}

/* MOBILE */
@media (max-width: 767px) {
  .absd-account-settings-layout {
    grid-template-columns: 1fr;
	align-content: flex-start;
  }
	.absd-account-settings-sidebar {
		display: flex;
		gap: 5px;
		padding-bottom: 10px;
		border-right: 0;
		border-bottom: 1px solid #eeeeee;
		overflow-x: auto;
	}
	.absd-settings-menu-item {
		border: 1px solid #E6E9EB;
	}
	.absd-add-address-form {
		padding-bottom: 10px;
	}
  .absd-settings-menu-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
	 .absd-account-settings-content {
		padding-top: 30px;
		padding-left: 0;
	}
	.absd-payment-card {
		flex-wrap:wrap;
	}
	.absd-settings-section.active {
		max-height:44vh;
	}
}
@media (max-width: 600px) {
  .absd-delete-account-header {
    flex-direction: column;
  }
	.absd-settings-section.active {
		max-height:46vh;
	}
  .absd-delete-account-btn {
    align-self: flex-start;
  }

  .absd-delete-confirm-actions {
    justify-content: flex-start;
  }
	.absd-account-settings-popup {
		padding: 25px 20px;
		padding-top: 35px;
	}
	.absd-account-settings-close {
    top: 5px;
    right: 5px;
	}
	@media (max-width:479px) {
		.absd-change-password-actions, .absd-address-form-actions {
			flex-wrap:wrap;
			gap:15px;
		}
		.absd-password-cancel, 
		.absd-password-submit, 
		.absd-address-form-actions .absd-address-save, 
		.absd-address-form-actions .absd-address-cancel {
			width:100%;
			flex:auto;
		}
		.absd-password-input input {
			height: 46px;
			padding: 14px 40px 14px 36px;
			background-position: top 13px left 13px;
			background-size: 17px 17px;
		}
		.absd-password-toggle {
			width: 16px;
			height: 16px;
		}
		.absd-address-form-row {
			gap: 0px;
			flex-direction: column;
		}
		.absd-support-item {
			gap: 10px;
			flex-wrap: wrap;
		}
		.absd-address-icon {
    		width: 35px;
    		height: 35px;
		}
		.absd-payment-card-number {
			font-size:14px;
		}
		.absd-payment-card-name {
			font-size:13px;
		}
	}
@keyframes absdPasswordLoader {
  to {
    transform: rotate(360deg);
  }
}
/* MOBILE */

/* =========================================
   PASSWORD MESSAGE
========================================= */

.absd-password-message {
  min-height: 20px;
  margin-bottom: 10px;

  font-size: 13px;
  line-height: 18px;
}

.absd-password-message.success {
  color: #18a999;
}

.absd-password-message.error {
  color: #d9534f;
}

.absd-input-error {
    border-color: #d63638 !important;
}

.absd-change-password-message {
    display: none;
}

.absd-change-password-message.active {
    display: block;
}

.absd-change-password-message.success {
    color: #198754;
}

.absd-change-password-message.error {
    color: #d63638;
}
