/* TSOS.css */

body {
  background: #909193 url(distrib/images/linen.png) repeat;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-size: 12pt;
  font-weight: normal;
  font-style: normal;
}

h1 {
  color: black;
  font-size: 24pt;
  font-weight: normal;
  font-style: normal;
  border-bottom: 1px solid black;
}

h2 {
  color: black;
  font-size: 20pt;
  font-weight: normal;
  font-style: normal;
}

h3 {
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-size: 16pt;
  font-weight: normal;
  font-style: normal;
}

#display {
  background-color: #dfdbc3;
  border: 2px solid red;
  cursor: default;
}

.normal_button {
  width: 100px;
}

.footerText {
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  text-align: center;
}

#divDisplayBar {
  text-align: center;
  font-weight: bold;
}

ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

li {
  background-color: white;
  margin: 2px;
  padding: 1px;
  width: calc(33.33% - 20px); /* Divide into 3 columns */
  box-sizing: border-box;
}

#intro {
  font-size: 20px;
  margin: 10px;
}

#memoryDisplay {
  overflow: scroll;
  width: 400px;
  height: 220px;
  margin: 10px 10px 10px 10px;
  text-align: center;
  background-color: #000;
}

#memoryLog {
  width: 100%;
  border: 1px solid #000;
  padding: 10px;
  text-align: center;
  background-color: rgb(211, 226, 211);
  border-collapse: collapse;
}

#memoryLog th,
#memoryLog td {
  border: 1px solid #000;
  padding: 5px;
}

#memoryLog th {
  background-color: #000;
  font-weight: bold;
}

#divLog,
#cpuLog,
#pcbLog,
#readyQueueLog {
  width: 400px;
  height: 180px;
  text-align: center;
  background-color: #000;
  margin: 10px;
}

.title {
  color: white;
  position: relative;
}

#cpuTable {
  width: 100%;
  color: white;
  table-layout: fixed;
}

#cpuTable th {
  width: calc(100% / 6);
  text-align: center;
}

#cpuLog {
  height: 80px;
}

#pcbLog,
#diskLog,
#readyQueueLog {
  width: 620px;
}

#pcbTable,
#diskTable,
#readyQueueTable {
  width: 100%;
  color: white;
  padding: 5px;
}

#pcbTable th {
  width: calc(100% / 9);
  text-align: center;
}

#readyQueueTable th {
  width: calc(100% / 9);
  text-align: center;
}


#diskLog {
  height: 300px; 
  border: 1px solid #ccc;
}

#diskLog {
  width: 1220px;
  height: 300px; /* adjust as needed */
  text-align: center;
  background-color: #000;
  margin: 10px;
  overflow-y: auto; /* Enables vertical scrolling */
}
