/* Certificate verification pages (/verified) */

.vf-section {
    position: relative;
    padding: 80px 0 100px;
    background: #081a33;
    overflow: hidden;
    isolation: isolate;
}
.vf-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(156, 203, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 203, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.vf-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -240px;
    left: 50%;
    width: 900px;
    height: 560px;
    margin-left: -450px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(30, 127, 228, 0.45), rgba(30, 127, 228, 0));
}

.vf-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 13px; }
.vf-crumbs li { color: rgba(255, 255, 255, 0.6); }
.vf-crumbs li + li::before { content: "\f105"; margin-right: 6px; font-family: 'FontAwesome'; color: rgba(255, 255, 255, 0.35); }
.vf-crumbs a { color: rgba(255, 255, 255, 0.8); }
.vf-crumbs li[aria-current] { color: #9ccbff; font-weight: 600; }

.vf-grid { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
.vf-intro .ms-eyebrow { color: #9ccbff; }
.vf-intro h1 { margin: 0 0 16px; font-family: 'Raleway', sans-serif; font-size: 46px; font-weight: 800; line-height: 1.15; color: #fff; }
.vf-intro > p { max-width: 520px; margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.vf-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.vf-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.6; }
.vf-points i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(30, 127, 228, 0.2);
    border: 1px solid rgba(156, 203, 255, 0.25);
    color: #9ccbff;
    line-height: 36px;
    text-align: center;
}
.vf-points strong { display: block; color: #fff; font-size: 15px; }

/* Card */
.vf-card {
    position: relative;
    padding: 38px 36px 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}
.vf-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e7fe4, #0b2e57);
    color: #fff;
    font-size: 28px;
    line-height: 64px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(30, 127, 228, 0.35);
}
.vf-card h2 { margin: 0 0 6px; font-family: 'Raleway', sans-serif; font-size: 24px; font-weight: 800; color: var(--ms-ink); }
.vf-card > p { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--ms-text); }

.vf-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ms-ink); }
.vf-input-wrap { position: relative; }
.vf-input-wrap > i { position: absolute; left: 18px; top: 50%; margin-top: -9px; font-size: 17px; color: #8a96a3; }
.vf-input {
    width: 100%;
    height: 58px;
    padding: 0 18px 0 48px;
    border: 2px solid var(--ms-line);
    border-radius: 14px;
    background: var(--ms-alt);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ms-ink);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.vf-input::placeholder { font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: #9aa4af; }
.vf-input:focus { outline: none; border-color: #1e7fe4; background: #fff; box-shadow: 0 0 0 4px rgba(30, 127, 228, 0.15); }
.vf-hint { margin: 10px 0 0; font-size: 12px; color: var(--ms-text); }
.vf-hint code { padding: 2px 6px; border-radius: 6px; background: var(--ms-green-soft); color: var(--ms-green); font-size: 12px; font-weight: 700; }
.vf-error { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: #d93025; }

.vf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    margin-top: 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e7fe4, #1565c0);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(30, 127, 228, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vf-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(30, 127, 228, 0.45); }
.vf-submit:focus-visible { outline: 3px solid #9ccbff; outline-offset: 2px; }
.vf-submit[disabled] { opacity: 0.8; cursor: wait; }

.vf-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ms-line); font-size: 12px; color: var(--ms-text); }
.vf-card-foot i { color: #1e7fe4; font-size: 16px; }

/* What can be verified */
.vf-types { padding: 80px 0; background: var(--ms-alt); }
.vf-types-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.vf-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vf-type { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--ms-line); }
.vf-type i { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--ms-green-soft); color: var(--ms-green); font-size: 18px; line-height: 42px; text-align: center; }
.vf-type strong { display: block; font-family: 'Raleway', sans-serif; font-size: 15px; color: var(--ms-ink); }
.vf-type span { font-size: 12px; color: var(--ms-text); }

/* Result */
.vf-result { max-width: 640px; margin: 0 auto; }
.vf-result .vf-card { padding: 0; overflow: hidden; }
.vf-status { position: relative; padding: 40px 36px 34px; text-align: center; color: #fff; }
.vf-status.is-ok { background: linear-gradient(135deg, #0f9d58 0%, #0b7a43 100%); }
.vf-status.is-fail { background: linear-gradient(135deg, #d93025 0%, #a52714 100%); }
.vf-status-icon {
    position: relative;
    display: inline-block;
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #fff;
    font-size: 42px;
    line-height: 88px;
    animation: vf-pop 0.6s cubic-bezier(.2, 1.4, .4, 1) both;
}
.vf-status.is-ok .vf-status-icon { color: #0f9d58; }
.vf-status.is-fail .vf-status-icon { color: #d93025; }
.vf-status-icon::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: vf-ring 1.6s ease-out 0.4s both;
}
@keyframes vf-pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes vf-ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.vf-status small { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.2); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.vf-status h1 { margin: 0 0 6px; font-family: 'Raleway', sans-serif; font-size: 30px; font-weight: 800; color: #fff; }
.vf-status p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.88); }

.vf-body { padding: 30px 36px 32px; }
.vf-holder { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.vf-avatar {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e7fe4, #0b2e57);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 60px;
    text-align: center;
}
.vf-holder h2 { margin: 0 0 2px; font-family: 'Raleway', sans-serif; font-size: 22px; font-weight: 800; color: var(--ms-ink); }
.vf-holder span { font-size: 14px; color: var(--ms-text); }

.vf-details { margin: 0; border: 1px solid var(--ms-line); border-radius: 14px; overflow: hidden; }
.vf-details div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 18px; font-size: 14px; }
.vf-details div + div { border-top: 1px solid var(--ms-line); }
.vf-details div:nth-child(odd) { background: var(--ms-alt); }
.vf-details dt { font-weight: 600; color: var(--ms-text); }
.vf-details dd { margin: 0; font-weight: 700; text-align: right; color: var(--ms-ink); }
.vf-statement { display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #e9f7ef; color: #0b6b3a; font-size: 14px; line-height: 1.6; }
.vf-statement i { margin-top: 3px; font-size: 18px; }

.vf-tips { margin: 0; padding: 0; list-style: none; }
.vf-tips li { position: relative; padding: 8px 0 8px 28px; font-size: 14px; color: var(--ms-text); }
.vf-tips li::before { content: "\f05a"; position: absolute; left: 0; top: 9px; font-family: 'FontAwesome'; color: #1e7fe4; }
.vf-tips code { padding: 2px 6px; border-radius: 6px; background: var(--ms-green-soft); color: var(--ms-green); font-weight: 700; }
.vf-retry { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ms-line); }

.vf-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 36px 32px; }
.vf-actions .ms-button { flex: 1; text-align: center; }
.vf-btn-ghost { display: inline-block; flex: 1; padding: 13px 24px; border-radius: 50px; border: 2px solid var(--ms-line); color: var(--ms-ink); font-family: 'Raleway', sans-serif; font-weight: 700; text-align: center; transition: border-color 0.2s ease, color 0.2s ease; }
.vf-btn-ghost:hover { border-color: #1e7fe4; color: #1e7fe4; }
.vf-help { margin-top: 24px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.vf-help a { color: #fff; font-weight: 700; }

@media (max-width: 991px) {
    .vf-grid { grid-template-columns: 1fr; gap: 40px; }
    .vf-intro h1 { font-size: 36px; }
    .vf-types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .vf-section { padding: 50px 0 70px; }
    .vf-intro h1 { font-size: 30px; }
    .vf-card { padding: 30px 22px 26px; }
    .vf-types-grid { grid-template-columns: 1fr; }
    .vf-status, .vf-body { padding-left: 22px; padding-right: 22px; }
    .vf-actions { padding: 0 22px 26px; }
    .vf-details div { flex-direction: column; gap: 2px; }
    .vf-details dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .vf-status-icon, .vf-status-icon::after { animation: none; }
}
