* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: white;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* padding: 20px; */
  overflow-x: hidden;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 150px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  font-weight: 500;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 10px;
  padding-right: 40px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 38px;
  cursor: pointer;
  color: #555;
}

.inline-feedback {
  font-size: 0.85rem;
  color: red;
  margin-top: 5px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.forgot-password {
  display: block;
  text-align: right;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: black;
  text-decoration: none;
}

.signup-page {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: black;
  text-decoration: none;
  margin-top: 1rem;
}

.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #0a0a0a;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.btn:disabled {
  background-color: #999;
}

.spinner {
  display: none;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 3px solid #f3f3f3;
  border-top: 3px solid black;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 1rem;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  /* spacing between login and google button */
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
  /* gray line */
}

.divider:not(:empty)::before {
  margin-right: 10px;
}

.divider:not(:empty)::after {
  margin-left: 10px;
}

.divider span {
  color: #888;
  font-size: 14px;
  white-space: nowrap;
}

/* Google Button */
.google-btn {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: white !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0;
  border-radius: 7px !important;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.google-btn:hover {
   box-shadow:none;
}

.google-icon {
  width: 20px;
  height: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.social-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;      
  width: fit-content;
}

.social-btn {
  /* flex: 1; */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav-hamburger{
  cursor: pointer;
}

.logo-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 12px;
  margin: 10px 2px;
}

#navbar-links{
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: space-between;
  white-space: nowrap;
  align-items: center;
}