/* In-app Log IT modal */
.it-support-fab {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 1070;
}

.it-support-fab button {
  border: 0;
  border-radius: 999px;
  background: #0f2744;
  color: #f8fafc;
  font-weight: 700;
  font-size: var(--lm-text-compact);
  padding: 0.65rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
  cursor: pointer;
}

.it-support-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1085;
  background: rgba(15, 23, 42, 0.45);
}

.it-support-modal-backdrop.is-open {
  display: block;
}

.it-support-modal {
  position: fixed;
  z-index: 1090;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(80vh, 36rem);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  display: none;
}

.it-support-modal.is-open {
  display: block;
}

.it-support-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem 0.5rem;
}

.it-support-modal-header h2 {
  margin: 0;
  font-size: var(--lm-text-emphasis);
  font-weight: 800;
}

.it-support-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.it-support-tabs button {
  border: 0;
  background: transparent;
  padding: 0.55rem 0.25rem;
  font-weight: 700;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.it-support-tabs button.is-active {
  color: #0f2744;
  border-bottom-color: #0f766e;
}

.it-support-panel {
  display: none;
  padding: 1rem 1.1rem 1.2rem;
}

.it-support-panel.is-active {
  display: block;
}

.it-support-panel label {
  display: block;
  font-size: var(--lm-text-caption);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.it-support-panel input,
.it-support-panel textarea,
.it-support-panel select {
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 0.55rem 0.7rem;
}

.it-support-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.it-support-actions button {
  border: 0;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.it-support-actions .primary {
  background: #0f766e;
  color: #fff;
}

.it-support-actions .ghost {
  background: #e2e8f0;
  color: #0f2744;
}

.it-support-msg {
  font-size: var(--lm-text-compact);
  margin-bottom: 0.75rem;
}

.it-support-msg.error {
  color: #b91c1c;
}

.it-support-msg.ok {
  color: #0f766e;
}

.it-support-history-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
}

.it-support-history-item strong {
  display: block;
  font-size: var(--lm-text-compact);
}
