@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --color-bg: #efe8dd;
  --color-accent: #7a5540;
  --color-text: #211902;
  --font-title: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}

body {
  background: var(--color-bg);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 40px 35px;
  text-align: center;
}

.login-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #6e6258;
  margin-bottom: 25px;
}

.form-group {
  text-align: left;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.9rem;
  color: #5a4a40;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 92%;
  padding: 10px 14px;
  border: 1px solid #d3c8be;
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: var(--color-accent);
}

.btn-login {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-login:hover {
  background: #604334;
  transform: translateY(-2px);
}

.register-text {
  margin-top: 22px;
  font-size: 0.9rem;
  color: #444;
}

.register-text a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.register-text a:hover {
  text-decoration: underline;
}

.login-error {
  background: #ffefef;
  color: #b20000;
  border: 1px solid #ffb3b3;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.cart-link {
  position: relative;
  display: inline-block;
}

.cart-icon {
  width: 26px;
  height: 26px;
  fill: #000;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.cart-link:hover .cart-icon {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #7a5540;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.forgot-text {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #7a5540;
}

.forgot-text a {
  color: #7a5540;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-text a:hover {
  color: #3a2b20;
  text-decoration: underline;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 45px;
  box-sizing: border-box;
}

.toggle-eye {
  position: absolute;
  right: 10px;
  cursor: pointer;
  width: 22px;
  height: 22px;
  fill: #7a5540;
  transition: fill 0.3s;
}

.toggle-eye:hover {
  fill: #b08b7c;
}


