/* Claim wizard — Progressive/Assured-style guided FNOL flow.
   Shares the mobile phone-frame shell with app-shell.css. */

body {
    background: #e9ecf2;
}
@media (min-width: 768px) {
    body {
        background: radial-gradient(1200px 600px at 50% -10%, rgba(11, 40, 86, 0.08), transparent 60%), #e9ecf2;
    }
}

#app {
    background: #e9ecf2;
}

.wiz-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 14px 12px;
    min-height: 56px;
    background: #ffffff;
    border-bottom: 1px solid #d7dbe3;
}
.wiz-back-btn {
    position: absolute;
    left: 12px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: #6b7588;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wiz-header-logo {
    height: 48px;
    display: block;
}

.wiz-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 16px 40px;
    gap: 16px;
    overflow-y: auto;
}

.wiz-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px 24px;
    box-shadow: 0 12px 32px rgba(8, 16, 40, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wiz-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
    margin: 0;
    text-align: center;
}
.wiz-title-xl {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.01em;
}
.wiz-h2 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 10px 0 4px;
}
.wiz-body {
    font-size: 15px;
    color: #374151;
    line-height: 1.45;
    margin: 0;
}
.wiz-center { text-align: center; }

.wiz-policy-head {
    display: flex;
    justify-content: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e5eb;
    margin-bottom: 4px;
}
.wiz-policy-head-num {
    color: #0b2856;
    font-weight: 700;
    font-size: 14.5px;
}

.wiz-tips {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #374151;
    font-size: 14.5px;
    line-height: 1.45;
}
.wiz-tips li::marker { color: #0b2856; font-weight: 700; }

.wiz-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b6478;
    font-weight: 600;
}
.wiz-label-muted { font-weight: 700; color: #1f2937; font-size: 13px; letter-spacing: 0; text-transform: none; margin-top: 4px; }

.wiz-input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #bfc7d6;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
}
.wiz-input:focus { outline: 2px solid #0b2856; outline-offset: -1px; border-color: #0b2856; }
.wiz-input-tight { padding: 10px 12px; margin-bottom: 4px; }

.wiz-dt-display {
    text-align: center;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
    padding: 10px 12px;
    border: 1.5px solid #bfc7d6;
    border-radius: 10px;
}
.wiz-dt-display + .wiz-input { display: none; }  /* visual: show only the formatted pill, but tap targets the input */
@supports not (appearance: none) {
    .wiz-dt-display + .wiz-input { display: block; }
}

.wiz-legal {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.45;
    margin: 6px 2px 0;
}

.wiz-cta {
    background: #0b2856;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 40, 86, 0.25);
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}
.wiz-cta:active { transform: scale(0.98); }
.wiz-cta-compact { padding: 12px 18px; align-self: center; min-width: 140px; display: inline-block; }
.wiz-cta-ghost {
    background: transparent;
    color: #0b2856;
    box-shadow: none;
    border: 1.5px solid #bfc7d6;
}

.wiz-button-row {
    display: flex;
    gap: 10px;
}
.wiz-button-row .wiz-cta { flex: 1; margin: 0; }

/* Row-style choose tile (policy, vehicle) */
.wiz-row-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid #d7dbe3;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    color: #0f172a;
    font: inherit;
}
.wiz-row-tile:active { transform: scale(0.99); }
.wiz-row-tile:hover { border-color: #0b2856; }
.wiz-row-tile.muted { background: #f5f6f8; border-color: #d7dbe3; }
.wiz-row-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e6ebf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.wiz-row-body { flex: 1; min-width: 0; }
.wiz-row-title { font-size: 16px; font-weight: 700; color: #0b2856; letter-spacing: -0.01em; }
.wiz-row-sub { font-size: 14px; color: #5b6478; margin-top: 2px; font-variant-numeric: tabular-nums; }
.wiz-row-chev { font-size: 24px; color: #0b2856; line-height: 1; }

/* 2x2 grid of picture-tile options */
.wiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wiz-grid-tile {
    background: #fff;
    border: 1.5px solid #d7dbe3;
    border-radius: 14px;
    padding: 18px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font: inherit;
    min-height: 120px;
    position: relative;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.wiz-grid-tile:hover { border-color: #0b2856; }
.wiz-grid-tile:active { transform: scale(0.98); }
.wiz-grid-tile-sel {
    background: #dbe4f5;
    border-color: #0b2856;
    box-shadow: 0 0 0 2px #0b2856 inset, 0 6px 18px rgba(11, 40, 86, 0.18);
    transform: translateY(-1px);
}
.wiz-grid-tile-sel .wiz-grid-title { color: #0b2856; font-weight: 700; }
.wiz-grid-tile-sel::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0b2856;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.wiz-grid-tile-wide.wiz-grid-tile-sel::after { top: 50%; right: 14px; transform: translateY(-50%); }
.wiz-grid-tile-wide { grid-column: 1 / -1; min-height: 64px; flex-direction: row; justify-content: center; gap: 12px; }
.wiz-grid-icon { font-size: 34px; line-height: 1; }
.wiz-grid-tile-wide .wiz-grid-icon { font-size: 22px; }
.wiz-grid-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

/* Yes / No row with emoji */
.wiz-yesno {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wiz-yesno-btn {
    background: #fff;
    border: 1.5px solid #d7dbe3;
    border-radius: 14px;
    padding: 22px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font: inherit;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}
.wiz-yesno-btn:hover { border-color: #0b2856; }
.wiz-yesno-btn:active { transform: scale(0.98); }
.wiz-yesno-emoji { font-size: 36px; }

/* Photo upload dropzone */
.wiz-dropzone {
    border: 2px dashed #bfc7d6;
    border-radius: 14px;
    padding: 28px 12px;
    text-align: center;
    color: #5b6478;
    cursor: pointer;
    display: block;
    background: #f7f8fa;
}
.wiz-dropzone-icon { font-size: 30px; margin-bottom: 4px; }
.wiz-dropzone-label { font-weight: 600; }
.wiz-photo-ack { color: #065f46; font-weight: 600; font-size: 13px; text-align: center; }

/* Review list */
.wiz-review-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e5eb;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f8fa;
}
.wiz-review-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 14px;
    border-bottom: 1px solid #e8ebf0;
    font-size: 14px;
}
.wiz-review-row:last-child { border-bottom: none; }
.wiz-review-label { color: #5b6478; flex-shrink: 0; margin-right: 10px; }
.wiz-review-value { color: #0f172a; font-weight: 600; text-align: right; }

/* Done screen */
.wiz-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #15803d;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 10px;
}
.wiz-claim-number {
    background: linear-gradient(135deg, #0b2856 0%, #123868 100%);
    color: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.wiz-claim-number-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}
.wiz-claim-number-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 4px;
}
.wiz-next-card {
    background: #f7f8fa;
    border: 1px solid #e3e5eb;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    color: #1f2937;
}
.wiz-next-row { line-height: 1.4; }

/* Progress bar at the bottom of the card flow */
.wiz-progress {
    height: 4px;
    border-radius: 999px;
    background: #d7dbe3;
    overflow: hidden;
    margin: 4px 2px 0;
}
.wiz-progress-bar {
    height: 100%;
    width: 8%;
    background: #0b2856;
    border-radius: 999px;
    transition: width 0.3s ease;
}
.wiz-poweredby {
    text-align: center;
    color: #6b7588;
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
