html {
    font-family: sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 10px;
    max-width: 1200px;
}

.wrapper > table {
    flex: 1;
}

h1 {
    font-size: 1rem;
    padding: 0 10px;
    color: #1d3557;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 2px solid rgb(140 140 140);
    font-size: 1rem;
    letter-spacing: 1px;
    color: #1d3557;
}
  
caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
}
  
thead,
tfoot {
    background-color: #1d3557;
    color: #f1faee;
}

tbody {
    background-color: #f1faee;
}
  
th,
td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
    text-align: center;
    word-wrap: break-word;
}

.td-center {
    text-align: center;
}
  
td:last-of-type {
    text-align: center;
}
  
/* tbody > tr:nth-of-type(even) {
    background-color: rgb(237 238 242);
} */
  
tfoot th {
    text-align: right;
}
  
tfoot td {
    font-weight: bold;
}
  
tbody > .drop {
    background-color: #a8dadc;
}

tbody > .selected-row {
    /* background-color: yellow; */
    color: #e63946;
    font-weight: bold;
}

footer > p {
    border: 2px solid rgb(140 140 140);
    color: #1d3557;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #a8dadc;
    padding: 15px;
    margin-top: 10px;
}

.flash-error {
    border: 2px solid rgb(140 140 140);
    color: #F1FAEE;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #E63946;
    padding: 15px;
    margin-top: 10px;
}

.flash-info {
    border: 2px solid rgb(140 140 140);
    color: #1D3557;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #F1FAEE;
    padding: 15px;
    margin-top: 10px;
}

.form-field {
    display: block;
    margin: 10px;
}

.link {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.table-desktop {
    font-size: 1rem;
}

.qrcode{
    margin: 20px 0;
}

dialog::backdrop{
    background-color: #a8dadc;
}

button {
    font-size: 1rem; 
    padding: 5px 10px; 
    margin: 1px; 
    background-color: #1d3557; 
    color: #f1faee; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}
button:disabled {
    background-color: #cccccc; /* Gris claro */
    color: #666666; /* Gris oscuro */
    cursor: not-allowed;
    border: 1px solid #aaaaaa;
}

.disable-lots{
    background-color: #e74c3c;
}
.enable-lots{
    background-color: #4CAF50;
}

button:hover {
    background-color: #457b9d; 
}

dialog button {
    font-size: 0.8rem; 
    padding: 8px 14px;
    margin: 2px;
    border-radius: 6px;
}

dialog form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

dialog button {
    margin-top: 5px;
}

header h1 {
    font-size: 1.5rem;
    color: #1d3557;
    text-align: center;
    margin-bottom: 3px;
}

.env-development table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.env-development table th,
.env-development table td {
    padding: 10px;
    border: 1px solid #ee0606;
}

.env-development table th {
    background-color: #ffcc80;
    color: #333;
}
  
.env-development {
    background-color: #222;
    color: #fff;
}

.env-development a {
    color: #ff9800;
}

.env-development .button {
    background-color: #4CAF50;
    color: white;
}

.env-development h1 {
    color: #E63946;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
} 
.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 5px;
}

.card {
    background-color: #f1faee;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.card.drop{
    background-color: #a8dadc;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1d3557;
}

.card-content p {
    margin: 3px 0;
    font-size: 1rem;
    color: #333;
}

.selected-row .card-title {
  color: #e63946;
  font-weight: bold;
}

.card-current {
  background: #ffffff;
  border: 2px solid #4e4caf;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.card-current .card-title {
  color: #1d3557;
  font-weight: 600;
}

.card-secondary {
  background: rgba(238, 248, 238, 0.6);
  border: 1px dashed rgba(0,0,0,0.06);
  box-shadow: none;
  filter: grayscale(8%);
}

.card-secondary .card-title {
  color: #334;
  font-weight: 500;
}

.card-queue {
  background: rgba(220, 220, 220, 0.35);
  border: 1px solid rgba(140, 140, 140, 0.08);
  filter: grayscale(35%);
  opacity: 0.85;
}

.card-queue .card-title {
  color: #1f1f1f;
  font-style: italic;
}
.card .actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
}
.prev {
  background-color: #ff0000;
}

.upload-box {
border: 2px #777;
border-radius: 10px;
padding: 14px;
margin: 10px 0 18px;
}
.dropzone {
margin-top: 10px;
border: 2px dashed #999;
border-radius: 10px;
padding: 16px;
text-align: center;
cursor: pointer;
user-select: none;
}
.dropzone.dragover {
border-color: #0a7;
outline: 2px solid rgba(0, 170, 120, 0.25);
}
.dropzone small { display:block; margin-top:6px; opacity:.7; }

.file-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.disable-recipe{
    background-color: #4CAF50;
}
.enable-recipe{
    background-color: #e74c3c;
}