.container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pesem-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input[type="number"],
input[type="text"] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.kitica {
  margin-bottom: 2rem;
}

.editor {
  height: 150px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.hidden-textarea {
  display: none;
}

.kitica-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* za resize textboxa, ko dodaš text, v višino */
.ql-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  height: auto !important;     /* allow dynamic growth */
}

.ql-editor {
  overflow-y: hidden !important; /* prevent internal scrollbars */
  min-height: 100px;
  transition: height 1.2s ease;
}

.add-btn,
.remove-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

.add-btn:hover {
  background-color: #0056b3;
}

.remove-btn {
  background-color: #dc3545;
}

.remove-btn:hover {
  background-color: #a71d2a;
}

.submit-container {
  text-align: center;
}

.submit-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.submit-btn:hover {
  background-color: #1e7e34;
}

@media (max-width: 600px) {
  .editor {
    height: 120px;
  }

  .pesem-info {
    flex-direction: column;
  }
}
