/* Index Page Layout Override */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Main Container */
#container {
    text-align: center;
    max-width: 500px;
    margin: 50px auto;
}

/* Action Buttons */
#scanButton,
#viewVisitorsButton,
#addVisitorButton,
#badgeQueueButton {
    padding: 15px 40px;
    font-size: 18px;
    cursor: pointer;
    color: white;
    border: none;
    border-radius: 5px;
    display: block;
    width: 250px;
    box-sizing: border-box;
    margin: 15px auto 0 auto;
}

#scanButton {
    background-color: #007bff;
    margin-top: 0;
}

#scanButton:hover {
    background-color: #0056b3;
}

#viewVisitorsButton {
    background-color: #28a745;
}

#viewVisitorsButton:hover {
    background-color: #218838;
}

#addVisitorButton {
    background-color: #ffc107;
    color: #333;
}

#addVisitorButton:hover {
    background-color: #e0a800;
}

#badgeQueueButton {
    background-color: #17a2b8;
}

#badgeQueueButton:hover {
    background-color: #138496;
}

/* QR Reader (hidden initially) */
#reader {
    display: none;
    width: 500px;
    margin: 20px auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}
