/* Belge sorgulama — public homepage (#14213a / #3778b1) */

body.verify-page {
    background: #eef3f8;
    color: #14213a;
    min-height: 100vh;
}

.verify-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.verify-header {
    background: #ffffff;
    border-bottom: 1px solid #e6ecf3;
    box-shadow: 0 1px 0 rgba(20, 33, 58, 0.04);
}

.verify-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.verify-brand img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.verify-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verify-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.verify-link-btn--ghost {
    color: #14213a;
    background: #f3f7fb;
    border: 1px solid #e2e8f0;
}

.verify-link-btn--ghost:hover {
    background: #e8f1f8;
    color: #14213a;
}

.verify-link-btn--primary {
    background: #3778b1;
    color: #fff !important;
    border: 1px solid #3778b1;
    box-shadow: 0 4px 14px rgba(55, 120, 177, 0.22);
}

.verify-link-btn--primary:hover {
    background: #2d6699;
    border-color: #2d6699;
    color: #fff !important;
}

body.theme-brand.verify-page a.verify-link-btn--primary,
body.theme-brand.verify-page a.verify-link-btn--primary:hover,
body.theme-brand.verify-page a.verify-link-btn--primary:focus {
    color: #ffffff !important;
}

.verify-main {
    flex: 1;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 20px 32px;
}

.verify-hero {
    text-align: center;
}

.verify-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #14213a;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.verify-hero > p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.verify-search-card {
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(20, 33, 58, 0.08);
    text-align: left;
}

.verify-search-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.verify-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.verify-search-input-wrap {
    flex: 1;
    position: relative;
}

.verify-search-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.verify-search-input {
    width: 100%;
    height: 52px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px 0 44px;
    font-size: 1rem;
    color: #14213a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.verify-search-input:focus {
    outline: none;
    border-color: #3778b1;
    box-shadow: 0 0 0 4px rgba(55, 120, 177, 0.12);
}

.verify-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3778b1 0%, #2d6699 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(55, 120, 177, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verify-search-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(55, 120, 177, 0.34);
}

.verify-search-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.verify-search-hint {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.verify-results-section {
    margin-top: 32px;
}

.verify-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.verify-results-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #14213a;
}

.verify-results-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3778b1;
    background: rgba(55, 120, 177, 0.1);
    padding: 6px 12px;
    border-radius: 999px;
}

.verify-results-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.verify-result-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(20, 33, 58, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.verify-result-card:hover {
    border-color: rgba(55, 120, 177, 0.25);
    box-shadow: 0 8px 24px rgba(20, 33, 58, 0.08);
}

.verify-result-main {
    flex: 1;
    min-width: 0;
}

.verify-result-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.verify-doc-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3778b1;
    background: #eef5fb;
    padding: 4px 10px;
    border-radius: 8px;
}

.verify-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #15803d;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 999px;
}

.verify-result-name {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #14213a;
}

.verify-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.verify-meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.verify-meta-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

.verify-result-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.verify-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 148px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3778b1 0%, #2d6699 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(55, 120, 177, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verify-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(55, 120, 177, 0.32);
    color: #fff !important;
}

.verify-empty {
    margin-top: 32px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px 24px;
}

.verify-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 1.6rem;
}

.verify-empty h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.verify-footer {
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .verify-header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .verify-header-actions {
        justify-content: center;
    }

    .verify-search-row {
        flex-direction: column;
    }

    .verify-search-btn {
        width: 100%;
    }

    .verify-result-card {
        flex-direction: column;
    }

    .verify-result-actions {
        width: 100%;
    }

    .verify-download-btn {
        width: 100%;
    }

    .verify-result-grid {
        grid-template-columns: 1fr;
    }
}
