body { font-family: 'Inter', sans-serif; background-color: #f9fafb; color: #212529; margin: 0; padding: 0; } .card { height: auto !important; overflow: visible; display: block; } /* Asegura que la tarjeta se expanda al contenido */ .card-body { height: auto !important; overflow: visible; display: block; } /* Contenedor de la piscina */ #piscinaContainer { background-color: #e6f7ff; border: 2px dashed #007bff; transition: all 0.3s ease; overflow: visible; padding: 1rem; width: fit-content; height: fit-content; min-width: 300px; min-height: 200px; box-sizing: border-box; max-width: 100%; } /* Lienzo de piscina Konva */ #piscina { display: block; width: 100% !important; height: 100% !important; min-width: 300px; min-height: 200px; background-image: linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px); background-size: 45px 45px; background-position: top left; position: relative; overflow: hidden; } /* LĂ­nea de tiempo */ .timeline-placeholder { display: flex; overflow-x: auto; gap: 10px; padding: 1rem; border: 1px solid #ddd; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); } .timeline-placeholder .step { min-width: 100px; padding: 0.5rem; border: 1px solid #ccc; background: white; border-radius: 8px; text-align: center; cursor: pointer; box-shadow: 1px 1px 3px rgba(0,0,0,0.05); font-size: 0.85rem; transition: all 0.2s ease; } .timeline-placeholder .step:hover { background-color: #dbeafe; font-weight: bold; transform: scale(1.03); } /* Autocompletado */ #sugerenciasFigura { margin-top: 4px; padding: 6px 0; background-color: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); max-height: 160px; overflow-y: auto; position: absolute; width: 100%; z-index: 10; } #sugerenciasFigura button { display: block; width: 100%; padding: 6px 12px; font-size: 0.9rem; border: none; background: none; text-align: left; color: #333; cursor: pointer; transition: background 0.2s ease; } #sugerenciasFigura button:hover { background-color: #edf6ff; color: #007bff; font-weight: 500; } /* Vista previa */ #previewFigura img { margin-top: 8px; max-width: 100%; border: 1px solid #ddd; border-radius: 6px; height: auto; } #previewFigura p { font-size: 0.85rem; color: #555; margin-top: 4px; } /* Responsivo */ @media (max-width: 768px) { #piscina { min-height: 300px; } .timeline-placeholder .step { min-width: 80px; font-size: 0.75rem; } .step.active { background-color: #0d6efd !important; color: white !important; font-weight: bold; } }