#policy-intake-form-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#policy-intake-form-wrapper {
    font-family: 'Karla', sans-serif !important;
    background-color: #ffffff;
    color: #333333;
}

#policy-intake-form-wrapper .form-h1,
#policy-intake-form-wrapper .form-h2,
#policy-intake-form-wrapper .form-h3,
#policy-intake-form-wrapper .form-h4 {
    font-family: 'Roboto Slab', serif !important;
    font-weight: bold !important;
}

#policy-intake-form-wrapper .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* How it works section */
#policy-intake-form-wrapper .how-it-works {
    background-color: #f8f9fa !important;
    padding: 3rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

#policy-intake-form-wrapper .how-it-works .form-h2 {
    text-align: center;
    color: #13183E;
    margin-bottom: 3rem;
    font-size: 2rem !important;
}

#policy-intake-form-wrapper .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

#policy-intake-form-wrapper .step {
    text-align: center;
}

#policy-intake-form-wrapper .step-number {
    background-color: #D7492A;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem !important;
    font-weight: bold;
}

#policy-intake-form-wrapper .step .form-h3 {
    color: #13183E;
    margin-bottom: 0.5rem;
    font-size: 1.5rem !important;
}

#policy-intake-form-wrapper .step p {
    color: #666666;
    font-size: 14px !important;
    line-height: 1.5;
}

#policy-intake-form-wrapper .info-box {
    text-align: center;
    padding: 1.5rem;
    background-color: #e3f2fd;
    border-radius: 8px;
    border: 1px solid #bbdefb;
}

#policy-intake-form-wrapper .info-box p {
    margin: 0;
    font-size: 14px !important;
    color: #333333;
    font-style: italic;
}

/* Form section */
#policy-intake-form-wrapper .form-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
    min-height: 60vh;
}

#policy-intake-form-wrapper .form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

#policy-intake-form-wrapper .form-container .form-h2 {
    color: #13183E;
    margin-bottom: 2rem;
    font-size: 2rem !important;
    text-align: center;
}

#policy-intake-form-wrapper .intro-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border: 1px solid #e1e5e9;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

#policy-intake-form-wrapper .intro-box p {
    margin: 0;
    font-size: 14px !important;
    color: #333333;
}

#policy-intake-form-wrapper .contact-section {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border: 2px solid #13183E;
}

#policy-intake-form-wrapper .contact-section .form-h3 {
    color: #13183E;
    margin-bottom: 1.5rem;
    font-size: 1.5rem !important;
}

#policy-intake-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}

#policy-intake-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333333;
    font-size: 14px !important;
}

#policy-intake-form-wrapper input[type="text"],
#policy-intake-form-wrapper input[type="email"],
#policy-intake-form-wrapper textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px !important;
    font-family: 'Karla', sans-serif !important;
}

#policy-intake-form-wrapper input[type="text"]:focus,
#policy-intake-form-wrapper input[type="email"]:focus,
#policy-intake-form-wrapper textarea:focus {
    outline: none;
    border-color: #13183E;
}

#policy-intake-form-wrapper textarea {
    resize: vertical;
    min-height: 80px;
}

#policy-intake-form-wrapper .error {
    color: #dc3545;
    font-size: 12px !important;
    margin-top: 0.25rem;
}

#policy-intake-form-wrapper .error-border {
    border-color: #dc3545 !important;
}

#policy-intake-form-wrapper .help-text {
    font-size: 12px !important;
    color: #666666;
    margin-bottom: 0.5rem;
}

#policy-intake-form-wrapper .character-count {
    font-size: 12px !important;
    color: #666666;
    margin-top: 0.25rem;
    text-align: right;
}

#policy-intake-form-wrapper .radio-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    background-color: white;
    margin-bottom: 0.5rem;
}

#policy-intake-form-wrapper .radio-option.selected {
    border-color: #13183E;
    background-color: #f0f4ff;
}

#policy-intake-form-wrapper .radio-option input[type="radio"] {
    margin-right: 0.5rem;
    margin-top: 2px;
}

#policy-intake-form-wrapper .radio-option-label {
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 2px;
}

#policy-intake-form-wrapper .radio-option-desc {
    font-size: 12px !important;
    color: #666666;
}

#policy-intake-form-wrapper .checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

#policy-intake-form-wrapper .checkbox-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

#policy-intake-form-wrapper .checkbox-group {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

#policy-intake-form-wrapper .checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 2px;
    transform: scale(1.1);
}

#policy-intake-form-wrapper .document-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #13183E;
}

#policy-intake-form-wrapper .document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#policy-intake-form-wrapper .document-header .form-h4 {
    color: #13183E;
    font-size: 1.3rem !important;
    margin: 0;
}

#policy-intake-form-wrapper .document-section {
    margin-bottom: 2rem;
}

#policy-intake-form-wrapper .document-section .form-h3 {
    color: #13183E;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem;
}

#policy-intake-form-wrapper .remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 12px !important;
    cursor: pointer;
}

#policy-intake-form-wrapper .remove-btn:hover {
    background-color: #c82333;
}

#policy-intake-form-wrapper .add-document-btn {
    background-color: #13183E;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

#policy-intake-form-wrapper .add-document-btn:hover {
    background-color: #0f1333;
}

#policy-intake-form-wrapper .submit-btn {
    background-color: #D7492A;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 4px;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

#policy-intake-form-wrapper .submit-btn:hover {
    background-color: #c23e1f;
}

#policy-intake-form-wrapper .submit-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

#policy-intake-form-wrapper .success-message {
    text-align: center;
    padding: 2rem;
}

#policy-intake-form-wrapper .success-icon {
    font-size: 3rem !important;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 1rem;
}

#policy-intake-form-wrapper .success-message .form-h2 {
    color: #28a745;
    margin-bottom: 1.5rem;
    font-size: 2rem !important;
}

#policy-intake-form-wrapper .reference-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid #e1e5e9;
}

#policy-intake-form-wrapper .reference-box p {
    margin: 0;
    font-size: 14px !important;
    color: #333333;
}