body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.transition-all {
  transition: all 0.3s ease-in-out;
}

/* Landing Page Styles */
.landing-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 1rem;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.marketing-pane {
  flex: 1;
  padding: 3rem;
  background-color: #3d5a80; /* A deep blue color */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-pane {
  flex: 1;
  padding: 2rem;
  background-color: #f9fafb; /* A light gray */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-plaque {
  background-color: rgba(255, 255, 255, 0.9);
  align-self: flex-start; /* Makes the plaque only as wide as its content */
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-header h2 {
  color: #374151; /* A dark gray */
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon {
  color: #98c1d9; /* Lighter blue for icons */
  width: 1.5rem;
  text-align: center;
}

/* Responsive adjustments for the landing page */
@media (max-width: 900px) {
  .landing-container {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
  }
  .marketing-pane {
    padding: 2rem;
    /* CHANGE: Added rules to center content on mobile */
    align-items: center;
    text-align: center;
  }
  /* CHANGE: New rule to allow the logo plaque to be centered */
  .logo-plaque {
    align-self: auto;
  }
  .auth-pane {
    padding: 1.5rem;
  }
}

.modal-backdrop,
.settings-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.settings-panel {
  background-color: white;
  z-index: 60;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}

.goal-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.no-transition .goal-details {
  transition: none;
}
