@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
}

main > #content {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

input:focus {
  outline: none;
  border-color: #0ea5e9; /* sky-500 */
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.4);
}

/* --- ESTILOS PARA MODALES --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 28rem; /* default max-width */
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    padding: 1.25rem; /* p-5 */
}

.modal-overlay.hidden {
    display: none;
}

/* Estilos para iconos de info GENÉRICOS */
.info-icon::before {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  font-style: italic;
  font-weight: bold;
  color: #9ca3af; /* gray-400 */
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 9999px; /* rounded-full */
  width: 1.25rem; 
  height: 1.25rem;
  line-height: 1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.info-icon:hover::before {
    background-color: #e5e7eb; /* gray-200 */
    color: #4b5563; /* gray-600 */
    border-color: #9ca3af; /* gray-400 */
}