/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Bridge Components */
[data-controller^="bridge--button"] {
  display: none;
}
[data-controller^="bridge--hide-tab-bar"] button {
  display: none;
}

/* Diff styles */
.diff {
  overflow-x: auto;
  padding: 8px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.25;
}

/* Override Tailwind defaults */
.diff ul.diff {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  display: flex !important;
  justify-content: space-between !important;
}

.diff ul.diff li {
  padding: 0 !important;
  margin: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.25 !important;
}

.diff .del {
  background-color: #fee2e2;
  color: #991b1b;
}

.diff .ins {
  background-color: #dcfce7;
  color: #166534;
  text-decoration: none;
}

.diff .diff-header {
  color: #6b7280;
  font-style: italic;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 4px;
  padding-bottom: 2px;
}
