@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

:root {
  --color1: #ffffff;
  --color2: #f9f9fb;
  --color3: #279d2e;
  --color4: #258e2b;
  --color5: #25b4bd;
  --color6: #04a8b1;
  --color7: #1a1a1f;
  --color8: #313136;
  --color9: #ffff;
  --color10: #ccc;
  --color11: #4caf50;
  --color12: #f44336;
}

.container {
  background: var(--color9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color3);
  font-size: medium;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: inline-block;
  margin-bottom: 5px;
  vertical-align: middle;
  color: var(--color4);
  font-size: small;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color10);
  border-radius: 5px;
  color: var(--color7);
}

.form-group input[type="checkbox"] {
  margin-right: 10px;
  vertical-align: middle;
}

button {
  width: 100%;
  padding: 10px;
  background-color: var(--color4);
  color: var(--color1);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: small;
  text-transform: uppercase;
}

button:hover {
  background-color: var(--color5);
  color: var(--color7);
}

.forgot-password-link {
  display: block;
  text-align: center;
  font-size: small;
  margin-top: 20px;
  color: var(--color7);
}

.forgot-password-link:hover {
  color: var(--color3);
}

::placeholder {
  color: var(--color7);
  opacity: 0.6;
}

/* notification.js ------------------------------------------------------------ */
#notification-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 1000;
}
.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color11);
  color: var(--color9);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
  transform: translateY(0);
  font-size: small;
}
.notification.error {
  background-color: var(--color12);
}
.notification.hide {
  opacity: 0;
  transform: translateY(-20px);
}
.notification button {
  background: none;
  border: none;
  color: var(--color9);
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/* ICONS ------------------------------------------------------------ */
.material-symbols-outlined,
.print-icon {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  color: var(--color4);
  cursor: pointer;
}
.material-symbols-outlined:hover {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  color: var(--color5);
}

/* Estilos para el modal del menú */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.menu-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 150px;
  transition: transform 0.3s;
}

.menu-item:hover {
  transform: scale(1.05);
}

.menu-item span {
  font-size: 48px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .menu-item {
    width: 100%;
  }
}
