/* === MODALES === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeInScale 0.25s ease-in-out;
}

.modal-content h3 {
  margin-top: 0;
  text-align: center;
}

.modal-content label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 10px;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.95em;
}

.modal-content button.access-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-content button.access-btn:hover {
  background: #0056b3;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Ajuste para botón de día */
.reducir-dia-btn {
  background-color: #ff9933;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.reducir-dia-btn:hover {
  background-color: #e67e22;
}

/* MODALES END */

.container{
	padding: 20px;
}
.wrapper{
	width: 340px;
	margin: auto;
	padding: 20px;
    background-color: #f0f0f0;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    text-align: center;

}
.wrapper h2{
	font-size: 20px;
	color:#666666;
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
}
.wrapper img{
	max-width: 100%;
}
.ac-data{
    text-align: left;
}

.login-btn {
	transition: background-color .3s, box-shadow .3s;
	text-decoration: none;
	padding: 12px 16px 12px 42px;
	border: none;
	border-radius: 3px;
	box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
	
	color: #757575;
	font-size: 15px;
	font-weight: 500;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
	
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
	background-color: white;
	background-repeat: no-repeat;
	background-position: 12px 11px;
	display: inline-block;
	
	&:hover {
	  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
	}
	
	&:active {
	  background-color: #eeeeee;
	}
	
	&:focus {
	  outline: none;
	  box-shadow: 
		0 -1px 0 rgba(0, 0, 0, .04),
		0 2px 4px rgba(0, 0, 0, .25),
		0 0 0 3px #c8dafc;
	}
	
	&:disabled {
	  filter: grayscale(100%);
	  background-color: #ebebeb;
	  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
	  cursor: not-allowed;
	}
}

body {
    background: #000;
    color: #ff9800; /* Naranja */
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #ff9800;
}

a, label, input, button, p, span, li, td, th {
    color: #ff9800;
}

input, button, textarea, select {
    background: #222;
    border: 1px solid #ff9800;
    color: #ff9800;
    padding: 8px;
    margin: 5px 0;
}

button, input[type="submit"] {
    background: #ff9800;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover, input[type="submit"]:hover {
    background: #ffa733;
    color: #000;
}

/* Menú Semanal */
.dias-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.dia-card {
  background: #333;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.comida-titulo {
  font-weight: bold;
  color: #ffa733;
}

.comida-detalle {
  margin: 0.5rem 0;
}

/* Lista de Compra */
.macro-categoria {
  margin-bottom: 1.5rem;
}

.macro-categoria h4 {
  color: #ff9800;
  margin: 0.5rem 0;
}

.macro-categoria ul {
  list-style: none;
  padding-left: 1rem;
}

.macro-categoria li {
  margin: 0.3rem 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background: #222;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
}

.alternativa-item {
  padding: 1rem;
  border-bottom: 1px solid #ff9800;
}

/* Consejos */
.consejo-item {
  background: #333;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
