.autocomplete-suggestions {
  border: 1px solid #ccc;
  background: #fff;
  position: absolute;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  width: 100%;
  max-width: 400px; /* Prevents it from being too wide on large screens */
  box-sizing: border-box;
}

.autocomplete-suggestion {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-suggestion:hover {
  background: #f0f0f0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .autocomplete-suggestions {
    max-width: 95vw; /* Almost full width */
    left: 0;         /* Align to screen edge if needed */
    right: 0;
    margin: 0 auto;  /* Center horizontally if needed */
  }

  .autocomplete-suggestion {
    padding: 14px; /* Bigger tap targets */
  }
}
/* Only apply these styles to the login page */
.login-page {
  min-height: 100vh; /* Ensure full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Small padding on mobile */
}

.login-container {
  width: 100%;
  max-width: 400px; /* Allow it to grow on larger screens */
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.login-container h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.login-container .field, 
.login-container .actions {
  margin-bottom: 15px;
}

/* Styling for sign up and login buttons */
.button-container {
  margin-top: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* Change this to your desired button color */
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0056b3; /* Darker shade for hover */
}

#sign-up-btn,
#log-in-btn {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#sign-up-btn:hover,
#log-in-btn:hover {
  background-color: #0056b3;
}

.flash-messages {
  text-align: center;
  margin-bottom: 20px;
}

.notice,
.alert {
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

.notice {
  background-color: #e0f7fa; /* Soft cyan for success */
  color: #00695c; /* Dark cyan for contrast */
  border: 1px solid #d6e9c6;
}

.alert {
  background-color: #ffebee; /* Soft red for error */
  color: #c62828; /* Dark red for contrast */
  border: 1px solid #ebccd1;
}

.edit-account-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.update-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 20px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.update-button:hover {
  background-color: #45a049;
}

/* RESPONSIVE adjustments */
@media (max-width: 480px) {
  .login-container {
    padding: 15px;
  }
  
  .login-container h2 {
    font-size: 1.25rem;
  }

  #sign-up-btn,
  #log-in-btn,
  .update-button {
    font-size: 15px;
    padding: 10px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 *


 */

/* Basic reset and fonts */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
