/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Header Styles */
header {
    display: flow;
    align-items: center;
    background-color: #222;
    padding: 10px;
    color: white;
}

.profile-img {
    width: 80px;  /* Adjust size as needed */
    height: 80px;
    border-radius: 50%;  /* Makes the image circular */
    margin-right: 15px;  /* Spacing between image and title */
    border: 3px solid white;
}

header h1 a {
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li, nav a {
    display: inline;
    margin: 0 15px;
}

nav ul li a, nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
main {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
}

/* Form Inputs */
form label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
    text-align: left;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Focus Effect */
form input:focus, form textarea:focus {
    border-color: #0073e6;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 115, 230, 0.5);
}

/* Submit Button */
button {
    background-color: #0073e6;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    margin: 10px;
    width: 200px;
}

button:hover {
    background-color: #005bb5;
}

/* Footer Styles */
footer {
    bottom: 0px;
    padding: 10px;
    background-color: #0073e6;
    color: white;
    position: fixed;
    width: 100%;
}

/* table styles */
td:nth-child(5) {
    text-align: left;
    text-wrap: auto;
    padding: 5px;
    max-width: 400px;
}

td, th {
    border: 1px solid gainsboro;
    padding: 5px;
}

.admin-page main {
    max-width: 900px;
}
.admin-page main > ul {
    display: none;
}

.text-left li {
    text-align: left;
    padding: 10px;
}

.resume-container {
    text-align: left;
}

  canvas#ratingDonut, canvas#ratingBar {
    display: inline !important;
  }


  .rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em 0;
  }
  
  /* Row for the 'Bad' and 'Great' headers */
  .rating-row.labels {
    display: flex;
    justify-content: space-between;
    width: 240px; /* Match approx total width of buttons */
    font-weight: bold;
    margin-bottom: 6px;
  }
  
  .rating-row .left-label,
  .rating-row .right-label {
    flex: 1;
  }
  
  .rating-row .spacer {
    flex: 3;
  }
  
  /* Radio group styling */
  .rating-group {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  /* Hide default radios */
  .rating-group input[type="radio"] {
    display: none;
  }
  
  /* Custom radio buttons */
  .rating-group label {
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #555;
    user-select: none;
  }
  
  .rating-group label:hover {
    background-color: #e0e0e0;
  }
  
  .rating-group input[type="radio"]:checked + label {
    background-color: #0073e6;
    color: white;
    border-color: #0073e6;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  }

  form select,
form input[type="file"],
form input[type="date"],
form input[type="number"],
form input[type="text"] {
  width: 100%;
  font-size: 16px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form input[type="checkbox"],
form input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

form label[for] {
  font-weight: bold;
  display: block;
  margin-top: 15px;
  text-align: left;
}

form input[type="file"] {
  padding: 5px;
  background-color: white;
  border: 1px solid #ccc;
}

form .radio-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}