/* Common stylesheet for Adaptive Tutor HTML files */
/* Excludes tutor.htm as requested */

/* Set sans-serif font family for all elements */
* {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Basic body styling */
body {
  margin: 0;
  padding: 20px;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.2em;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

/* Link styling */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* List styling */
ul, ol {
  margin: 1em 0;
  padding-left: 2em;
}

li {
  margin: 0.5em 0;
}

/* Form styling */
form {
  margin: 1em 0;
}

label {
  display: inline-block;
  width: 150px;
  font-weight: bold;
  margin-right: 10px;
}

input[type="text"], 
input[type="password"], 
input[type="email"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 200px;
}

input[type="submit"], 
button {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover, 
button:hover {
  background-color: #2980b9;
}

/* Paragraph styling */
p {
  margin: 1em 0;
}

/* Error and debug message styling */
.err {
  color: #e74c3c;
  font-weight: bold;
}

.debug {
  color: #7f8c8d;
  font-size: 0.9em;
  font-style: italic;
}

/* Container styling */
.heading {
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.mytitle {
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  h1 {
    font-size: 1.8em;
  }
  
  label {
    display: block;
    width: auto;
    margin-bottom: 5px;
  }
  
  input[type="text"], 
  input[type="password"], 
  input[type="email"] {
    width: 100%;
    max-width: 300px;
  }
}
