body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#password-protect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#main-content {
    padding: 20px;
}

#checklist-list h1 {
    color: #2c3e50;
}

#new-checklist-btn,
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

button:hover {
    background-color: #2980b9;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: #ecf0f1;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checklist-category {
    margin-bottom: 20px;
}

.checklist-category h3 {
    cursor: pointer;
    background-color: #bdc3c7;
    padding: 10px;
    border-radius: 5px;
}

.checklist-category-content {
    display: none;
}

.checklist-category.open .checklist-category-content {
    display: block;
}

.checklist-item {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
}

.checklist-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checklist-item-content label {
    flex: 1;
    margin-right: 10px;
}

textarea {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
}

.uploaded-images img {
    margin-right: 10px;
}

#additional-images-container {
    margin-top: 20px;
}

#additional-images-container h3 {
    margin-bottom: 10px;
}
@media print {
    body {
        margin: 0;
        font-size: 12pt;
    }
    .checklist-item {
        page-break-inside: avoid;
    }
}
