body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    background-color: #f5f5f5;
    margin: 15px;
    height: 100vh;
}
@media (max-width: 791px) {
    body {
        flex-direction: column;
        align-items: center;
    }
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
th, td {
    border: 2px solid white;
    padding: 10px;
}
.input-table, .output-table {
    width: 100%;
}
@media (min-width: 792px) {
    .input-table, .output-table {
        width: 40%;
    }
}
.input-table thead {
    background-color: #9ab158;
    color: white;
}
.input-table tbody tr:nth-child(odd) {
    background-color: #dee5d1;
}
.input-table tbody tr:nth-child(even) {
    background-color: #eff2eb;
}
.output-table thead {
    background-color: #ff5733;
    color: white;
}
.output-table tbody tr:nth-child(odd) {
    background-color: #ff9999;
}
.output-table tbody tr:nth-child(even) {
    background-color: #ffcccc;
}
.input {
    width: 55px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background: transparent;
}
.input:focus {
    outline: none;
}
.output {
    width: 80px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
.buttons {
    display: flex;
    width: fit-content;
    height: fit-content;
    flex-direction: column;
}
.button {
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    border: none;
}
#addProcessButton { background-color: #8e44ad; }
#clearProcessButton { background-color: #e74c3c; }
#runFCFS { background-color: #2980b9; }
#runRoundRobin { background-color: #27ae60; }
#runSJFNP { background-color: #d35400; }
#runSJFP { background-color: #f39c12; }
#runPriorityNP { background-color: #16a085; }
#runPriorityP { background-color: #1abc9c; }
.button:hover {
    opacity: 0.9;
}
.gantt-chart {
    margin: 20px;
    text-align: center;
}
#ganttChart {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    overflow-x: auto;
}
.gantt-block {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 5px;
    min-width: 50px;
}