/* ---------- Container “card” ---------- */
.artisan-login-wrap {
  max-width: 500px;
  margin: 0 auto;
  /* background: #ffffff; */
  padding: 32px;
  border-radius: 12px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  font-family: sans-serif;
  color: #333333;
}

/* ---------- Logo & Description ---------- */
.artisan-login-logo {
  text-align: center;
  margin-bottom: 16px;
}
.artisan-login-logo img {
  max-width: 150px !important;
  height: auto !important;
}

.artisan-login-desc {
  font-family: "Iner", sans-serif; /* Corrected font-family declaration */
  text-align: center;
  color: #888888;
  font-size: 17px;
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: 300px;
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
}

/* ---------- Error box (if ever used) ---------- */
.artisan-error {
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #a33;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  font-size: 14px;
}

/* style the overall alert */
.swal2-artisan-popup {
  font-family: "Iner", sans-serif !important;
  border-radius: 8px;
}

/* the title (“Oops!”) */
.swal2-artisan-title {
  font-family: "Iner", sans-serif !important;
  font-size: 24px !important;
  margin-bottom: 8px !important;
}

.swal2-container .swal2-title {
}

.swal2-container .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  top: 23.5px !important;
  width: 28px !important;
  height: 3px !important;
}

.swal2-container
  .swal2-icon.swal2-error
  [class^="swal2-x-mark-line"][class$="right"] {
  right: 10px !important;
}

.swal2-container
  .swal2-icon.swal2-error
  [class^="swal2-x-mark-line"][class$="left"] {
  left: 13px !important;
}

/* the HTML container where your error lives */
.swal2-artisan-html {
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #a33;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  text-align: left;
  margin-bottom: 16px;
}

/* the OK button */
.swal2-artisan-button {
  background-color: #6b5bfa !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 16px;
}

/* ---------- Form labels ---------- */
.artisan-login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
}

/* ---------- Inputs ---------- */
.artisan-login-form input[type="text"],
.artisan-login-form input[type="password"] {
  width: 100%;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  margin-bottom: 20px;
  box-sizing: border-box;
  color: #333;
}
.artisan-login-form input::placeholder {
  color: #a8a8a8;
}

/* ---------- Password toggle icon ---------- */
.artisan-password-wrapper {
  position: relative;
}
.artisan-toggle-pass {
  position: absolute;
  right: 16px;
  top: 38%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #888888;
  user-select: none;
}

/* ---------- Options row ---------- */
.artisan-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.artisan-options label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555555;
}
.artisan-options input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}
.artisan-forgot {
  font-size: 14px;
  color: #003049;
  text-decoration: none;
}
.artisan-forgot:hover {
  text-decoration: underline;
}

/* ---------- Submit button ---------- */
.artisan-submit {
  width: 100%;
  background: #002432;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 16px;
}
.artisan-submit:hover {
  background: #001a26;
}

/* ---------- Sign-up link ---------- */
.artisan-signup {
  text-align: center;
  font-size: 14px;
  color: #666666;
}
.artisan-signup a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.artisan-signup a:hover {
  text-decoration: underline;
}

/* ─── Override SweetAlert2’s SVG arcs ─── */
.swal2-custom-icon .swal2-success-circular-line-left,
.swal2-custom-icon .swal2-success-circular-line-right {
  display: none !important;
}

/* ─── Style the pale green ring ─── */
.swal2-custom-icon .swal2-success-ring {
  /* thicker, pastel border */
  background-color: #c8f0d0;
  border: 0 !important;
  /* match your 64×64 circle */
  width: 50px !important;
  height: 50px !important;
  margin: 0 auto 16px !important;
  position: absolute;
  margin-bottom: 0 !important;
}

/* ─── Color the “check” lines ─── */
.swal2-custom-icon .swal2-success-line-tip,
.swal2-custom-icon .swal2-success-line-long {
  background-color: #00c48c !important;
}

/* ─── If you need to nudge the icon size/position ─── */
.swal2-custom-icon {
  font-size: 0; /* remove any font fallback */
}

/* Parent container wrapping both title + content */
.swal2-message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* padding-top: 8px; */
}

/* Tweak the title inside our wrapper */
.swal2-custom-title {
  font-family: "Iner", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #222 !important;
}

/* Tweak the content inside our wrapper */
.swal2-custom-content {
  font-family: "Iner", sans-serif !important;
  font-size: 14px !important;
  color: #333 !important;
  line-height: 1.4 !important;
}

.swal2-html-container {
  margin-top: 0px;
}

.swal2-icon-success {
  display: flex !important;
  gap: 15px !important;
  width: 26rem !important;
  padding: 30px !important;
}

.swal2-custom-icon {
  width: 80px !important;
  height: 60px !important;
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swal2-custom-icon .swal2-success-line-tip,
.swal2-custom-icon .swal2-success-line-long {
  background-color: #00c48c !important; /* Green checkmark */
}

.swal2-custom-icon .swal2-success-fix {
  position: absolute;
  /* background-color: #00c48c !important; */
  /* width: 40px !important; */
  /* height: 40px !important; */
  /* border-radius: 50%; */
  /* z-index: 3; */
}

.swal2-icon.swal2-success .swal2-success-fix {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 0.7rem;
  width: 0.4375em;
  height: 5.625em;
  transform: rotate(-45deg);
}

/* Lines forming the checkmark */
.swal2-custom-icon .swal2-success-line-tip,
.swal2-custom-icon .swal2-success-line-long {
  background-color: #ffffff !important; /* White checkmark */
  position: absolute;
  border-radius: 2px;
}

/* Success line positioning */
.swal2-custom-icon .swal2-success-line-tip {
  width: 12px !important;
  height: 2.5px !important;
  transform: rotate(35deg) !important;
  top: 30px !important;
  left: 12px !important;
  z-index: 3 !important;
  background-color: #00c48c !important;
  border-radius: 50px !important;
}

.swal2-custom-icon .swal2-success-line-long {
  width: 25px !important;
  height: 2.5px !important;
  transform: rotate(-45deg) !important;
  top: 25px !important;
  left: 18px;
  z-index: 3 !important;
  background-color: #00c48c !important;
  border-radius: 50px !important;
}

.swal2-html-container {
  margin-top: 0px !important;
}

.swal2-container .swal2-icon {
  width: 50px !important;
  height: 50px !important;
}
