﻿/* Policy verification page (Page - Minimal template, PolicyVerification sublayout). */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1a1a1a;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 45%, #eef7ef 100%);
    min-height: 100vh;
}

/* MinimalPageLayout always renders the PrivacyExit popup; grange.css normally hides it, but this page doesn't load grange.css. */
.popup.is-hidden { display: none; }

.policy-verification * { box-sizing: border-box; }
.policy-verification fieldset { border: 0; margin: 0; padding: 0; }

.policy-verification .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pv-wrapper { max-width: 480px; margin: 0 auto; padding: 0 20px 40px; }

/* Results: policy details on the left, lookup and agency cards on the right. */
.pv-results {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 20px;
    align-items: start;
    max-width: 940px;
    margin: -50px auto 0;
    padding: 0 20px 40px;
}
.pv-results > * { grid-column: 1; }
.pv-results > .pv-results-side { grid-column: 2; grid-row: 1 / span 4; }

/* Branding */
.pv-brand { text-align: center; padding-top: 10px; }
.pv-logos { display: flex; justify-content: space-between; align-items: center; padding: 0 50px; }
.pv-logos img { height: 64px; }
.pv-brand hr { border: 0; border-top: 1px solid #8a8a8a; margin: 22px 0 8px; }
.pv-brand-caption { color: #6b6b6b; font-size: 18px; margin-bottom: 10px; }

/* Lookup form, not found and error cards */
.pv-card { background: #fff; border: 1px solid #dcdcdc; border-radius: 8px; padding: 30px; }
.pv-card-icon { width: 76px; height: 76px; margin-bottom: 14px; }
.pv-card h1 { font-size: 28px; font-weight: 600; margin: 0 0 12px; }
.pv-card p { color: #5a5a5a; font-size: 16px; line-height: 1.5; margin: 0 0 30px; }

.pv-field { position: relative; margin-bottom: 20px; }
.pv-field input {
    width: 100%;
    height: 50px;
    padding: 0 44px 0 15px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    outline: none;
}
.pv-field input:focus { border-color: #17a34a; box-shadow: 0 0 0 2px rgba(23, 163, 74, .2); }
.pv-field input.error { border-color: #c62828; }
.pv-field span.error { display: block; color: #c62828; font-size: 13px; margin-top: 4px; }
.pv-help {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    color: #555;
    cursor: help;
}

.pv-button {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    border: 0;
    border-radius: 6px;
    background: #17a34a;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
}
.pv-button:hover { background: #128a3e; }
.pv-button--outline { height: 40px; line-height: 38px; background: #fff; color: #1a1a1a; border: 1px solid #dcdcdc; font-size: 14px; }
.pv-button--outline:hover { background: #f5f5f5; }

/* Policy result */
.pv-band { height: 70px; background: linear-gradient(to right, #17a34a, #3cc46a); }
.pv-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
    padding: 16px 20px;
}
.pv-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.pv-eyebrow svg { color: #2f6fd6; }
.pv-insured { font-size: 24px; font-weight: 700; margin: 4px 0 2px; text-transform: uppercase; }
.pv-address { font-size: 13px; color: #6b6b6b; text-transform: uppercase; }
.pv-label-sm { font-size: 13px; color: #6b6b6b; margin: 18px 0 10px; }
.pv-section-title { font-size: 11px; text-transform: uppercase; color: #6b6b6b; margin: 18px 0 8px; letter-spacing: .3px; }

.policy-verification details > summary { list-style: none; cursor: pointer; }
.policy-verification details > summary::-webkit-details-marker { display: none; }
.pv-chevron { width: 16px; height: 16px; transition: transform .15s; flex-shrink: 0; }
details[open] > summary .pv-chevron { transform: rotate(180deg); }

.pv-coverage { background: #f5f5f5; border-radius: 8px; padding: 16px 20px 20px; }
.pv-coverage > summary { display: flex; align-items: center; gap: 10px; }
.pv-coverage-type { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; flex: 1; }
.pv-coverage-type svg { color: #17a34a; }
.pv-policy-no { font-size: 12px; color: #4a4a4a; }
.pv-pill { background: #17a34a; color: #fff; font-size: 11px; font-weight: 600; border-radius: 10px; padding: 2px 10px; }
.pv-pill.pv-pill-inactive { background: #c62828; }
.pv-coverage-type svg.pv-status-icon--inactive { color: #c62828; }

.pv-company {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e3e3e3; border-radius: 6px;
    padding: 10px 12px; margin-top: 16px; font-size: 14px;
}
.pv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-tile { background: #fff; border-radius: 6px; padding: 10px 12px; }
.pv-tile-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.pv-tile-label svg { width: 14px; height: 14px; cursor: help; }
.pv-tile-value { font-size: 12px; color: #6b6b6b; margin-top: 4px; }

.pv-contact { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); margin-bottom: 14px; padding: 14px 16px; }
.pv-contact > summary { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; }
.pv-contact-body { font-size: 12px; color: #4a4a4a; line-height: 1.7; margin-top: 12px; text-transform: uppercase; }
.pv-contact-body a { color: #17a34a; text-decoration: none; }

.pv-disclaimer { font-size: 13px; color: #6b6b6b; margin: 20px 0 0; }

.pv-results-side { display: flex; flex-direction: column; gap: 14px; }
.pv-side-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); padding: 16px; font-size: 13px; color: #6b6b6b; line-height: 1.5; }
.pv-side-card p { margin: 0 0 12px; }
.pv-side-contact { display: flex; align-items: flex-start; gap: 10px; }
.pv-side-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #17a34a; }
.pv-side-contact p { margin: 0; }
.pv-side-contact a { color: #17a34a; text-decoration: none; white-space: nowrap; }

@media (max-width: 800px) {
    .pv-results { grid-template-columns: minmax(0, 1fr); }
    .pv-results > .pv-results-side { grid-column: 1; grid-row: auto; margin-top: 20px; }
}

@media (max-width: 480px) {
    .pv-logos { padding: 0 10px; }
    .pv-tiles { grid-template-columns: 1fr; }
    .pv-coverage > summary { flex-wrap: wrap; }
}
