@tailwind base;
@tailwind components;
@tailwind utilities;

/* To add custom rails run rake tailwindcss:build */

.tooltip {
  @apply invisible absolute;
}

.has-tooltip:hover .tooltip {
  @apply visible z-50;
}

.flash_alert {
  @apply my-2 p-4 bg-red-500 text-white rounded-lg;
}
.mcp-insights h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.mcp-insights h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; }
.mcp-insights h3 { font-weight: 600; margin: 1rem 0 .5rem; }
.mcp-insights section, .mcp-insights footer { margin-top: 2rem; }
.mcp-insights a { text-decoration: underline; text-underline-offset: .2em; }
.mcp-insights a[aria-current="page"] { font-weight: 700; text-decoration-thickness: .2em; }
.mcp-insights a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mcp-insights .mcp-table { overflow-x: auto; }
.mcp-insights table { width: 100%; border-collapse: collapse; }
.mcp-insights th, .mcp-insights td { text-align: left; padding: .5rem; border-bottom: 1px solid #9ca3af; }
.mcp-insights code { overflow-wrap: anywhere; white-space: pre-wrap; }
.mcp-insights .mcp-bar { display: block; height: .5rem; background: currentColor; min-width: 0; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
#error-msg {
  position: relative;
  transition: opacity 1.5s;
}
button.close-msg {
  position: absolute;
  top: 0;
  right: -5px;
  border-radius: 50%;
  padding: 0 6px;
  background-color: white;
  color: black;
  border: 1px solid lightgray;
}
