/* ===========================================================
   FUKURO STORE — Auth pages (Login / Sign Up) · Tosca theme
   =========================================================== */

:root {
  --tosca-green: #10c9a3;
  --tosca-mid: #0eb6bd;
  --tosca-blue: #0e8fc4;
  --teal-1: #12c3a6;
  --teal-2: #0e93c2;
  --text: #0d3b3a;
  --muted: #5a7d7b;
  --line: #e2ece9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Segoe UI",
    Roboto,
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(
      1000px 600px at 85% -5%,
      rgba(255, 255, 255, 0.32),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 5% 8%,
      rgba(16, 201, 163, 0.5),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      var(--tosca-green) 0%,
      var(--tosca-mid) 45%,
      var(--tosca-blue) 100%
    );
  background-attachment: fixed;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.home-link {
  position: absolute;
  top: 24px;
  left: 26px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.9;
}
.home-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.auth-card {
  width: 430px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.776);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(3, 60, 70, 0.28);
  padding: 40px 36px;
  text-align: center;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 22px;
}

.auth-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.auth-brand span {
  background: linear-gradient(90deg, var(--teal-1), var(--teal-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-card h1 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.field {
  position: relative;
  margin-bottom: 16px;
  text-align: left;
}

.field i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-2);
  font-size: 16px;
}

.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  font-size: 15px;
  color: var(--text);
  background: #f4f8f7;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.field input::placeholder {
  color: #9aa7ad;
}

.field input:focus {
  border-color: var(--teal-1);
  background: #fff;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 2px 22px;
}

.row label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.row a {
  color: var(--teal-2);
  text-decoration: none;
  font-weight: 600;
}
.row a:hover {
  text-decoration: underline;
}

.auth-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
  box-shadow: 0 10px 22px rgba(14, 165, 185, 0.35);
  transition: transform 0.15s ease;
}
.auth-btn:hover {
  transform: translateY(-2px);
}

.switch {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.switch a {
  color: var(--teal-2);
  font-weight: 700;
  text-decoration: none;
}
.switch a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 22px;
  }
  .home-link {
    top: 16px;
    left: 16px;
  }
}
