/* Document verification form */
.dv-search-box { max-width: 760px; margin: 32px auto 26px; padding: 34px; color: #1d2939; background: #fff; border: 1px solid #e4e7ec; border-radius: 18px; box-shadow: 0 14px 35px rgba(16, 24, 40, .08); }
.dv-search-box h2 { margin: 0 0 28px; color: #c93430; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; text-align: center; }
.dv-search-box label { display: block; margin: 0 0 10px; color: #344054; font-size: 16px; font-weight: 700; }
.dv-search-box label span { color: #c93430; }
.dv-search-actions { display: flex; gap: 12px; }
.dv-search-box input { box-sizing: border-box; flex: 1 1 auto; width: 100%; min-height: 54px; margin: 0; padding: 12px 16px; color: #1d2939; font-size: 17px; background: #fff; border: 1px solid #d0d5dd; border-radius: 9px; outline: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .2s ease, box-shadow .2s ease; }
.dv-search-box input::placeholder { color: #98a2b3; }
.dv-search-box input:focus { border-color: #c93430; box-shadow: 0 0 0 4px rgba(201, 52, 48, .14); }
.dv-search-box button { min-height: 54px; padding: 12px 25px; color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; background: #c93430; border: 1px solid #c93430; border-radius: 9px; box-shadow: 0 4px 10px rgba(201, 52, 48, .2); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.dv-search-box button:hover:not(:disabled) { background: #aa2724; border-color: #aa2724; box-shadow: 0 6px 15px rgba(201, 52, 48, .28); transform: translateY(-1px); }
.dv-search-box button:focus-visible, .dv-modal-close:focus-visible { outline: 3px solid rgba(201, 52, 48, .35); outline-offset: 2px; }
.dv-search-box button:disabled { cursor: wait; opacity: .75; }

/* Verification details */
#dv_result { max-width: 760px; margin: 0 auto; }
.dv-result-table { width: 100%; overflow: hidden; color: #344054; background: #fff; border: 1px solid #e4e7ec; border-spacing: 0; border-radius: 14px; box-shadow: 0 10px 24px rgba(16, 24, 40, .06); }
.dv-result-table th, .dv-result-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #eaecf0; }
.dv-result-table th { width: 36%; color: #344054; font-weight: 700; background: #f9fafb; }
.dv-result-table tr:last-child th, .dv-result-table tr:last-child td { border-bottom: 0; }
.dv-result-table a { color: #c93430; font-weight: 700; text-decoration: none; }
.dv-result-table a:hover { color: #92201d; text-decoration: underline; }
.dv-message { margin: 18px 0 0; padding: 13px 16px; border-radius: 8px; }
.dv-message-error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }

/* Document preview modal */
.dv-modal-open { overflow: hidden; }
.dv-document-modal { position: fixed; z-index: 999999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 24, 40, .78); }
.dv-document-modal[hidden] { display: none; }
.dv-modal-dialog { position: relative; width: min(100%, 1000px); max-height: 92vh; padding: 48px 18px 18px; overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .42); }
.dv-modal-close { position: absolute; top: 10px; right: 12px; display: grid; width: 34px; height: 34px; padding: 0; color: #475467; font-size: 28px; line-height: 1; cursor: pointer; background: #f2f4f7; border: 0; border-radius: 50%; place-items: center; }
.dv-modal-close:hover { color: #fff; background: #c93430; }
.dv-document-image, .dv-document-frame { display: block; width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
.dv-document-frame { min-height: 70vh; border: 0; }
@media (max-width: 640px) { .dv-search-box { margin: 20px 12px; padding: 24px 18px; border-radius: 14px; } .dv-search-box h2 { margin-bottom: 22px; } .dv-search-actions { flex-direction: column; } .dv-search-box button { width: 100%; } .dv-result-table { display: block; overflow-x: auto; } .dv-result-table th, .dv-result-table td { padding: 13px; } .dv-result-table th { width: 43%; } .dv-document-modal { padding: 12px; } }
