
/* Base Layout */
body {
  margin: 0;
  background: #f0f0f0;
  font-family: 'Roboto', 'Google Sans Code', Helvetica, sans-serif;
}

/* Branding Header */
.branding-header {
  background-color: #FF0000;
  color: #FFFFFF;
  padding: 2rem;
  text-align: center;
}

.branding-header h1 {
  font-size: 3rem;
  margin: 0;
  font-family: 'Roboto Condensed', 'Google Sans Code', Helvetica, sans-serif;
}

/* Main Content Wrapper */
main {
  padding: 1rem 5rem 5rem 5rem;
}

/* Generate Button Container */
#generateBtnContainer {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Generate Button Styling */
#generateButton {
  background-color: #FF0000;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: 3px solid #000000;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Roboto', 'Google Sans Code', Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
}

#generateButton:hover {
  background-color: #cc0000;
}

/* Link Output Styling */
#output {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 2rem;
  min-height: 2rem;
}

#output a {
  color: #FF0000;
}

/* Section Headings */
.section-heading {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* Collapsible Sections */
.collapsible-section {
  margin-bottom: 1rem;
}

.collapsible-header {
  cursor: pointer;
  font-weight: bold;
  margin: 1rem 0;
  user-select: none;
}

.triangle::before {
  content: '\25B6';
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s;
}

.expanded .triangle::before {
  transform: rotate(90deg);
}

.collapsed-content {
  display: none;
}

.expanded .collapsed-content {
  display: block;
}

/* Tables and Checkboxes */
.video-source-table,
.mapping-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.0rem 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.0;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Date Inputs */
.inline-date {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline-date label {
  margin: 0.5rem 0 0.25rem;
}

/* Custom Checkbox Styles */
.container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #ccc;
  border-radius: 4px;
}

.container input:checked ~ .checkmark {
  background-color: #FF0000;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Footer / Attribution */
main p {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  color: #555;
}

main p a {
  color: #FF0000;
  text-decoration: none;
}
.button-group button {
  background-color: #FF0000;
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border: 2px solid #000000;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Roboto', 'Google Sans Code', Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.button-group button:hover {
  background-color: #cc0000;
}
