/* WAMS Part Validator — Banner & Modal Styles */

/* ── Mismatch Confirmation Modal ───────────────────────────────────────── */
#wams-pv-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wams-pv-modal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 28px 28px 20px;
    max-width: 440px;
    width: 90%;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: #2d3748;
    border-top: 4px solid #d97706;
}

#wams-pv-modal-body p {
    margin: 0 0 12px;
}

#wams-pv-modal-body p:last-child {
    margin-bottom: 0;
}

#wams-pv-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#wams-pv-modal-cancel {
    padding: 8px 18px;
    border-radius: 5px;
    border: 1px solid #cbd5e0;
    background: #fff;
    color: #2d3748;
    font-size: 14px;
    cursor: pointer;
}

#wams-pv-modal-cancel:hover {
    background: #f7fafc;
}

#wams-pv-modal-ok {
    padding: 8px 18px;
    border-radius: 5px;
    border: 1px solid #d97706;
    background: #d97706;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#wams-pv-modal-ok:hover {
    background: #b45309;
    border-color: #b45309;
}



#wams-pv-banner {
    /* Force full width regardless of parent flex/inline layout */
    display: block;
    width: 100%;
    box-sizing: border-box;
    flex-basis: 100%;
    align-self: stretch;
    clear: both;

    margin: 14px 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 5px solid transparent;
    transition: background 0.2s ease;
}

#wams-pv-banner .wams-pv-icon {
    font-size: 18px;
    flex-shrink: 0;
}

#wams-pv-banner .wams-pv-vehicle {
    font-weight: 700;
}

#wams-pv-banner .wams-pv-sub {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
}

/* States */
#wams-pv-banner.wams-pv-loading {
    background: #f0f4ff;
    border-color: #4a90d9;
    color: #2c5282;
}

#wams-pv-banner.wams-pv-match {
    background: #f0fff4;
    border-color: #38a169;
    color: #22543d;
}

#wams-pv-banner.wams-pv-mismatch {
    background: #fffbeb;
    border-color: #d97706;
    color: #7c4a03;
    font-weight: 500;
}

#wams-pv-banner.wams-pv-unknown {
    background: #ebf8ff;
    border-color: #3182ce;
    color: #2a4365;
}

#wams-pv-banner.wams-pv-error {
    background: #fff5f5;
    border-color: #e53e3e;
    color: #742a2a;
}

#wams-pv-banner.wams-pv-info {
    background: #ebf8ff;
    border-color: #2b6cb0;
    border-left-width: 6px;
    color: #1a365d;
    font-weight: 600;
}
