/* FishMe — auth pages v2 */

body.fishme-auth-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #faf8f6;
}

body.fishme-auth-page .fishme-auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

/* —— Brand panel —— */
.fishme-auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 48px 36px;
  background: #870106;
  color: #fff;
  overflow: hidden;
}

.fishme-auth-brand-bg {
  position: absolute;
  inset: 0;
  background: url("../images/banner/store_banner_2.jpg") center / cover no-repeat;
  transform: scale(1.05);
}

.fishme-auth-brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(19, 0, 1, 0.88) 0%,
    rgba(135, 1, 6, 0.78) 45%,
    rgba(192, 2, 8, 0.72) 100%
  );
}

.fishme-auth-brand-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 51, 58, 0.35) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  pointer-events: none;
}

.fishme-auth-brand-glow--2 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: -60px;
  top: auto;
  right: auto;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.fishme-auth-brand-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 440px;
  margin: 0;
}

.fishme-auth-brand-bottom {
  position: absolute;
  bottom: 36px;
  left: 48px;
  right: auto;
  z-index: 1;
  text-align: left;
}

.fishme-auth-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.fishme-auth-brand-main h1 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 14px;
  max-width: 400px;
  width: 100%;
}

.fishme-auth-brand-main > p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 380px;
}

.fishme-auth-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
  max-width: 420px;
}

.fishme-auth-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.fishme-auth-pills i {
  font-size: 12px;
  opacity: 0.9;
}

.fishme-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.fishme-auth-back:hover {
  color: #fff;
  gap: 10px;
}

/* —— Form panel —— */
.fishme-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(192, 2, 8, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(192, 2, 8, 0.04) 0%, transparent 50%),
    #faf8f6;
}

.fishme-auth-panel-inner {
  width: 100%;
  max-width: 500px;
}

.fishme-auth-panel-inner--wide {
  max-width: 500px;
}

.fishme-auth-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.fishme-auth-panel-top a.fishme-auth-home {
  font-size: 14px;
  font-weight: 600;
  color: #6e777d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fishme-auth-panel-top a.fishme-auth-home:hover {
  color: #c00208;
}

.fishme-auth-card {
  background: #fff;
  border: 1px solid rgba(226, 226, 226, 0.9);
  border-radius: 16px;
  padding: 28px 32px 32px;
  box-shadow:
    0 1px 2px rgba(31, 31, 37, 0.04),
    0 12px 40px rgba(31, 31, 37, 0.08);
}

.fishme-auth-card-logo {
  display: block;
  text-align: center;
  margin: 0 auto 24px;
  line-height: 0;
}

.fishme-auth-card-logo img {
  display: block;
  width: auto;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
}

.fishme-auth-card-head {
  margin-bottom: 28px;
}

.fishme-auth-card-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f1f25;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.fishme-auth-card-head p {
  font-size: 15px;
  color: #6e777d;
  margin: 0;
  line-height: 1.5;
}

.fishme-auth-field {
  margin-bottom: 18px;
}

.fishme-auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1f1f25;
  margin-bottom: 7px;
}

.fishme-auth-input-wrap {
  position: relative;
  display: block;
}

.fishme-auth-field .fishme-auth-input-wrap .fishme-auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px !important;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 0 !important;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa3a9;
  z-index: 2;
  line-height: 1;
  box-shadow: none;
}

.fishme-auth-field .fishme-auth-input-wrap .fishme-auth-password-toggle:hover {
  color: #6e777d;
  background: rgba(31, 31, 37, 0.04);
  border: 0 !important;
}

.fishme-auth-field .fishme-auth-input-wrap .fishme-auth-password-input {
  padding-right: 52px !important;
}

.fishme-auth-input-wrap > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3a9;
  font-size: 15px;
  pointer-events: none;
}

.fishme-auth-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #e8e8ea;
  border-radius: 10px;
  padding: 0 16px 0 44px;
  font-size: 15px;
  color: #1f1f25;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fishme-auth-field input:not(.fishme-auth-input--plain) {
  padding-left: 44px;
}

.fishme-auth-field input:focus {
  outline: none;
  border-color: #c00208;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(192, 2, 8, 0.1);
}

.fishme-auth-field input::placeholder {
  color: #a8b0b6;
}

.fishme-auth-extras {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -6px 0 20px;
}

.fishme-auth-extras a {
  font-size: 13px;
  font-weight: 600;
  color: #c00208;
  text-decoration: none;
}

.fishme-auth-extras a:hover {
  text-decoration: underline;
}

.fishme-auth-message {
  min-height: 0;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.fishme-auth-message:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.fishme-auth-message.is-error {
  color: #9b1c1c;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.2);
}

.fishme-auth-message.is-success {
  color: #0d5c36;
  background: rgba(26, 127, 75, 0.08);
  border: 1px solid rgba(26, 127, 75, 0.2);
}

.fishme-auth-submit {
  width: 100%;
  height: 50px;
  margin-top: 2px;
  border-radius: 10px !important;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(192, 2, 8, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fishme-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192, 2, 8, 0.35);
}

.fishme-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
}

.fishme-auth-divider::before,
.fishme-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ebebeb;
}

.fishme-auth-divider span {
  font-size: 12px;
  font-weight: 500;
  color: #9aa3a9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fishme-auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.fishme-auth-social a {
  height: 46px;
  border: 1px solid #e8e8ea;
  border-radius: 10px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1f1f25;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fishme-auth-social a:hover {
  border-color: #d8d8da;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31, 31, 37, 0.06);
}

.fishme-auth-social img {
  height: 18px;
  width: auto;
}

.fishme-auth-foot {
  text-align: center;
  font-size: 14px;
  color: #6e777d;
  margin: 0;
  padding-top: 4px;
}

.fishme-auth-foot a {
  font-weight: 700;
  color: #c00208;
  text-decoration: none;
}

.fishme-auth-foot a:hover {
  text-decoration: underline;
}

.fishme-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fishme-auth-panel--register {
  overflow-y: auto;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}

.fishme-auth-mobile-brand {
  display: none;
  text-align: center;
  margin-bottom: 24px;
}

.fishme-auth-mobile-brand img {
  display: block;
  max-width: 150px;
  width: auto;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 991px) {
  body.fishme-auth-page .fishme-auth {
    grid-template-columns: 1fr;
  }

  .fishme-auth-brand {
    display: none;
  }

  .fishme-auth-mobile-brand {
    display: none;
  }

  .fishme-auth-panel {
    padding: 28px 20px 36px;
    align-items: flex-start;
  }

  .fishme-auth-card {
    padding: 28px 22px 26px;
    border-radius: 14px;
  }

  .fishme-auth-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fishme-auth-panel-top {
    margin-bottom: 20px;
  }

  .fishme-auth-card-logo img {
    max-width: 130px;
  }
}
