body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.file-input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    margin: 10px 0;
}

.btn:hover {
    background-color: #0056b3;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 18px;
    text-align: left;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.styled-table thead tr {
    background-color: #007bff;
    color: white;
    text-align: left;
    font-weight: bold;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #007bff;
}

.back-btn {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #6c757d; /* Gray color */
    color: white;
    text-decoration: none;
    border-radius: 3px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-btn:hover {
    background-color: #5a6268;
}

/* Center the buttons */
.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Spacer between sections */
.spacer {
    margin-top: 40px;
}

/* Style for the Clear button */
.clear-btn {
    background-color: #dc3545; /* Red color for danger/clear */
    margin-left: 10px;
}

.clear-btn:hover {
    background-color: #c82333;
}

/* Ensure the read-only door numbers look distinct */
input[readonly] {
    background-color: #f1f1f1; /* Light gray background */
    cursor: not-allowed;
}
