/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) 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
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

nav.navbar {
  justify-content: center;
  display: flex;
  align-items: center;
  font-size: 0.875em;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}
.btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  height: 20%;
}
.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-danger {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #0056b3;
}
.btn-danger:hover {
  background-color: #c82333;
}
.btn-primary:hover {
  background-color: #0056b3;
}

nav.navbar a {
  display: inline-block;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

nav.navbar a.active {
  font-weight: bold;
  text-decoration: underline;
}

nav.navbar a:hover {
  background-color: #e2e6ea;
  border-radius: 4px;
}
section.settings {
  display: flex;
  gap: 1rem;
}

section.settings nav {
  width: 200px;
}

section.settings nav a {
  display: block;
}

.login {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}
.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.form-control {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.submit-button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}
.submit-button:hover {
  background-color: #45a049;
}

a.form-control {
  text-align: center;
  background-color: transparent;
  color: #007bff;
  text-decoration: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
a.form-control:hover {
  text-decoration: underline;
}
.products {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.products-header {
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.products-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  background-color: #fff;
  margin-bottom: 1rem;
}
.product-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.product-item:last-child {
  border-bottom: none;
}
.product-item a {
  text-decoration: none;
  color: #007bff;
}
.product-item a:hover {
  text-decoration: underline;
}
