/* Hide the Browse button after a file is uploaded */
#browseButton {
  display: none;
}

/* Display the PDF preview fully without scrollbars */
#previewFrame {
  display: none;
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 8.5; /* Letter size landscape */
  border: none;
}

.drag-area {
  border: 2px dashed #aaa;
  border-radius: 10px;
  padding: 3rem;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f0f8ff;
  text-align: center;
}

.browse-label {
  display: block;
  margin-top: 1rem;
}

.browse-btn {
  display: inline-block;
  background-color: #4DA6FF;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#proposalsSection {
  margin-top: 2rem;
  padding: 1rem;
}

#proposalsSection .proposal-title {
  margin-bottom: 0.75rem; /* reduce spacing below heading */
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

#proposalCardsContainer .folder-card iframe {
  width: 100%;
  height: 160px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#proposalUploadForm {
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 600px;
  background: #fafafa;
}
#proposalUploadForm input,
#proposalUploadForm textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

.proposal-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.proposal-column {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proposal-column label {
  margin-bottom: 4px;
  font-weight: 600;
}

.proposal-column input,
.proposal-column textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}

.proposal-form h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.browse-btn {
  display: inline-block;
  background-color: #4DA6FF;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}