html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
}

.verify-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verify-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
}

.logo-box {
    margin-bottom: 25px;
}

.verify-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

.verify-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.verify-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.verify-form {
    width: 100%;
}

.verify-input {
    height: 52px;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #dcdcdc;
}

    .verify-input:focus {
        border-color: #111;
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.08);
    }

.verify-btn {
    height: 52px;
    border-radius: 12px;
    background-color: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: 0.3s ease;
}

    .verify-btn:hover {
        background-color: #333;
        color: #fff;
    }


.back-link {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}

    .back-link:hover {
        color: #000;
        letter-spacing: 0.5px;
    }
.certificate-result { margin-top: 2rem; border-top: 1px solid #ddd; padding-top: 1.5rem; }
.certificate-result h2 { color: #21654b; font-size: 1.4rem; }
.certificate-preview { display: block; width: 100%; height: 560px; border: 1px solid #ddd; margin: 1rem 0; }
.verify-card:has(.certificate-result) { max-width: 960px; }
.validation-summary-valid { display: none; }
.validation-summary-errors ul { list-style: none; padding: 0; }

.certificate-pages { overflow: auto; margin-bottom: 1.5rem; background: #eee; user-select: none; }
.certificate-pages canvas { display: block; max-width: 100%; height: auto; margin: 0 auto 1rem; }
.certificate-viewer h3 { font-size: 1.15rem; }
@media print { body { display: none !important; } }

.staging-banner { position: fixed; top: 0; left: 0; right: 0; margin: 0; padding: .5rem; background: #ffd873; color: #111; text-align: center; z-index: 1000; }
