/* Nana Knits Auth Theme */

/* Page background */
body {
  background: #fffaf8;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #444;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Auth container */
.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #fff8f5;  /* peach-pastel background */
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 400px;
}

/* Logo */
.auth-logo {
  margin-bottom: 20px;
}

.auth-logo img {
  max-width: 220px;     /* adjust to taste, e.g. 180–240 */
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
  .auth-logo img {
    max-width: 160px;    /* smaller for phones */
    margin-bottom: 0.5rem;
  }
}



/* Headings */
.auth-card h1 {
  font-size: 1.6rem;
  color: #e36b4b;
  margin-bottom: 1rem;
}

.auth-card p {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Inputs */
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ffd6c4;
  background: #fff;
  transition: border-color 0.2s;
  font-size: 1rem;
  margin-bottom: 15px;
}

.auth-card input:focus {
  outline: none;
  border-color: #e36b4b;
  box-shadow: 0 0 0 3px rgba(227, 107, 75, 0.15);
}

/* Buttons */
.auth-card button {
  background-color: #e36b4b;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: background 0.2s ease;
  margin-bottom: 12px;
}

.auth-card button:hover {
  background-color: #c9573b;
}

/* Divider text */
.auth-divider {
  position: relative;
  text-align: center;
  color: #aaa;
  margin: 20px 0;
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #eee;
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

/* Social login buttons */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 10px;
  background: #fff;
  width: 100%;
  margin-bottom: 10px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s;
}

.social-btn img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.social-btn:hover {
  background: #fff3ef;
  border-color: #e36b4b;
}

/* Links */
.auth-card a {
  color: #e36b4b;
  text-decoration: none;
  font-weight: 500;
}

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

/* Small footer link */
.auth-footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #777;
}

.alert-danger {
  background: #ffe8e6;
  color: #c45555;
  border: 1px solid #ffc5c2;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-danger ul { margin: 0; padding-left: 20px; }
.alert-danger li { margin-bottom: 2px; }
