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

body {
  font-family: "Arial", sans-serif;
  background: #f5f5f5;
}

nav {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  letter-spacing: 3px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff6b35;
}

.cart-icon,
.user-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.login-page {
  padding: 3rem 5%;
  min-height: 70vh;
}

.back-btn {
  background: #1e3c72;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.back-btn:hover {
  background: #2a5298;
}

.form-container {
  max-width: 450px;
  margin: 2rem auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 2rem;
  color: #1e3c72;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #666;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1e3c72;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #1e3c72;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.remember-forgot label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.remember-forgot a {
  color: #1e3c72;
  text-decoration: none;
}

.remember-forgot a:hover {
  color: #ff6b35;
}

.submit-btn {
  width: 100%;
  background: #1e3c72;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
}

.form-footer a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: bold;
}

.form-footer a:hover {
  color: #ff6b35;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #999;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.divider span {
  padding: 0 1rem;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-btn {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: #1e3c72;
}

footer {
  background: #1e3c72;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}
