/* static/css/constants_components.css — Immune Shared UI Components (Rule 5/17) */
/* Strictly <= 200 lines and <= 100 characters per line. */

.pane-header-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #181A1B;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.pane-header-icon-navy {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1E2C3A;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.pane-side-info-box {
  padding: 0.75rem;
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.75rem;
}

.branch-subtext {
  font-size: 11px;
  font-family: monospace;
  color: #737373;
  padding-top: 0.125rem;
}

.branch-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.75rem;
}

.anki-modal-close-btn {
  color: #A3A3A3;
  font-weight: 700;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.anki-modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.anki-modal-dismiss-btn {
  width: 100%;
  min-height: 44px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: #A3A3A3;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.anki-modal-dismiss-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.anki-modal-dismiss-btn:active {
  transform: scale(0.95);
}

.dossier-pre-content {
  font-family: monospace;
  font-size: 0.75rem;
  color: #262626;
  white-space: pre-wrap;
  line-height: 1.625;
}

.anki-timer-preset-btn {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid #2C2C2C;
  background-color: #2A2A2A;
  color: #D4D4D4;
  font-weight: 600;
  text-align: center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.anki-timer-preset-btn:hover {
  border-color: #737373;
}

.empty-state-notice {
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: #A3A3A3;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
}

.badge-gp-done {
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  background-color: #FAF9F6;
  color: #1E5233;
  border: 1px solid rgba(30, 82, 51, 0.3);
  font-family: monospace;
}

.badge-gp-act {
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  background-color: #FDF1EF;
  color: #E63920;
  border: 1px solid rgba(230, 57, 32, 0.3);
  font-weight: 700;
  font-family: monospace;
}

.badge-gp-plan {
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  background-color: #FAF9F6;
  color: #737373;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: monospace;
}

.badge-conforme {
  font-size: 10px;
  font-family: monospace;
  color: #264332;
  background-color: #EEF7F1;
  padding: 0.125rem 0.5rem;
  border: 1px solid rgba(38, 67, 50, 0.2);
  font-weight: 700;
}

.leaf-content-scroll {
  flex-grow: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: calc(100vh - 210px);
}

.badge-neutral {
  padding: 0.125rem 0.5rem;
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #404040;
}

.btn-exam-pill {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.625rem;
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-exam-pill:hover { border-color: #000000; }
.btn-exam-pill:active { transform: scale(0.95); }

.pane-side-note {
  font-size: 10px;
  color: #737373;
  font-family: monospace;
  line-height: 1.25;
}
