.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  z-index: 999; /* Ensure the overlay is behind the popup */
}

.login-popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.login-close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
}

.send-otp-form,
.verify-otp-form,
.register-info-form,
.waiting-message {
  margin: 20px 0px;
  text-align: center;
}

/* Container for captcha area */
.captcha-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

/* Styling for the captcha code input */
.captcha-code {
  width: 150px;
  height: 50px !important;
  border: solid 1px #ccc;
  border-radius: 6px;
}

/* Styling for the refresh icon */
.refresh-icon {
  cursor: pointer;
  font-size: 30px;
  padding: 10px;
  border-radius: 6px;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.2s ease-in-out;
  position: absolute;
}

/* Container for captcha and refresh icon */
.captcha-container {
  display: flex;
  align-items: center; /* Vertically center items */
  position: relative; /* Relative positioning for absolute positioning of refresh icon */
}

/* Show refresh icon on hover */
.captcha-container:hover .refresh-icon {
  opacity: 1;
}

/* Center the refresh icon */
.refresh-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Professional styling for the loader */
.loader-icon {
  display: none; /* Initially hidden */
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Ensure it's on top of other elements */
}

.loader-icon::after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin: 8px;
  border-radius: 50%;
  border: 4px solid #3498db; /* Loader color */
  border-color: #3498db transparent #3498db transparent;
  animation: loader-animation 1.2s linear infinite; /* Animation timing */
}

/* Animation for loader */
@keyframes loader-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg); /* Full rotation */
  }
}

.login-form-popup {
  padding: 16px 8px 0px 8px;
}

.login-captcha,
.login-mobile,
.sms-code,
.first-name,
.last-name,
.user-email {
  width: 250px;
  border-radius: 6px !important;
}

.send-sms,
.verify-code,
.register-info {
  font-size: 14px !important;
  font-weight: 500 !important;
  width: 250px !important;
  border-radius: 6px !important;
  padding: 8px !important;
}

.captcha-container {
  display: flex;
  align-items: center;
  padding: 16px;
}

.login-mobile-container,
.login-captcha-container,
.login-verify-container,
.register-first-name-container,
.register-last-name-container,
.register-user-email-container {
  margin-bottom: 16px;
}

.login-mobile-container label,
.login-captcha-container label,
.login-verify-container label,
.register-first-name-container label,
.register-last-name-container label,
.register-user-email-container label {
  font-size: 14px;
  font-weight: 500;
  float: right;
}

.login-mobile-container input,
.login-captcha-container input,
.login-verify-container input,
.register-first-name-container input,
.register-last-name-container input,
.register-user-email-container input {
  text-align: center;
}

#login-mobile-status,
#login-captcha-status,
#register-info-status {
  font-size: 14px;
  font-weight: 500;
}

#otp-countdown-message {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  padding: 6px;
}

#otp-countdown {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  direction: ltr;
  padding: 0px 6px;
}

.user-profile-button-wrapper {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px;
  width: max-content;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  margin: 0px 6px;
  color: #3e526c;
}

.user-profile-button-wrapper:hover {
  color: #02a8f4;
}

.user-profile-button-icon,
.user-profile-button-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-profile-button-icon img {
  width: 20px;
}

.gg-profile,
.gg-profile::after,
.gg-profile::before {
  display: block;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100px;
}

.gg-profile {
  overflow: hidden;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  position: relative;
}

.gg-profile::after,
.gg-profile::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 8px;
  height: 8px;
}

.gg-profile::after {
  border-radius: 200px;
  top: 11px;
  left: 0px;
  width: 18px;
  height: 18px;
}

.user-profile-widget-container {
  position: relative;
}

.user-profile-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #f0f0f0; /* Adjust background color as needed */
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.user-profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 99;
  padding: 8px 8px 8px 24px;
  margin-right: 8px;
}

.user-profile-dropdown li {
  list-style: none;
  padding: 10px 15px;
}

.user-profile-dropdown li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.user-profile-dropdown li a:hover {
  background-color: #f5f5f5;
}

/* call to actions */

.pre-invoice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  z-index: 999; /* Ensure the overlay is behind the popup */
}

.pre-invoice-popup-container,
.pre-invoice-submit-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.pre-invoice-close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
}

.pre-invoice-form-popup {
  padding: 16px 8px 0px 8px;
}

.pre-invoice-captcha {
  width: 250px;
  border-radius: 6px !important;
}

.pre-invoice-captcha-container {
  margin-bottom: 16px;
}

.pre-invoice-captcha-container label {
  font-size: 14px;
  font-weight: 500;
  float: right;
}

.pre-invoice-captcha-container input {
  text-align: center;
}

#pre-invoice-captcha-status {
  font-size: 14px;
  font-weight: 500;
}

.pre-invoice-info-container {
  display: grid;
  font-size: 16px;
  justify-items: start;
  margin-bottom: 16px;
}

.shop-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-archive-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-invoice-btn {
  padding: 8px !important;
}

.get-invoice-btn-container,
.online-sell-btn-container,
.contact-us-btn-container,
.server-config-btn-container {
  display: flex;
}

.get-invoice-btn,
.online-sell-btn,
.contact-us-btn,
.server-config-btn {
  height: 48px;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 6px !important;
  width: 160px !important;
  border-radius: 6px !important;
  border: 1px solid #ccc;
  font-size: 12px !important;
}

.contact-us-btn {
  background-color: #0286c3 !important;
}
.server-config-btn {
  background-color: #3e526c !important;
}

@media (max-width: 767px) {
  .get-invoice-btn,
  .online-sell-btn,
  .contact-us-btn,
  .server-config-btn {
    font-size: 12px;
    padding: 6px;
  }
}

@media (max-width: 540px) {
  .shop-button-container {
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: inline-grid;
  }
}

.online-sell-cart {
  display: flex;
  margin-bottom: 0px !important;
  padding: 10px;
  align-items: center;
}

.quantity {
  display: flex;
  height: 40px !important;
}
