* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f4f6f8;
    color: #1f2937;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

header {
    background-color: #1e3a8a;
    padding: 22px 0;
}

header h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

.section {
    background-color: #ffffff;
    border: 1px solid #dbe0e6;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.section h5 {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.clock {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin: 16px 0 20px 0;
}

.process-container,
#incomingWorkload,
#completedTasks,
.queue-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.process-box {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 8px 10px;
    min-width: 140px;
    max-width: 180px;
}

.process-box p {
    margin: 2px 0;
    font-size: 0.85rem;
    color: #374151;
}

.running-zone {
    display: flex;
    justify-content: center;
    padding: 14px 0;
}

.running-zone .process-box {
    background-color: #eef2ff;
    border: 2px solid #1e40af;
    min-width: 220px;
}

.queue-separator {
    height: 1px;
    background-color: #e5e7eb;
    margin: 18px 0;
}

.form-label {
    font-weight: 500;
    color: #374151;
}

select.form-select,
input.form-control {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 7px 9px;
    font-size: 0.95rem;
    color: #1f2937;
}

select.form-select:focus,
input.form-control:focus {
    border-color: #1e40af;
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background-color: #1e40af;
    border-color: #1e40af;
    border-radius: 5px;
    font-weight: 500;
    padding: 8px 18px;
}

.btn-primary:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

.text-center {
    text-align: center;
}