body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.toolbar {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.upload-input {
    display: none;
}

#floorplanContainer {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 600px;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

#floorplanContainer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.placeholder {
    text-align: center;
    color: #6c757d;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

#floorplanContainer.empty .placeholder {
    opacity: 1;
}

#fireExtinguisherIcon {
    width: 50px;
    cursor: grab;
    transition: transform 0.3s ease;
}

#fireExtinguisherIcon:hover {
    transform: scale(1.1);
}

.btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

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

.btn img {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

#selectedFloorplanName {
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    #floorplanContainer {
        height: 400px;
    }
}

.hidden {
    display: none;
}

/* Styles for the Fire Extinguisher Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#fireExtinguisherForm {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

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

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#qrCodeContainer {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

#patrolDatesList {
    list-style-type: none;
    padding: 0;
}

#patrolDatesList li {
    margin-bottom: 5px;
}

#statusText {
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

.btn-save {
    background-color: #28a745;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-save:hover {
    background-color: #218838;
}

.btn-delete {
    background-color: #dc3545;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

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

.btn-print {
    background-color: #17a2b8;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-print:hover {
    background-color: #138496;
}