.library-form-wrapper {
    background: black;
    padding: 2em;
    border-radius: 20px;
    border: 3px solid white;
    margin: 1em auto;
}
/* Form heading inside the modal/card */
.library-form-title {
  font-family: "PermanentMarker";
  font-size: 2.2rem;
  color: #ffffff;
  margin: 0 0 1rem;
  text-align: center;
}

/* Status messages (errors / success) */
.status {
  font-family: "voguemedium";
  font-size: 1.25em;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.status.error {
  background: rgba(200, 50, 50, 0.18);
  border: 1px solid rgba(255, 120, 120, 0.85);
  color: #ffdddd;
}

.status.success {
  background: rgba(80, 180, 120, 0.18);
  border: 1px solid rgba(140, 235, 170, 0.9);
  color: #e3ffe9;
}

/* Each field block */
.field {
  margin-bottom: 1rem;
}

/* Labels */
.field label {
  display: block;
  font-family: "voguemedium";
  font-size: 1.25em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.35rem;
  text-align: left;
}

/* Inputs, selects, textareas */
.field input[type="text"],
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #000000;
  color: #ffffff;
  font-family: "voguemedium";
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus state */
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #544161;
  box-shadow: 0 0 0 2px rgba(84, 65, 97, 0.6);
  background: #050007;
}

/* Placeholder style */
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Published / Featured checkboxes row */
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin: 0.75rem 0 1.25rem;
}

.checkbox-row label {
  font-family: "voguemedium";
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox-row input[type="checkbox"] {
  accent-color: #544161;
}

/* Tags list (multi-checkbox area) */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-family: "voguemedium";
  font-size: 0.85rem;
}

.tags-list label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  font-weight: 400;
}

.tags-list input[type="checkbox"] {
  accent-color: #544161;
}

/* Submit button row */
.btn-row {
  margin-top: 1.5rem;
}

/* Submit button styled like your theme */
.btn-row button[type="submit"] {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #544161;
  color: #ffffff;
  font-family: "voguemedium";
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-row button[type="submit"]:hover {
  background: #55a7a5;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.btn-row button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Make the form play nice when it's inside your topic-window modal */
.topic-window .library-form-wrapper {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 14px;
}


@media (min-width: 1200px) {

.field input[type="text"],
.field input[type="number"],
.field textarea,
.field select {
    width: 75%;
}

.field label {
    text-align: center;
}

}
