/* static/css/constants_modals.css — Immune Modal Theme Tokens (Rule 5/17) */
/* Strictly <= 200 lines and <= 100 characters per line. */

.anki-modal-close-btn {
  color: #A3A3A3;
  font-weight: 700;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  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);
}

.anki-modal-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2C2C2C;
  padding-bottom: 0.625rem;
}

.anki-modal-footer-btn {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  color: #D4D4D4;
  font-weight: 700;
  font-size: 0.75rem;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.anki-tab-card {
  background-color: #161616;
  border: 1px solid #2A2A2A;
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.anki-timer-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #D4D4D4;
  font-weight: 600;
  font-size: 11px;
}

.gpu-card {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout;
}

.gpu-scroll {
  contain: layout paint;
  transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}

