/* Learn Hive Document Verification — Public Page v3 */

.lhv-verify-wrap {
    max-width: 680px;
    margin: 40px auto;
    font-family: 'Georgia', serif;
    color: #2c2c2c;
}

.lhv-verify-header {
    text-align: center;
    margin-bottom: 30px;
}

.lhv-verify-header h2 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    font-weight: normal;
}

.lhv-verify-header p {
    color: #666;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

/* Search Form */
.lhv-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.lhv-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    color: #1a1a1a;
}

.lhv-search-form input:focus {
    border-color: #b8972a;
}

.lhv-search-form button {
    padding: 12px 28px;
    background: #1a1a1a;
    color: #b8972a;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', sans-serif;
    transition: background 0.2s;
}

.lhv-search-form button:hover {
    background: #b8972a;
    color: #fff;
}

/* Result Cards — base */
.lhv-result {
    border-radius: 3px;
    padding: 36px 40px;
    margin-top: 10px;
}

/* Valid card */
.lhv-result-valid {
    background: #fafaf8;
    border: 1px solid #d8d8cc;
    border-top: 3px solid #2e6b2e;
}

/* Amber card — awaiting payment */
.lhv-result-amber {
    background: #fafaf8;
    border: 1px solid #d8d8cc;
    border-top: 3px solid #8a6200;
}

/* Void/Revoked card */
.lhv-result-void {
    background: #fafaf8;
    border: 1px solid #d8d8cc;
    border-top: 3px solid #8b1a1a;
}

/* Not found card */
.lhv-result-notfound {
    background: #fafaf8;
    border: 1px solid #d8d8cc;
    border-top: 3px solid #888;
}

.lhv-result-notfound h3 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    color: #555;
}

.lhv-result-notfound p {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.lhv-result-notfound a {
    color: #b8972a;
    text-decoration: none;
}

/* Result heading line */
.lhv-result-heading {
    font-size: 20px;
    font-weight: normal;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

/* Status word — only these get color */
.lhv-status-word {
    font-weight: 600;
}

.lhv-heading-valid {
    color: #2e6b2e;  /* Deep green */
}

.lhv-heading-amber {
    color: #8a6200;  /* Deep amber */
}

.lhv-heading-void {
    color: #8b1a1a;  /* Deep red */
}

/* Status message paragraph */
.lhv-status-message {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8e8e0;
    padding-bottom: 20px;
}

/* Detail rows */
.lhv-result-details {
    background: #fff;
    border: 1px solid #e0e0d8;
    border-radius: 2px;
    margin: 0 0 20px 0;
    overflow: hidden;
}

.lhv-detail-row {
    display: flex;
    padding: 11px 20px;
    border-bottom: 1px solid #f0f0e8;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.lhv-detail-row:last-child {
    border-bottom: none;
}

.lhv-detail-label {
    width: 170px;
    flex-shrink: 0;
    color: #777;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.lhv-detail-value {
    color: #1a1a1a;
}

/* Contact line */
.lhv-contact-line {
    font-size: 12px;
    color: #888;
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: 0;
    line-height: 1.6;
}

.lhv-contact-line a {
    color: #b8972a;
    text-decoration: none;
}

.lhv-contact-line a:hover {
    text-decoration: underline;
}

/* Footer */
.lhv-footer-note {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #bbb;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 0.3px;
}

.lhv-footer-note a {
    color: #b8972a;
    text-decoration: none;
}

/* Admin modal styles */
#lhv-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lhv-modal {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    width: 520px;
    max-width: 95vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

#lhv-modal h3 {
    margin-top: 0;
    border-bottom: 2px solid #b8972a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Payment status badges in admin */
.lhv-payment-paid             { background: #e6f4ea; color: #1e7e34; }
.lhv-payment-awaiting-payment { background: #fff8e6; color: #8a6200; }
.lhv-payment-not-paid         { background: #fdecea; color: #8b1a1a; }
.lhv-payment-refunded         { background: #fdecea; color: #8b1a1a; }
.lhv-payment-not-applicable   { background: #f0f0f0; color: #888;    }

/* Mobile */
@media (max-width: 600px) {
    .lhv-verify-wrap  { margin: 20px 15px; }
    .lhv-search-form  { flex-direction: column; }
    .lhv-result       { padding: 24px 18px; }
    .lhv-detail-row   { flex-direction: column; gap: 2px; }
    .lhv-detail-label { width: 100%; font-weight: 600; }
}
