/* TEAR · Post Creation Form · styles */

.pform-modal {
  max-width: 720px;
  width: 100%;
}

.pform-modal__head {
  border-bottom: 1px solid var(--border-1);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
}

.pform-modal__head h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-1);
}

.pform {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pform__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pform__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.pform__row label {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pform__label {
  font-size: var(--text-xs);
  color: var(--text-md);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-family: var(--font-mono);
}

.pform-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%236b6b6b' d='M6 8L2 4h8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.pform__textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  line-height: var(--leading-relaxed);
}

.pform__check {
  flex-direction: row !important;
  align-items: center;
  gap: var(--space-2) !important;
  cursor: pointer;
  padding: var(--space-2) 0;
}

.pform__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-500);
  cursor: pointer;
}

.pform__check span {
  font-size: var(--text-sm);
  color: var(--text-md);
}

.pform__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-1);
  margin-top: var(--space-2);
}

.pform__status {
  font-size: var(--text-xs);
  color: var(--text-lo);
  text-align: right;
  min-height: 1.2em;
}

.pform__status--ok {
  color: var(--accent-300);
}

.pform__status--error {
  color: var(--danger);
}

/* Botão Novo post no calendar */
.cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-1);
}

.cal-toolbar__title {
  font-size: var(--text-sm);
  color: var(--text-md);
}
