.shop-auth-entry {
  display: flex;
  align-items: center;
}

.shop-auth-login-box {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.shop-auth-user {
  position: relative;
}

.shop-auth-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.shop-auth-menu {
  position: absolute;
  top: 42px;
  left: 0;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.shop-auth-menu-item {
  background: none;
  border: none;
  padding: 8px 12px;
  font-family: 'Vazirmatn', Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.shop-auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.shop-auth-modal {
  width: min(92vw, 420px);
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  font-family: 'Vazirmatn', Arial, sans-serif;
}

.shop-auth-success {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: #1abc9c;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 16px 16px 0 0;
}

.shop-auth-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.shop-auth-title {
  margin: 0 0 16px 0;
  font-size: 22px;
  color: var(--dark--100);
}

.shop-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-auth-label {
  font-size: 13px;
  color: #666;
}

.shop-auth-input {
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Vazirmatn', Arial, sans-serif;
}

.shop-auth-password {
  position: relative;
  display: flex;
  align-items: center;
}

.shop-auth-password .shop-auth-input {
  width: 100%;
  padding-left: 40px;
}

.shop-auth-toggle {
  position: absolute;
  left: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #666;
}

.shop-auth-submit {
  margin-top: 8px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
}

.shop-auth-helper {
  margin-top: 16px;
  border: 1px solid #f0f0f0;
  padding: 12px;
  font-size: 13px;
  color: #666;
  background: #fafafa;
  border-radius: 12px;
  text-align: right;
  cursor: pointer;
}

.shop-auth-helper strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark--100);
}

.shop-auth-helper p {
  margin: 0;
}

.shop-auth-link {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0 0;
}

.shop-auth-forgot-text {
  font-size: 14px;
  color: #666;
  margin: 8px 0 16px;
}

.shop-auth-error {
  color: #c0392b;
  font-size: 12px;
  min-height: 16px;
  white-space: pre-line;
}

.is-hidden {
  display: none !important;
}
