/* ================================================
   Working with Terry - Application Form Styles
   Form ID: 15
   Scoped via .fluentform_wrapper_15 (wrapper div)
   ================================================ */

/* Wrapper scoping */
.fluentform_wrapper_15 {
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Labels */
.fluentform_wrapper_15 .ff-el-input--label label {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

/* Text inputs, selects, URL */
.fluentform_wrapper_15 .ff-el-form-control {
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.fluentform_wrapper_15 .ff-el-form-control:focus {
    border-color: #36AFA6;
    box-shadow: 0 0 0 3px rgba(54, 175, 166, 0.15);
    outline: none;
}

/* Radio / Checkbox - card style */
.fluentform_wrapper_15 .ff-el-form-check {
    display: block;
    margin-bottom: 8px;
}

.fluentform_wrapper_15 .ff-el-form-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.fluentform_wrapper_15 .ff-el-form-check label:hover {
    border-color: #36AFA6;
    background: #f0faf9;
}

/* Checked state - text */
.fluentform_wrapper_15 .ff-el-form-check input:checked + span,
.fluentform_wrapper_15 .ff-el-form-check input:checked ~ span {
    color: #1a1a1a;
    font-weight: 500;
}

/* Checked state - card border */
.fluentform_wrapper_15 .ff-el-form-check:has(input:checked) label,
.fluentform_wrapper_15 .ff-el-form-check label:has(input:checked) {
    border-color: #36AFA6;
    background: #f0faf9;
    box-shadow: 0 0 0 1px #36AFA6;
}

/* Custom radio/checkbox input styling
   Fluent Forms renders these as plain inputs inside .ff-el-form-check-label
   They are type="text" with value set, so we hide the text and style as circles */
.fluentform_wrapper_15 .ff-el-form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    border: 2px solid #d0d5dd;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
    overflow: hidden;
    box-sizing: border-box;
    text-indent: -9999px;
}

.fluentform_wrapper_15 .ff-el-form-check-input:checked {
    border-color: #36AFA6;
    background: #36AFA6;
}

.fluentform_wrapper_15 .ff-el-form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* Checkbox variant - square corners */
.fluentform_wrapper_15 .ff-el-form-check-input.ff-el-form-check-checkbox,
.fluentform_wrapper_15 .ff_checkable_grp .ff-el-form-check-input {
    border-radius: 4px;
}

.fluentform_wrapper_15 .ff-el-form-check-input.ff-el-form-check-checkbox:checked::after,
.fluentform_wrapper_15 .ff_checkable_grp .ff-el-form-check-input:checked::after {
    content: '\2713';
    width: auto;
    height: auto;
    background: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-radius: 0;
}

/* Section intro blocks (custom HTML elements) */
.fluentform_wrapper_15 .tsa-section-intro {
    margin: 10px 0 5px;
}

.fluentform_wrapper_15 .tsa-section-intro h3 {
    font-size: 20px;
    font-weight: 700;
    color: #013C48;
    margin: 0 0 6px;
    padding-bottom: 8px;
    border-bottom: 2px solid #36AFA6;
}

.fluentform_wrapper_15 .tsa-section-intro p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.fluentform_wrapper_15 .tsa-section-intro ul {
    margin: 8px 0 0 20px;
    padding: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Disclaimer block */
.fluentform_wrapper_15 .tsa-disclaimer {
    background: #f0faf9;
    border-left: 4px solid #36AFA6;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 10px 0;
}

.fluentform_wrapper_15 .tsa-disclaimer strong {
    color: #013C48;
}

/* Help text */
.fluentform_wrapper_15 .ff-el-help-message {
    font-size: 13px;
    color: #667085;
    margin-top: 4px;
}

/* Error messages */
.fluentform_wrapper_15 .error.text-danger {
    font-size: 13px;
    color: #d63638;
    margin-top: 4px;
}

/* Submit button */
.fluentform_wrapper_15 .ff-btn-submit {
    background: linear-gradient(135deg, #36AFA6 0%, #2d9a92 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    letter-spacing: 0.3px;
}

.fluentform_wrapper_15 .ff-btn-submit:hover {
    background: linear-gradient(135deg, #2d9a92 0%, #248f87 100%);
    box-shadow: 0 4px 12px rgba(54, 175, 166, 0.35);
    transform: translateY(-1px);
}

.fluentform_wrapper_15 .ff-btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(54, 175, 166, 0.25);
}

/* Required asterisk */
.fluentform_wrapper_15 .ff-el-input--label .ff-el-required {
    color: #d63638;
}

/* Spacing between form groups */
.fluentform_wrapper_15 .ff-el-group {
    margin-bottom: 20px;
}

/* Links in form */
.fluentform_wrapper_15 a {
    color: #36AFA6;
    text-decoration: underline;
}

.fluentform_wrapper_15 a:hover {
    color: #2d9a92;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .fluentform_wrapper_15 {
        padding: 0 10px;
    }

    .fluentform_wrapper_15 .ff-el-form-check label {
        padding: 10px 12px;
        font-size: 13px;
    }

    .fluentform_wrapper_15 .tsa-section-intro h3 {
        font-size: 18px;
    }
}
