*{
    font-family: "Pridi", serif;
}

body {
    font-family: "Pridi", serif;
    background-color: #f4f4f4;
    color: #333;
    margin:0;
}

header {
    background-color: #A73B24;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-info {
    display: flex;
    align-items: center;
}

.profile-info img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border: 2px solid #fff;
}

.profile-info span {
    font-size: 18px;
    font-weight: bold;
}

header button {
    background-color: #ffb300;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    right: 25px;
    position: absolute;
    margin: 0;
}

header button:hover {
    background-color: #ff8f00;
}

main {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #A73B24;
    color: #fff;
}

table td input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #A73B24;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    font-family: 'Pridi';
}

button:hover {
    background-color: #862612;
}

#subjectSelect {
  width: 200px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #A73B24;
  color: #fff;
  font-family: "Pridi", serif;
}


/* เปลี่ยนฟอนต์สำหรับตัวเลือกทั้งหมดใน select */
#subjectSelect option {
  font-family: "Pridi", serif;
  color: #fff; /* เปลี่ยนสีตัวอักษรในตัวเลือก */
  background-color: #A73B24; /* เปลี่ยนสีพื้นหลังในตัวเลือก */
}
