/* Modern Color Scheme Based on Color Theory */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #2c3e50; /* Deep blue background */
  color: #ecf0f1; /* Light gray text for contrast */
}

.container {
  display: flex;
  height: 100vh;
}

.controls {
  flex: 0 0 40%; /* Controls section takes 40% of the width */
  padding: 20px;
  background-color: #34495e; /* Slightly lighter blue for contrast */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  overflow-y: auto; /* Add scroll if content overflows */
}

.preview-section {
  flex: 1; /* Preview section takes the remaining space */
  padding: 20px;
  background-color: #2c3e50; /* Deep blue background */
  overflow-y: auto; /* Add scroll if content overflows */
}

.preview-frame {
  width: 100%;
  height: 100%;
  border: 1px solid #95a5a6; /* Soft gray border */
  background-color: #34495e; /* Slightly lighter blue for the iframe */
}

.upload-section {
  margin-bottom: 20px;
}

.file-upload {
  margin-bottom: 15px;
}

.section {
  margin-bottom: 20px;
}

.checkbox-group, .input-group {
  margin-top: 10px;
}

.button-group {
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #e67e22; /* Warm orange for buttons */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #d35400; /* Darker orange on hover */
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ecf0f1; /* Light gray text */
}

input[type="text"], input[type="file"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #95a5a6; /* Soft gray border */
  border-radius: 4px;
  background-color: #34495e; /* Slightly lighter blue background */
  color: #ecf0f1; /* Light gray text */
}

input[type="text"]:focus, input[type="file"]:focus {
  border-color: #27ae60; /* Vibrant green for focus */
  outline: none;
}

h1, h2 {
  color: #27ae60; /* Vibrant green for headings */
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Style for checkboxes */
input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #27ae60; /* Vibrant green for checkboxes */
}

/* Style for file upload labels */
.file-upload h2 {
  color: #ecf0f1; /* Light gray text */
}

/* Table of Contents Links */
a {
  color: #27ae60; /* Vibrant green for links */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

a:hover {
  color: #e67e22; /* Warm orange for hover state */
}

/* Add this to your styles.css */
.highlight {
  background-color: #ffff00; /* Yellow highlight */
  transition: background-color 0.5s ease; /* Smooth transition */
}
