```css
/* Style for the waiver form */
#dwf-waiver-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f4f4f4;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#dwf-waiver-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#dwf-waiver-form input[type="text"],
#dwf-waiver-form input[type="email"],
#dwf-waiver-form input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

#dwf-waiver-form input[type="text"]:focus,
#dwf-waiver-form input[type="email"]:focus,
#dwf-waiver-form input[type="date"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

#dwf-waiver-form input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 22px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

#dwf-waiver-form input[type="submit"]:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#dwf-waiver-form input[type="submit"].processing {
    background: #5bc0de;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

#dwf-waiver-form input[type="submit"].processing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@generator keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#g-recaptcha {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

#dwf_signature_pad_container {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    background-color: #ffffff;
    position: relative;
    transition: border-color 0.3s ease;
}

#dwf_signature_pad_container:hover {
    border-color: #0073aa;
}

#dwf_signature_pad {
    width: 100%;
    height: 140px;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    cursor: crosshair;
}

#dwf_clear_signature {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

#dwf_clear_signature:hover {
    background-color: #c9302c;
}

/* Modal Styles */
body.dwf-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#dwf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#dwf-modal.show {
    display: flex;
    opacity: 1;
}

#dwf-modal .dwf-modal-content {
    background: #fff;
    max-width: 450px;
    width: 90%;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

#dwf-modal.show .dwf-modal-content {
    transform: scale(1);
    opacity: 1;
}

#dwf-modal-close {
    background: #d9534f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#dwf-modal-close:hover {
    background: #c9302c;
}

/* Minor Fields Container */
#dwf-minor-container {
    display: none;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.minor-name-field {
    margin-bottom: 10px;
}

#dwf_minor_count {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
    #dwf-waiver-form {
        padding: 15px;
        margin: 0 10px;
    }

    #dwf_signature_pad {
        height: 140px;
    }

    #dwf-modal .dwf-modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Group functionality styles */
.dwf-group-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.group-search-results {
    margin-top: 15px;
}

.group-search-results ul {
    list-style: none;
    padding: 0;
}

.group-search-results li {
    margin-bottom: 10px;
}

.select-group {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
}

.select-group.selected {
    background-color: #e0e0e0;
    border-color: #666;
}

.group-selection-confirmation {
    margin-top: 10px;
    padding: 10px;
    background-color: #e7f7e7;
    border: 1px solid #c3e6c3;
    border-radius: 4px;
}

.minor-count {
    background: #f0ad4e;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
}

.minor-names {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.waiver-info {
    flex-grow: 1;
    line-height: 1.4;
}

.ungrouped-header {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.ungrouped-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ungrouped-container .waiver-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.ungrouped-container .waiver-item:last-child {
    border-bottom: none;
}

.waiver-item small {
    color: #666;
    display: inline-block;
    margin-top: 3px;
}

