@charset "UTF-8";

/* =========================
   Lawson color
========================= */
:root {
  --lawson-blue: #005bac;
  --lawson-blue-dark: #004a8f;
  --lawson-light: #eaf2fb;

  --bg: #fbfbfb;
  --card-bg: #f1f1f1;
  --border: #d0d7e2;

  --text-main: #333;
  --text-sub: #666;
  --error-bg: #f2dede;
  --error-text: #a94442;
}

/* =========================
   Base
========================= */
html, body {
  height: 100%;
}

body {
  background: var(--bg);
  font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Kaku Gothic ProN',
    Meiryo, メイリオ, 'MS PGothic', Arial, sans-serif;
  color: var(--text-main);
  text-align: center;
}

/* =========================
   Flash / Error
========================= */
.alert,
.notice {
  width: 98%;
  margin: 16px auto;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
}

.alert {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid #ebccd1;
}

.notice {
  background: var(--lawson-light);
  color: var(--lawson-blue);
  border: 1px solid var(--lawson-border);
}

/* =========================
   Login Layout
========================= */
.login-wrapper {
  min-height: calc(60vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-logo {
  margin-bottom: 16px;
}

.login-logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--lawson-blue);
  letter-spacing: 1px;
}

/* =========================
   Card
========================= */
.login-card {
  background: var(--card-bg);
  width: 420px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .login-card {
    width: 90%;
    padding: 20px;
  }
}

/* =========================
   Form
========================= */
.form-group {
  margin-bottom: 14px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 10px 10px 10px 38px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.form-group input:focus {
  outline: none;
  border-color: var(--lawson-blue);
  box-shadow: 0 0 0 1px rgba(0,91,172,.2);
}

/* icons */
.form-group.email::before,
.form-group.password::before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.form-group.email::before {
  content: "👤";
}

.form-group.password::before {
  content: "🔒";
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea {
  font-size: 16px !important;
}

/* remember */
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.remember label {
  margin: 0;
  cursor: pointer;
  line-height: 1.2;
}

/* submit */
.login-button {
  width: 100%;
  padding: 12px 0;
  background: var(--lawson-blue);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.login-button:hover {
  background: var(--lawson-blue-dark);
}

/* =========================
   Links
========================= */
.login-links {
  margin-top: 16px;
  font-size: 13px;
}

.login-links a {
  color: var(--lawson-blue);
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

/* =========================
   Footer
========================= */
footer {
  height: 30px;
  font-size: 12px;
  color: #888;
}

