/* === Variables === */ :root { --color-primary: #0d6efd; --color-secondary: #6c757d; --color-light: #f9fafb; --color-border: #dee2e6; --radius-lg: 0.75rem; --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08); --font-family: 'Inter', sans-serif; } /* === Reset === */ body { font-family: var(--font-family); font-size: 1rem; background-color: var(--color-light); color: #212529; } /* === Cards === */ .card { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); } /* === Forms === */ .form-control, .form-select { border-radius: var(--radius-lg); border: 1px solid var(--color-border); transition: border-color 0.2s; } .form-control:focus, .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15); } /* === Botones === */ button, .btn { border-radius: var(--radius-lg); font-weight: 600; } .btn-primary { background-color: var(--color-primary); border-color: var(--color-primary); } .btn-primary:hover { background-color: #084298; } .btn-outline-secondary:hover, .btn-outline-primary:hover { opacity: 0.9; } /* === Piscina === */ #piscinaContainer { background-color: #e6f7ff; border: 2px dashed #007bff; border-radius: var(--radius-lg); aspect-ratio: 2 / 1; width: 100%; height: auto; max-width: 100%; overflow: hidden; } #piscina { width: 100%; height: 100%; 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; display: block; } /* === Timeline === */ .timeline-placeholder { border: 1px solid #ccc; border-radius: var(--radius-lg); padding: 1rem; background-color: white; box-shadow: var(--shadow-md); overflow-x: auto; } .timeline-placeholder .step { min-width: 100px; padding: 0.5rem; background: white; border: 1px solid #ccc; border-radius: 0.5rem; font-size: 0.85rem; cursor: pointer; transition: all 0.2s ease; } .timeline-placeholder .step:hover { background-color: #dbeafe; } .step.active { background-color: var(--color-primary); color: white; font-weight: bold; } /* === Sugerencias figura === */ #sugerenciasFigura { background: #fff; border: 1px solid #ccc; border-radius: 6px; position: absolute; width: 100%; z-index: 10; max-height: 160px; overflow-y: auto; } #sugerenciasFigura button { width: 100%; padding: 6px 12px; border: none; background: none; text-align: left; font-size: 0.9rem; cursor: pointer; } #sugerenciasFigura button:hover { background-color: #edf6ff; font-weight: 500; } /* === Audio === */ #waveform { height: 80px; background: #f1f3f5; border-radius: 6px; } #audioPlayer { display: none; } /* === Responsivo === */ @media (max-width: 768px) { .timeline-placeholder .step { min-width: 80px; } #piscinaContainer { aspect-ratio: 1.5 / 1; } } /* === Ancho de página controlado === */ main.container-xl { max-width: 1440px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }