.verify-page {
    min-height: calc(100vh - 82px);
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: #f4f7fb;
    color: #17243b;
    font-family: IRANSans, "Iran Sans", Tahoma, sans-serif;
}

@media (max-width: 700px) {
    .verify-page { min-height: calc(100vh - 70px); }
}

.verify-card {
    width: min(100%, 680px);
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e4eaf2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 70px rgb(27 50 82 / 9%);
}

.verify-brand { color: #2867c7; font-weight: 700; text-decoration: none; }
.verify-heading { margin: 34px 0 28px; text-align: center; }
.verify-heading h1 { margin: 14px 0 8px; font-size: clamp(1.4rem, 4vw, 2rem); }
.verify-heading p, .verify-footnote { color: #6b778b; line-height: 1.9; }
.verify-mark { display: inline-grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; background: #eaf2ff; color: #2867c7; font-size: 1.6rem; }
.verify-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.verify-input-row { display: flex; gap: 10px; }
.verify-input-row input { min-width: 0; flex: 1; padding: 13px 15px; border: 1px solid #dce4ef; border-radius: 12px; font: inherit; }
.verify-input-row button { padding: 12px 18px; border: 0; border-radius: 12px; background: #2867c7; color: #fff; font: inherit; cursor: pointer; }
.verify-result { margin-top: 24px; padding: 20px; border: 1px solid #dce4ef; border-radius: 16px; }
.verify-valid { border-color: #b9e4cf; background: #f4fbf7; }
.verify-revoked, .verify-not-found { border-color: #f1c6c6; background: #fff7f7; }
.verify-result-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.verify-valid .verify-result-title { color: #197447; }
.verify-revoked .verify-result-title, .verify-not-found { color: #a53535; }
.verify-result-title span { padding: 5px 10px; border-radius: 999px; background: #fff; font-size: .85rem; }
.verify-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.verify-details div { min-width: 0; }
.verify-details dt { margin-bottom: 5px; color: #758196; font-size: .85rem; }
.verify-details dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.verify-issuer { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid #e4eaf2; color: #56647a; }
.verify-footnote { margin: 22px 0 0; text-align: center; font-size: .85rem; }
@media (max-width: 520px) { .verify-input-row { flex-direction: column; } .verify-details { grid-template-columns: 1fr; } }

.certificates-page { min-height: 100vh; padding: clamp(20px, 4vw, 56px); background: #f4f7fb; color: #17243b; font-family: IRANSans, "Iran Sans", Tahoma, sans-serif; }
.certificates-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto 28px; }
.certificates-header h1 { margin: 18px 0 6px; }
.certificates-header p, .certificates-header a:first-child { color: #6b778b; }
.verify-link, .certificates-filters button { padding: 11px 16px; border: 0; border-radius: 11px; background: #2867c7; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.certificates-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; max-width: 1200px; margin: 0 auto 20px; padding: 18px; border: 1px solid #e4eaf2; border-radius: 16px; background: white; }
.certificates-filters label { display: grid; gap: 7px; color: #56647a; }
.certificates-filters input, .certificates-filters select { min-width: 220px; padding: 11px 12px; border: 1px solid #dce4ef; border-radius: 10px; font: inherit; }
.clear-filter { padding: 11px 6px; color: #56647a; }
.certificates-table-card { max-width: 1200px; margin: auto; overflow: hidden; border: 1px solid #e4eaf2; border-radius: 16px; background: white; }
.certificates-table-heading { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #edf0f5; }
.certificates-table-heading span { color: #78859a; }
.certificates-table-scroll { overflow-x: auto; }
.certificates-table { width: 100%; border-collapse: collapse; text-align: right; }
.certificates-table th, .certificates-table td { padding: 14px 18px; border-bottom: 1px solid #edf0f5; white-space: nowrap; }
.certificates-table th { color: #68758a; font-weight: 600; background: #fafbfd; }
.certificate-status { display: inline-block; padding: 5px 10px; border-radius: 999px; }
.is-valid { color: #197447; background: #eaf7f0; }
.is-revoked { color: #a53535; background: #fff0f0; }
.certificates-empty { padding: 48px 20px; color: #6b778b; text-align: center; }
@media (max-width: 650px) { .certificates-header { align-items: flex-start; flex-direction: column; } .certificates-filters { align-items: stretch; flex-direction: column; } .certificates-filters input, .certificates-filters select { min-width: 0; width: 100%; } }
