/* Ubuntu font definitions from provided CSS */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/300-normal.eot");
  src: local("Ubuntu Light"),local("Ubuntu-Light"),url("fonts/300-normal.woff") format("woff"),url("fonts/300-normal.ttf") format("truetype"),url("fonts/300-normal.eot") format("embedded-opentype");
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/400-normal.eot");
  src: local("Ubuntu"),url("fonts/400-normal.woff") format("woff"),url("fonts/400-normal.ttf") format("truetype"),url("fonts/400-normal.eot") format("embedded-opentype");
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/500-normal.eot");
  src: local("Ubuntu Medium"),local("Ubuntu-Medium"),url("fonts/500-normal.woff") format("woff"),url("fonts/500-normal.ttf") format("truetype"),url("fonts/500-normal.eot") format("embedded-opentype");
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/700-normal.eot");
  src: local("Ubuntu Bold"),local("Ubuntu-Bold"),url("fonts/700-normal.woff") format("woff"),url("fonts/700-normal.ttf") format("truetype"),url("fonts/700-normal.eot") format("embedded-opentype");
}

@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/400-italic.eot");
  src: local("Ubuntu Italic"),local("Ubuntu-Italic"),url("fonts/400-italic.woff") format("woff"),url("fonts/400-italic.ttf") format("truetype"),url("fonts/400-italic.eot") format("embedded-opentype");
}

/* Alternative: Use Google Fonts if local fonts are unavailable */
/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Ubuntu:ital@1&display=swap'); */

/* General styles */
body {
font-family: "Ubuntu", sans-serif;
font-weight: 400;
background-color: #f5f5f5;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 60px 20px 20px;
box-sizing: border-box;
}

h2 {
font-weight: 700;
font-size: 1.8rem;
color: #2c3e50;
margin-bottom: 20px;
}

/* Form styles */
form {
background: white;
padding: 25px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 600px;
margin-bottom: 20px;
}

label {
display: block;
font-weight: 400;
margin-bottom: 8px;
color: #34495e;
}

input, select {
width: 100%;
padding: 10px;
font-size: 1rem;
border: 1px solid #dcdcdc;
border-radius: 4px;
margin-bottom: 25px;
font-family: "Ubuntu", sans-serif;
font-weight: 400;
box-sizing: border-box;
}

input:focus, select:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

button {
width: 35%;
padding: 12px;
background-color: #F46D00;
color: white;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s;
}

button:hover {
background-color: #ff8622c4;
}

button:focus {
outline: none;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Checkbox list styles */
.question-list {
  list-style: none;
  padding: 0px;
  margin-bottom: 35px;
}

.question-list__item {
  padding-left: 40px;
  position: relative;
  margin-bottom: 20px;
}

.question-list__item input[type="checkbox"] {
  position: absolute;
  left: 14px;
  top: 0px;
  margin: 0px;
  width: 20px;
  height: 20px;
  border: 2px solid #3498db;
  border-radius: 4px;
  appearance: none; /* Remove default styling */
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s;
}

.question-list__item input[type="checkbox"]:hover {
  border-color: #2980b9;
}

.question-list__item input[type="checkbox"]:checked {
  background-color: #3498db;
  border-color: #3498db;
}

.question-list__item input[type="checkbox"]:checked::after {
  content: '\2713'; /* Checkmark Unicode */
  color: white;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.question-list__item label {
  padding-left: 10px;
  margin-bottom: 15px;
}


/* Timer styles */
#timer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #c0392b;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#time-display {
font-weight: 700;
color: #c0392b;
}

/* Feedback messages */
#result {
color: #27ae60;
font-weight: 500;
margin-top: 10px;
}

#error, #email-error {
color: #c0392b;
font-weight: 500;
margin-top: 10px;
}

/* Responsive design */
@media (max-width: 600px) {
form {
  padding: 15px;
}

h2 {
  font-size: 1.5rem;
}

#timer {
  font-size: 1rem;
}
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

