.container-03-1 {
  display: grid;
  grid-template-columns: 1fr 1fr ;
  /* แบ่งสองคอลัมน์แบบเท่ากัน */
  grid-template-rows: 50px auto;
  /* กำหนดแถวแรกสูง 50px และแถวที่สองให้สูงอัตโนมัติ */
  gap: 10px;
  /* ระยะห่างระหว่างคอลัมน์ */
  padding: 5px;
}

.container-03-1-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* แบ่งสองคอลัมน์แบบเท่ากัน */
  grid-template-rows: 100px auto;
  /* กำหนดแถวแรกสูง 110px และแถวที่สองให้สูงอัตโนมัติ */
  gap: 10px;
  /* ระยะห่างระหว่างคอลัมน์ */
  padding: 10px;
}

.container-03-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /* แบ่งสองคอลัมน์แบบเท่ากัน */
  grid-template-rows: 600px auto;
  /* กำหนดแถวแรกสูง 110px และแถวที่สองให้สูงอัตโนมัติ */
  gap: 10px;
  /* ระยะห่างระหว่างคอลัมน์ */
  padding: 10px;
}

.container-03-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /* แบ่งสองคอลัมน์แบบเท่ากัน */
  grid-template-rows: 900px auto;
  /* กำหนดแถวแรกสูง 110px และแถวที่สองให้สูงอัตโนมัติ */
  gap: 10px;
  /* ระยะห่างระหว่างคอลัมน์ */
  padding: 10px;
}

.container-03-4 {
  display: grid;
  grid-template-columns: 1fr;
  /* แบ่งสองคอลัมน์แบบเท่ากัน */
  grid-template-rows: 580px auto;
  /* กำหนดแถวแรกสูง 110px และแถวที่สองให้สูงอัตโนมัติ */
  gap: 10px;
  /* ระยะห่างระหว่างคอลัมน์ */
  padding: 10px;
}


/* กำหนดสีพื้นหลังสำหรับ Grid ที่ 2 */
.section-right-infil {
  background-color: #d3e0ea;
  /* สีพื้นหลังสำหรับ Grid ที่ 2 */
  padding: 5px;
}

.section-row2-infil {
  background-color: #f5f5f5;
  /* สีพื้นหลังชั่วคราว */
  padding: 10px;
  display: flex;
  flex-direction: column;
  /* จัดให้อยู่ในแนวตั้ง */
  justify-content: center;
  /* จัดแนวกลางในแนวตั้ง */
  align-items: center;
  /* จัดแนวกลางในแนวนอน */
}

.section-row3 {
  background-color: #f5f5f5;
  /* สีพื้นหลังชั่วคราว */
  padding: 10px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #e1f5fe;
  color: #000000;
  margin: 0;
  padding: 20px;
}

.form-container {
  width: 45%;
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
}

.input-group label {
  min-width: 200px;
}

.input-group input,
.input-group select {
  background-color: #ffcccc;
  margin-right: 5px;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: #a0a0a0;
}

.input-group-2 {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.input-group-2 label {
  min-width: 200px;
}

.input-group-2 input,
.input-group-2 select {
  background-color: #ffffff;
  margin-right: 5px;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

/* Styles for the table */
table {
  width: 75%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: white;
}

#specific-style1 table,
#specific-style1 th,
#specific-style1 td {
  border: 1px solid black;
}

th,
td {
  padding: 7.5px;
  text-align: center;
}

#specific-style1 th {
  background-color: #f2f2f2;
}

.highlight {
  color: red;
}

.highlight-2 {
  color: blue;
}

.fraction {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.fraction .top {
  border-bottom: 1px solid black;
  display: block;
  padding-bottom: 2px;
}

.fraction .bottom {
  display: block;
  padding-top: 2px;
}

.font-tabel-h2 {
  font-size: 13px;
}

/* สไตล์สำหรับ style-2 */
.style-2 {
  border-collapse: collapse;
  margin-right: 80px;
  width: 150px;
}

.style-2 td,
.style-2 th {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}

/* สไตล์สำหรับ style-2-input */
.style-2-input {
  border-collapse: collapse;
  margin-right: 80px;
  width: 200px;
}

.style-2-input td,
.style-2-input th {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}

/* ปรับขนาด input ให้พอดีกับขนาดของตาราง */
.style-2-input input {
  width: 100%;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

/* กำหนดพื้นที่สำหรับตารางหลักและตารางสมการ */
.table-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.style-2-input input:focus {
  outline: none;
}

.table-left {
  width: 50%;
}

/* สไตล์สำหรับสมการ */
.equation-container {
  width: 45%;
  margin-left: 20px;
  /* เว้นระยะห่างจากตารางด้านซ้าย */
}

.equation {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
}

.operation {
  font-size: 18px;
}

input#En_Above_Middle_Temp,
input#En_Above_Middle_RH,
input#En_Below_Middle_Temp,
input#En_Below_Middle_RH,
input#AirIn_Above_Middle_Roomsize,
input#AirIn_Above_Middle_RoomTemp,
input#AirIn_Below_Middle_Roomsize,
input#AirIn_Below_Middle_RoomTemp {
  color: red;
}

.style-2,
.equation-container {
  float: right;
  /* ย้ายตารางและสมการไปด้านขวา */
}

.text-formula {
  font-size: 15px;
  color: brown;
}

.red-text {
  color: red;
}

.blue-text {
  color: blue;
}

.green-text {
  color: green;
}

.bold-text {
  font-weight: bold;
}