/* Settings page specific styles */

.advanced-toggle-btn, #toggle-advanced {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font: inherit;
  /* font-size: 18px; */
}

.advanced-toggle-text {
  margin-left: 0.2em;
}

.triangle {
  font-size: 14px;
  display: inline-block;
  transition: transform 0.2s;
}

.advanced-toggle-btn.open .triangle {
  transform: rotate(90deg);
}

#advanced-settings {
  display: none;
}

.generate-pdf-btn {
  margin-bottom: 20px;
}

.advanced-toggle-btn:hover .advanced-toggle-text {
  text-decoration: underline;
}

.settings-section {
  margin-bottom: 24px;
} 

/* Hide the default file input */
.file-upload-input {
  display: none;
}

.settings-btn {
    display: inline-block;
    /* height: 40px;
    line-height: 40px; */
    padding: 8px 18px;
    background-color: rgb(228, 230, 250);
    color: #1a1a1a;
    border: 1px solid gray;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-align: center;
    /* margin-bottom: 8px; */
  }

/* Shared button styles for settings page */
/* .settings-btn {
  display: inline-block;
  padding: 8px 18px;
  background-color: rgb(207,211,250);
  color: #1a1a1a;
  border: 1px solid gray;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-align: center;
  margin-bottom: 8px;
} */
.settings-btn:hover, .settings-btn:focus {
  /* background-color: #bfc3e6; */
  text-decoration: underline;
}

/* File upload label specific tweaks (if any) */
.file-upload-label {
  /* No extra styles needed for now */
}

/* Generate PDF button specific tweaks (if any) */
.generate-pdf-btn {
  /* No extra styles needed for now */
} 

.file-name {
  display: inline-block;
  margin-left: 12px;
  font-size: 16px;
  color: #444;
  vertical-align: middle;
}

/* Help question mark styling */
.help-questionmark {
  display: inline-block;
  margin-left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s, transform 0.2s;
  vertical-align: middle;
  flex-shrink: 0;
}

.help-questionmark:hover {
  background-color: #0056b3;
  transform: scale(1.1);
  text-decoration: none;
  color: white;
}

/* Help page styling */
.help-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.help-container h1 {
  color: #333;
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
}

.help-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.help-section h2 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.help-section p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #555;
}

.help-section ul {
  margin: 10px 0;
  padding-left: 20px;
}

.help-section li {
  margin-bottom: 5px;
  line-height: 1.5;
  color: #555;
}

.help-section strong {
  color: #333;
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #545b62;
  text-decoration: none;
  color: white;
} 