/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --color-primary:       #1B4FBB;
    --color-heading:       #1D4ED8;
    --color-accent:        #F97316;
    --color-accent-hover:  #EA580C;
    --color-success:       #22C55E;
    --color-bg:            #F3F4F6;
    --color-card:          #ffffff;
    --color-border:        #D1D5DB;
    --color-text:          #111827;
    --color-text-muted:    #6B7280;
    --color-label:         #374151;
    --color-required:      #EF4444;
    --color-info-bg:       #EFF6FF;
    --color-info-border:   #3B82F6;
    --color-warn-bg:       #FFFBEB;
    --color-warn-border:   #F97316;
    --radius:              6px;
    --shadow:              0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:           0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
}

/* ============================================================
   BASE
   ============================================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

html {
    background: var(--color-bg);
}

input[type="text"],
select,
input[type="datetime-local"],
input[type="number"] {
    height: 40px;
    font-size: 0.9375em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0 10px;
    background: #fff;
    color: var(--color-text);
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,79,187,.15);
}

select {
    height: 40px;
    font-size: 0.9375em;
}

select.curr option {
    text-align: right;
}

input:disabled, select:disabled {
    background: #f9fafb !important;
    color: var(--color-text-muted);
    cursor: not-allowed;
}

textarea {
    font-family: inherit;
    font-size: 0.9375em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px 10px;
    color: var(--color-text);
    resize: vertical;
    transition: border-color .15s, box-shadow .15s;
}

textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,79,187,.15);
}

/* ============================================================
   LAYOUT
   ============================================================ */
#wrapper {
    max-width: 820px;
    margin: 0 auto;
}

article {
    padding: 24px 16px;
}

.clear {
    clear: both;
}

.version {
    font-size: 9px;
    margin: 4px 0 8px 16px;
    color: var(--color-text-muted);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.sr-top-bar {
    background: #fff;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 10px 24px;
    position: relative;
    min-height: 52px;
    border-bottom: 1px solid #E5E7EB;
}

.sr-top-bar-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sr-logo-futurity {
    height: 60px;
    width: auto;
    display: block;
}

.sr-logo-divider {
    width: 1px;
    height: 100px;
    background: #D1D5DB;
    display: inline-block;
}

.sr-logo-tenant {
    height: 120px;
    width: auto;
    display: block;
}

.sr-app-title {
    font-size: 2em;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--color-text);
}

.sr-language {
    position: absolute;
    right: 24px;
    font-size: .8125em;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: .9;
}

/* ============================================================
   NAV TABS
   ============================================================ */
.sr-nav-tabs {
    background: #fff;
    display: flex;
    border-bottom: 1px solid #E5E7EB;
    padding: 0 20px;
    overflow: hidden;
}

.sr-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px;
    font-size: .875em;
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color .15s;
}

.sr-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
    font-weight: 500;
}

.sr-tab:hover:not(.active) {
    color: var(--color-text);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.sr-progress-bar-wrapper {
    background: #fff;
    padding: 10px 20px 14px;
    border-bottom: 1px solid #E5E7EB;
}

.sr-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: .8125em;
    color: var(--color-text-muted);
    margin-bottom: 7px;
    font-weight: 500;
}

.sr-progress-segments {
    display: flex;
    gap: 4px;
}

.sr-segment {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    transition: background-color .3s;
}

.sr-seg-done    { background: var(--color-success); }
.sr-seg-current { background: var(--color-accent); }
.sr-seg-pending { background: #E5E7EB; }

/* ============================================================
   FORM CARD
   ============================================================ */
.form {
    background: var(--color-card);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid #E5E7EB;
    padding: 28px 32px;
    max-width: 680px;
    margin: 0 auto 20px;
}

.form h1 {
    font-size: 1.375em;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 6px;
    letter-spacing: 0;
    font-family: inherit;
}

.form .step-subtitle {
    font-size: .875em;
    color: var(--color-text-muted);
    margin: 0 0 20px;
    line-height: 1.5;
}

.form h2 {
    font-size: 1em;
    font-weight: 600;
    color: var(--color-text);
    margin: 16px 0 8px;
    font-family: inherit;
    font-style: normal;
}

.form p {
    margin: 0;
    font-size: .9375em;
    color: var(--color-text);
    font-family: inherit;
}

/* ============================================================
   FIELD ZONE  (visual chrome removed — now transparent)
   ============================================================ */
.fieldZone {
    background: transparent;
    padding: 0;
    border: none;
}

/* ============================================================
   INFO BANNERS
   ============================================================ */
.info-banner,
.instruction.info-banner {
    background: var(--color-info-bg);
    border-left: 4px solid var(--color-info-border);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 16px;
    font-size: .875em;
    color: #1e40af;
    margin-bottom: 20px;
    line-height: 1.5;
}

.warning-banner {
    background: var(--color-warn-bg);
    border-left: 4px solid var(--color-warn-border);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 16px;
    font-size: .875em;
    color: #92400e;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ============================================================
   FORM BLOCKS
   ============================================================ */
.formBlock {
    display: inline-block;
    margin: 8px 0;
    padding: 0 2%;
    vertical-align: top;
}

.formBlock .imageContainer {
    display: inline-block;
    margin-right: 10px;
    overflow: hidden;
}

.formBlockA { width: 95%; }
.formBlockB { width: 45%; }
.formBlockC { width: 28%; }
.formBlockD { width: 22%; }
.formBlockE { width: auto; }

.formBlock input {
    width: 95%;
}

.formBlock input.checkbox {
    width: auto;
}

/* ============================================================
   LABELS
   ============================================================ */
.form p.label {
    font-size: .8125em;
    font-weight: 500;
    color: var(--color-label);
    margin: 0 0 5px;
    font-style: normal;
}

.required-star {
    color: var(--color-required);
}

p.italic {
    font-size: .75em;
    color: var(--color-text-muted);
    font-style: normal;
    margin: 8px 0 4px 2%;
}

/* ============================================================
   BUTTONS — Next / Back / Submit
   ============================================================ */
.next, #submit {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: .9375em;
    font-weight: 500;
    padding: 10px 22px;
    cursor: pointer;
    float: right;
    letter-spacing: .01em;
    text-shadow: none;
    height: auto;
    width: auto;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    transition: background-color .15s;
}

.next:hover, #submit:hover {
    background: var(--color-accent-hover);
}

.next:active, #submit:active {
    transform: translateY(1px);
}

/* form0 has inline style width:100% — keep it full-width but center text */
button.next[style*="width:100%"],
button.next[style*="width: 100%"] {
    float: none;
    width: 100% !important;
    justify-content: center;
    margin-top: 8px;
    display: flex;
}

.back {
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: .9375em;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    float: left;
    letter-spacing: .01em;
    text-shadow: none;
    height: auto;
    width: auto;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    transition: background-color .15s;
}

.back:hover {
    background: #f9fafb;
}

.back:active {
    transform: translateY(1px);
}

/* sameAddy inline button */
#sameAddy {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: .8125em;
    font-weight: 500;
    padding: 5px 12px;
    cursor: pointer;
    font-family: inherit;
    margin-right: 8px;
    transition: background-color .15s;
}

#sameAddy:hover {
    background: var(--color-info-bg);
}

/* ============================================================
   BUTTON ROW
   ============================================================ */
.btnBox {
    margin-top: 24px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.btnBox .err {
    flex-basis: 100%;
    order: 3;
    margin-top: 8px;
}

/* ============================================================
   ERROR MESSAGE
   ============================================================ */
.err {
    font-family: inherit;
    font-style: italic;
    font-size: .8125em;
    color: var(--color-required);
    display: inline-block;
    margin: 0;
}

.hidden {
    display: none;
}

/* ============================================================
   UTILITY
   ============================================================ */
.secret  { display: none; }
.invis   { display: none; }
.display {
    font-style: italic;
    font-size: smaller;
    color: var(--color-text-muted);
}
.status  { float: right; }
.whiteBox {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
#noContact { margin-left: 0; }

/* ============================================================
   INSTRUCTION (used by loadDefaults() to inject header text)
   ============================================================ */
.instruction {
    padding: 0 0 12px;
    font-size: .875em;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ============================================================
   DAMAGE LEVEL CARDS  (replaces default-photos images)
   ============================================================ */
.damage-cards {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.damage-card {
    flex: 1;
    min-width: 130px;
    border-radius: var(--radius);
    border: 1px solid;
    padding: 12px 10px;
    font-size: .8em;
    line-height: 1.4;
    box-sizing: border-box;
}

.damage-card .dc-num {
    font-size: 1.875em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2px;
    line-height: 1;
}

.damage-card .dc-name {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: .9em;
}

.damage-card .dc-wtlf {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.damage-card ul {
    margin: 0 0 8px;
    padding-left: 14px;
    color: var(--color-text);
}

.damage-card ul li {
    margin-bottom: 2px;
}

.damage-card .dc-msg-label {
    font-weight: 600;
    color: var(--color-text);
}

.damage-card .dc-message {
    font-style: italic;
    color: var(--color-text-muted);
    margin: 0;
}

/* Level 1 — Affected */
.damage-card-1 {
    background: #F0FDF4;
    border-color: #BBF7D0;
}
.damage-card-1 .dc-num,
.damage-card-1 .dc-name { color: #16A34A; }

/* Level 2 — Minor Damage */
.damage-card-2 {
    background: #FEFCE8;
    border-color: #FDE68A;
}
.damage-card-2 .dc-num,
.damage-card-2 .dc-name { color: #CA8A04; }

/* Level 3 — Major Damage */
.damage-card-3 {
    background: #FFF7ED;
    border-color: #FDBA74;
}
.damage-card-3 .dc-num,
.damage-card-3 .dc-name { color: #EA580C; }

/* Level 4 — Destroyed */
.damage-card-4 {
    background: #FEF2F2;
    border-color: #FECACA;
}
.damage-card-4 .dc-num,
.damage-card-4 .dc-name { color: #DC2626; }

/* "Example damage levels" label */
.damage-level-label {
    font-size: .8125em;
    font-weight: 500;
    color: var(--color-label);
    margin: 0 0 8px;
}

/* ============================================================
   ALT-PHOTOS (custom image carousels — keep functional)
   ============================================================ */
.formBlock.alt-photos .imageContainer img {
    width: 145px;
}

.alt-photos .photo-nav {
    text-decoration: none;
    font-size: 60px;
    position: relative;
    top: -80px;
}

.alt-photos .instruction {
    font-size: 11px;
    font-style: italic;
    margin-left: 40px;
}

.formBlock.default-photos .imageContainer .imageElem {
    height: 125px;
    width: 165px;
    background-repeat: no-repeat;
    background-size: 165px 140px;
}

.formBlock.default-photos .imageContainer .imageElem.image1 {
    background-image: url('/SelfReporter/Images/damagelevel1.gif');
}
.formBlock.default-photos .imageContainer .imageElem.image2 {
    background-image: url('/SelfReporter/Images/damagelevel2.gif');
}
.formBlock.default-photos .imageContainer .imageElem.image3 {
    background-image: url('/SelfReporter/Images/damagelevel3.gif');
}
.formBlock.default-photos .imageContainer .imageElem.image4 {
    background-image: url('/SelfReporter/Images/damagelevel4.gif');
}

.formBlock.default-photos .imageContainer label {
    font-weight: bold;
    font-size: 12px;
    background-color: #fff;
    display: inline-block;
    width: 100%;
    padding: 2px 0 2px 2px;
}

.formBlock img {
    width: 23%;
}

.damage-card .dc-img {
    width: 100%;
}

/* ============================================================
   PHOTO UPLOAD FORM  (#photoForm)
   ============================================================ */
#photoForm {
    background: var(--color-card);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid #E5E7EB;
    padding: 28px 32px;
    max-width: 680px;
    margin: 0 auto 20px;
}

#photoForm h1 {
    font-size: 1.375em;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 16px;
    letter-spacing: 0;
}

/* ============================================================
   DROPZONE OVERRIDES
   ============================================================ */
.dropzone {
    margin: 12px 0 0;
    background: #fff !important;
    border: 2px dashed var(--color-border) !important;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1em;
    font-style: normal;
    color: var(--color-text-muted);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer p {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: .875em;
    color: var(--color-text-muted);
}

/* ============================================================
   CONFIRMATION / REVIEW SECTIONS  (form5)
   ============================================================ */
.review-section {
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.review-section-header {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: .9375em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-section-header .rs-subtitle {
    font-weight: 400;
    font-size: .8em;
    opacity: .85;
    margin-left: 4px;
}

/* whiteBox inside review section */
.review-section .whiteBox {
    border: none;
    border-radius: 0;
}

.review-section .whiteBox .formBlock {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 16px;
    border-bottom: 1px solid #F3F4F6;
    box-sizing: border-box;
}

.review-section .whiteBox .formBlock:last-child {
    border-bottom: none;
}

.review-section .whiteBox .formBlock .label {
    color: var(--color-text-muted);
    font-size: .8125em;
    min-width: 170px;
    margin: 0;
    flex-shrink: 0;
}

.review-section .whiteBox .formBlock .confirmText,
.review-section .whiteBox .formBlock .confirmTextText {
    font-size: .9em;
    color: var(--color-text);
    font-style: normal;
    margin: 0;
}

/* Standalone whiteBox (outside review section, e.g. est cost) */
.whiteBox {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

/* ============================================================
   MODAL — Please Wait dialog (Bootstrap-like)
   ============================================================ */
.modal-backdrop {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade { opacity: 0; }
.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.modal {
    position: fixed;
    top: 10%; left: 50%;
    z-index: 1050;
    width: 560px; margin-left: -280px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 8px;
    outline: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.modal.fade {
    top: -25%;
    transition: opacity .3s linear, top .3s ease-out;
}
.modal.fade.in { top: 10%; }

.modal-header {
    padding: 14px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.modal-header .close { margin-top: 2px; float: right; }
.modal-header h1, .modal-header h3 {
    margin: 0;
    line-height: 30px;
    font-size: 1.125em;
    font-weight: 600;
    color: var(--color-text);
    font-family: inherit;
}

.modal-body {
    position: relative;
    max-height: 400px;
    padding: 16px;
    overflow-y: auto;
}

.modal-footer {
    padding: 12px 16px;
    text-align: right;
    background: #f9fafb;
    border-top: 1px solid #E5E7EB;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.modal-footer:before, .modal-footer:after,
.modal-header:before, .modal-header:after {
    display: table;
    content: " ";
}
.modal-footer:after, .modal-header:after { clear: both; }

/* ============================================================
   PROGRESS BAR  (Bootstrap-like, for Please Wait modal)
   ============================================================ */
.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f7f7f7;
    background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress .bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    color: #fff;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    background-color: var(--color-primary);
    background-image: linear-gradient(to bottom, #3b6fd4, var(--color-primary));
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-sizing: border-box;
    transition: width .6s ease;
}

.progress-striped .bar {
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%,
        rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%,
        transparent 75%, transparent
    );
    background-size: 40px 40px;
}

.progress.active .bar {
    animation: progress-bar-stripes 2s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 40px 0; }
    to   { background-position: 0 0; }
}

/* ============================================================
   PHOTO ZOOM MODAL
   ============================================================ */
#photoZoom .modal-header button { float: right; }
#photoZoom .modal-body div { text-align: center; }

/* ============================================================
   FIELD-WRAP  (absolute positioned fields in est-cost step)
   ============================================================ */
.field-wrap { position: absolute; }

/* ============================================================
   PRE-CHECK SCREEN
   ============================================================ */
#preCheckScreen {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.pre-check-hero {
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.pre-check-hero h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 0;
    font-family: inherit;
}

.pre-check-hero p {
    font-size: .9375em;
    opacity: .9;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.5;
}

.pre-check-field {
    margin-bottom: 18px;
}

.pre-check-input {
    width: 100%;
    box-sizing: border-box;
}

.landing-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 32px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.landing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 260px;
    min-height: 180px;
    background: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 24px 20px;
    text-align: center;
    line-height: 1.4;
    transition: background-color .15s, color .15s;
}

.landing-btn i {
    font-size: 2em;
}

.landing-btn:hover {
    background: var(--color-info-bg);
}

.verify-error {
    color: var(--color-required);
    font-size: .875em;
    margin: 10px 0 0;
    font-style: italic;
}

#verifyBtn,
#startNewBtn {
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: .9375em;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .15s;
}

#verifyBtn:hover,
#startNewBtn:hover {
    background: var(--color-accent-hover);
}

#verifyBtn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}

#skipVerifyBtn,
#searchAgainBtn {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: .9375em;
    font-weight: 500;
    padding: 10px 24px;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .15s;
}

#skipVerifyBtn:hover,
#searchAgainBtn:hover {
    background: var(--color-info-bg);
}

/* No-match result card */
.no-match-icon {
    width: 52px;
    height: 52px;
    background: #DCFCE7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 16px;
    font-size: 1.5em;
    color: #16A34A;
    font-weight: 700;
}

.no-match-title {
    text-align: center;
    font-weight: 600;
    font-size: 1.0625em;
    color: var(--color-text);
    margin: 0 0 6px;
}

.no-match-sub {
    text-align: center;
    font-size: .875em;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 575px) {
    .form {
        padding: 20px 16px;
        margin: 0 12px 16px;
    }

    #photoForm {
        padding: 20px 16px;
        margin: 0 12px 16px;
    }

    .form h1 {
        font-size: 1.125em;
    }

    .formBlockB { width: 95%; }
    .formBlockC { width: 44%; }

    .back  { float: left; }
    .next, #submit { float: right; }

    .damage-cards {
        flex-direction: column;
    }

    .damage-card {
        min-width: unset;
    }

    .field-wrap { position: initial; }

    .sr-progress-bar-wrapper { padding: 8px 12px 12px; }
    .sr-nav-tabs { padding: 0 8px; }
    .sr-tab { padding: 12px 10px; }
}

@media screen and (max-width: 410px) {
    .form h1 { font-size: 1em; }
}
