/* =========================================================
   CERTIFICATE VERIFICATION — static/css/certificates.css
   ========================================================= */

.vf-box {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(11, 26, 51, 0.08);
}

.vf-form label {
    display: block;
    font-weight: 600;
    color: #0b1a33;
    margin-bottom: 10px;
}

.vf-row {
    display: flex;
    gap: 12px;
}

.vf-row input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d9dce5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vf-row input::placeholder {
    text-transform: none;
    letter-spacing: 0;
}

.vf-row input:focus {
    outline: none;
    border-color: #c9a227;
}

.vf-result {
    margin-top: 28px;
    padding: 28px;
    border-radius: 14px;
    text-align: center;
}

.vf-result h2 {
    margin: 10px 0 6px;
    font-size: 26px;
}

.vf-result p {
    margin: 0;
}

.vf-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.vf-valid {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.vf-valid .vf-icon { background: #16a34a; }
.vf-valid h2 { color: #166534; }

.vf-invalid {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.vf-invalid .vf-icon { background: #dc2626; }
.vf-invalid h2 { color: #991b1b; }

.vf-details {
    margin: 22px 0 0;
    text-align: left;
    background: #fff;
    border-radius: 12px;
    padding: 6px 18px;
}

.vf-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed #e6e8ef;
}

.vf-details div:last-child {
    border-bottom: none;
}

.vf-details dt {
    color: #6b7280;
}

.vf-details dd {
    margin: 0;
    font-weight: 600;
    color: #0b1a33;
    text-align: right;
}

@media (max-width: 576px) {
    .vf-box {
        padding: 22px 18px;
    }

    .vf-row {
        flex-direction: column;
    }
}
