* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
 font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;              /* align card near top */
  min-height: 100vh;
}

/* Base (mobile-first): simple page, no card styling */
.login-container {
   width: 100%;
  max-width: 400px;
  background: #fff;                     /* keep card background */
  box-shadow: 0 6px 16px rgba(0,0,0,0.08); /* softer shadow for mobile */
  border-radius: 12px;                  /* rounded corners */
  padding: 1.5rem;                      /* tighter padding for small screens */
  margin: 2rem auto;                    /* center with spacing */
  text-align: center;
}

.logo {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: black;
  letter-spacing: -0.5px;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #333;
}

input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus {
  border: 1px solid #8f00ff;
  outline: none;
}

button {
  width: 100%;
  padding: 0.9rem;
  margin-top: 1rem;
  border: none;
  border-radius: 10px;
  background: black;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background: #8f00ff;
}
button:active {
  background-color: #400677;
  color: #fff;
}
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.divider span {
  font-weight: 600;
  color: #555;
}

.google-btn {
  margin-top: 1rem;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.google-btn img {
  width: 18px;
  height: 18px;
}
.google-btn:hover {
  background: #8f00ff;
  color: white;
}
.google-btn:active {
  background-color: #6b00cc;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
/* Optional: add a white tick mark */
.toggle-container input[type="checkbox"]:checked::after {
    content: "✔";
    color: black;
    font-size: 14px;
    position: absolute;
    top: -2px;
    left: 2px;
}
.signup-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

.signup-link a {
  color: #8f00ff;
  font-weight: 600;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

.map {
  width: 25px;
  height: auto;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .corset {
    box-shadow: none; 
  }
}

/* Desktop (≥1024px): apply card styles */
@media screen and (min-width: 1024px) {
  .login-container {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 400px;
}
  body {
   display: flex;
    justify-content: center;
    align-items: center;                /* center vertically on desktop */
    height: 100vh;
}

 }

