/* Lesson Planner Form Container */
#lessonPlannerForm {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #f7f7f7;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Input fields and selects */
#lessonPlannerForm input[type="text"],
#lessonPlannerForm input[type="number"],
#lessonPlannerForm select,
#lessonPlannerForm textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}

/* Label styling */
#lessonPlannerForm label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* Button styling */
#lessonPlannerForm button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #0073aa;
  color: #fff;
  font-size: 16px;
  
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s;
}
.form-buttons{
  display:flex;
justify-content: space-between;
margin-top: 20px;

}
.note {
  background: #fff9db; /* Light yellow background */
  border-left: 4px solid #f0c419; /* A darker yellow for the left border */
  padding: 10px 15px;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  border-radius: 4px;
}
.note h3 {
  margin-top: 0;
  font-weight: bold;
  color: red; /* Match the border color */
  display: flex;
  align-items: center;
  gap: 8px;
  text-align:center;
  font-size: 16px;
}

.note p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.note p svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: #f0c419;
}
.note a {
  color: blue;
  font-weight: bold;
  text-decoration: underline;
}


#lessonPlannerForm button:hover {
  background-color: #005d8a;
}

/* Word counter */
#wordCount {
  font-size: 14px;
  color: #555;
  float: right;
  margin-top: -10px;
  margin-bottom: 15px;
}

/* Spinner overlay */
#lp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner */
#lp-overlay .spinner {
  border: 6px solid #ccc;
  border-top: 6px solid #0073aa;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
