/* Premium public verification design */
.olv-container {
    max-width: 1180px;
    margin: 38px auto;
    padding: 26px 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #172033;
}

.olv-container h2 {
    margin: 0 0 16px;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -.25px;
}

.olv-container form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.olv-container input[type="text"] {
    flex: 1;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #cbd8e8;
    border-radius: 9px;
    background: #fff;
    color: #24364d;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    box-shadow: 0 3px 12px rgba(35, 68, 105, .055);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.olv-container input[type="text"]:focus {
    border-color: #6d8fb7;
    box-shadow: 0 0 0 3px rgba(65, 112, 163, .10), 0 5px 16px rgba(35, 68, 105, .07);
}

.olv-container button {
    min-width: 96px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #315b86;
    border-radius: 9px;
    background: #315b86;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(49, 91, 134, .16);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.olv-container button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(49, 91, 134, .20);
}
.olv-container button:disabled { cursor: wait; opacity: .72; }

.olv-loading {
    margin: 18px 0 4px;
    padding: 28px 22px;
    border: 1px solid #e1e8f0;
    border-radius: 17px;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
    text-align: center;
    box-shadow: 0 12px 30px rgba(35, 68, 105, .07);
}
.olv-loading-ring {
    width: 38px; height: 38px; margin: 0 auto 13px;
    border: 3px solid #e5ebf2; border-top-color: #315b86; border-right-color: #83a1c2;
    border-radius: 50%; animation: olv-spin .8s linear infinite;
}
.olv-loading-title { font-size: 15px; font-weight: 650; }
.olv-loading-text { margin-top: 5px; color: #7b899b; font-size: 12.5px; }
@keyframes olv-spin { to { transform: rotate(360deg); } }

.olv-result-card {
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(35, 68, 105, .075);
}

.olv-result-head {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 30px 18px;
    border-bottom: 1px solid #e9eef4;
    background: linear-gradient(135deg, #fbfdff 0%, #f4f8fc 100%);
}
.olv-result-kicker { margin-bottom: 5px; color: #7a899c; font-size: 10.5px; font-weight: 600; letter-spacing: 1.35px; }
.olv-result-head h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 650; color: #20334a; }
.olv-verified-badge {
    display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
    padding: 7px 11px; border: 1px solid #d7e5dc; border-radius: 999px;
    background: #f5faf7; color: #35664c; font-size: 11px; font-weight: 650;
}
.olv-verified-badge span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3f7b5a; color: #fff; font-size: 10px; }

.olv-result-table { padding: 12px 30px 10px; }
.olv-row {
    display: grid;
    grid-template-columns: 158px 10px minmax(0, 1fr);
    align-items: center;
    column-gap: 2px;
    min-height: 48px;
    padding: 4px 4px;
    border-bottom: 1px solid #edf1f5;
    box-sizing: border-box;
}
.olv-row:last-child { border-bottom: 0; }
.olv-label {
    color: #64748b; font-size: 14px; line-height: 1.35; font-weight: 400;
    white-space: nowrap;
}
.olv-colon {
    color: #8b98a8; font-size: 14px; line-height: 1; font-weight: 400; text-align: center;
}
.olv-value {
    color: #172033; font-size: 15.5px; line-height: 1.35; font-weight: 700;
    min-width: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip;
}

.olv-not-found { margin-top: 18px; padding: 16px 18px; border: 1px solid #e2e8ef; border-radius: 13px; background: #fff; color: #5f6d80; box-shadow: 0 9px 24px rgba(35, 68, 105, .055); }

.olv-download-wrap { margin-top: 30px; padding: 0 30px 32px; text-align: left; }
.olv-download-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px;
    padding: 0 19px; border: 1px solid #d1dce8; border-radius: 9px;
    background: #315b86; color: #fff !important; text-decoration: none !important;
    font-size: 13.5px; font-weight: 650; box-shadow: 0 6px 16px rgba(49, 91, 134, .15);
}
.olv-download-button:hover { color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(49, 91, 134, .19); }
.olv-download-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(255,255,255,.30); border-radius: 50%; font-size: 13px; }

@media (max-width: 600px) {
    .olv-container { margin: 22px auto; padding: 14px; }
    .olv-container h2 { font-size: 24px; }
    .olv-container form { flex-direction: column; }
    .olv-container button { width: 100%; }
    .olv-result-head { align-items: flex-start; flex-direction: column; padding: 19px 18px; }
    .olv-result-table { padding: 9px 16px; }
    .olv-row { grid-template-columns: minmax(0, 145px) 10px minmax(0, 1fr); column-gap: 3px; min-height: 44px; padding: 4px 2px; }
    .olv-label, .olv-colon { font-size: 13px; }
    .olv-value { font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
    .olv-download-wrap { margin-top: 25px; padding: 0 18px 26px; }
    .olv-download-button { width: 100%; box-sizing: border-box; }
}

/* =========================================================
   Definitive verification result layout
   Keep labels aligned and values inside a fixed right margin.
   ========================================================= */
.olv-container .olv-result-card .olv-result-table {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 40px 10px 30px !important;
}

.olv-container .olv-result-card .olv-row {
    display: grid !important;
    grid-template-columns: 175px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 8px 0 !important;
    box-sizing: border-box !important;
}

.olv-container .olv-result-card .olv-label,
.olv-container .olv-result-card .olv-value {
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.olv-container .olv-result-card .olv-label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

.olv-container .olv-result-card .olv-value {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

@media (min-width: 601px) {
    .olv-container .olv-result-card .olv-value {
        max-width: 420px !important;
    }
}

@media (max-width: 600px) {
    .olv-container .olv-result-card .olv-result-table {
        padding: 9px 24px 9px 16px !important;
    }

    .olv-container .olv-result-card .olv-row {
        grid-template-columns: 40% minmax(0, 60%) !important;
        gap: 12px !important;
        min-height: 44px !important;
        padding: 7px 0 !important;
    }

    .olv-container .olv-result-card .olv-label {
        font-size: 13px !important;
    }

    .olv-container .olv-result-card .olv-value {
        font-size: 14px !important;
        max-width: 100% !important;
    }
}
