.center_here_main .container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2rem;
}

.center_here_main h1 {
    color: #35574a;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.center_here_main p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.center_here_main .form-container {
    margin-top: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem 1rem;
}

.form-group {
    flex: 1 0 30%;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
    min-width: 300px;
}

.form-group.required label:after {
    content: "*";
    color: #ff0000;
}

.center_here_main label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.center_here_main input[type="text"],
.center_here_main input[type="email"],
.center_here_main input[type="tel"],
.center_here_main input[type="date"],
.center_here_main select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.file-upload {
    margin: 1.5rem 0;
    border: 1px dashed #c9c9c9;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background-color: #fff;
    border-radius: 0.25rem;
}

.file-upload-icon {
    font-size: 2rem;
    color: #35574a;
    margin-bottom: 0.5rem;
}

.file-upload-text {
    margin-bottom: 1rem;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.signature-pad {
    width: 100%;
    height: 150px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.signature-buttons {
    display: flex;
    justify-content: flex-end;
}

.clear-signature {
    background: none;
    border: none;
    color: #35574a;
    cursor: pointer;
    text-decoration: underline;
}

.submit-btn {
    background-color: #d4c091;
    color: #333;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 0.25rem;
    display: block;
    margin: 2rem auto 0;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c9b683;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
}

.checkbox-label input {
    margin-left: 0.5rem;
}

.terms {
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0.25rem;
}

.terms ol {
    padding-right: 1.5rem;
}

.terms li {
    margin-bottom: 0.5rem;
}

.error-message {
    color: #ff0000;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.spouse-details {
    display: none;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

.file-list {
    margin-top: 1rem;
    text-align: right;
    display: block;
    z-index: 100;
    position: relative;
}

.file-list-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: #f9f9f9;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    z-index: 100;
    display: flex;
}

.file-list-item .remove-file {
    color: #ff0000;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-group {
        flex: 0 0 100%;
    }
}
