body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

.report-template {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 15px;
    background-color: white;
}

.activities-container {
    margin-top: 20px;
}

.activity-input {
    display: flex;
    margin-bottom: 10px;
}

.activity-input input {
    flex: 1;
    margin-right: 10px;
}

.activity-input button {
    background-color: #f44336;
}

.activity-input button:hover {
    background-color: #d32f2f;
}

.add-activity {
    margin-top: 10px;
}

.preview-container {
    margin-top: 30px;
    text-align: center;
}

.reports-container {
    margin-top: 30px;
    display: none;
}

.report {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: white;
    page-break-after: always;
}

.report-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.report-header div {
    margin-bottom: 5px;
}

.report-content {
    margin-top: 15px;
}

.report-section {
    margin-bottom: 15px;
}

.report-section h3 {
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-container label {
    margin-bottom: 0;
    font-weight: normal;
}

.download-buttons {
    margin-top: 20px;
    text-align: center;
}

.download-buttons button {
    margin: 0 10px;
}

#pdfDownload {
    background-color: #f44336;
}

#wordDownload {
    background-color: #2196F3;
}

.report-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 80px;
}

.signature-field {
    border-top: 1px solid #333;
    padding-top: 5px;
    text-align: center;
    font-size: 12px;
}

@media print {
    body * {
        visibility: hidden;
    }
    .reports-container, .reports-container * {
        visibility: visible;
    }
    .reports-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .download-buttons {
        display: none;
    }
}