body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
}

#app {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #005a8c;
    text-align: center;
}

.content-box {
    border: 1px solid #b3d9ff;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
}

#pdf-viewer {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 500px;
    overflow-y: auto;
}

#file-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#md-file-search, #md-file-select {
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    background-color: #f0f8ff;
}

.form-section {
    margin-bottom: 30px;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #007acc;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    background-color: #f0f8ff;
}

.signature-container {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

canvas {
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    margin-bottom: 10px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.submit-btn {
    font-size: 18px;
    padding: 12px 20px;
    width: 100%;
    margin-top: 20px;
    background-color: #005a8c;
}

.submit-btn:hover {
    background-color: #004b73;
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.consent-container {
    border: 2px solid #ff0000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #fff5f5;
}

#consent-checkbox {
    margin-right: 10px;
}


.modal {
    display: flex;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    text-align: center;
}

.modal-content button {
    margin-top: 15px;
}