/* ============================================================
   产品防伪验证 · 共享样式（砾狐 / MASTERMIND ZERO / Piana Clerico）
   依赖各品牌 CSS 的变量与基础排版，仅补充验证组件
   ============================================================ */

.verify-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    min-height: 70vh;
}

.verify-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-1, #fff);
    border: 1px solid var(--line, rgba(0, 0, 0, .1));
    border-radius: var(--radius, 12px);
    padding: clamp(1.8rem, 5vw, 3rem);
}

.verify-card h1 {
    font-family: var(--font, inherit);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: .12em;
    margin-bottom: .6rem;
}

.verify-card .verify-desc {
    color: var(--text-2, #666);
    font-size: .95rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.verify-form {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

.verify-form input {
    flex: 1 1 260px;
    padding: 1rem 1.2rem;
    font-size: 1.15rem;
    letter-spacing: .22em;
    border: 1px solid var(--line, rgba(0, 0, 0, .18));
    border-radius: var(--radius, 10px);
    background: var(--bg-0, #fff);
    color: var(--text-1, #222);
    outline: none;
    transition: border-color .3s, box-shadow .3s;
    font-family: "SF Mono", "Consolas", monospace;
}

.verify-form input::placeholder {
    letter-spacing: .12em;
    color: var(--text-3, #999);
}

.verify-form input:focus {
    border-color: var(--verify-accent, var(--green, #1ecb6b));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--verify-accent, #1ecb6b) 22%, transparent);
}

.verify-form button {
    padding: 1rem 2.2rem;
    font-size: 1.02rem;
    letter-spacing: .18em;
    border: none;
    border-radius: var(--radius, 10px);
    background: var(--verify-accent, var(--green, #1ecb6b));
    color: var(--verify-accent-text, #fff);
    cursor: pointer;
    font-family: inherit;
    transition: transform .3s, box-shadow .3s, opacity .3s;
}

.verify-form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--verify-accent, #1ecb6b) 38%, transparent);
}

.verify-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.verify-hint {
    margin-top: 1rem;
    font-size: .82rem;
    color: var(--text-3, #999);
    letter-spacing: .06em;
}

/* ---------- 结果区 ---------- */
.verify-result { margin-top: 2rem; }

.v-result {
    text-align: center;
    padding: 2.2rem 1.5rem;
    border-radius: var(--radius, 12px);
    border: 1px solid transparent;
    margin-bottom: 1.1rem;
}

.v-ok    { background: rgba(30, 203, 107, .10); border-color: rgba(30, 203, 107, .42); }
.v-dup   { background: rgba(245, 158, 11, .10); border-color: rgba(245, 158, 11, .42); }
.v-bad   { background: rgba(239, 68, 68, .10);  border-color: rgba(239, 68, 68, .42);  }
.v-loading { background: var(--bg-2, rgba(0,0,0,.04)); border-color: var(--line, rgba(0,0,0,.1)); }

.v-result .v-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; font-weight: 700; color: #fff;
}
.v-ok .v-icon  { background: #1ecb6b; }
.v-dup .v-icon { background: #f59e0b; }
.v-bad .v-icon { background: #ef4444; }

.v-result .v-title {
    font-family: var(--font, inherit);
    font-size: 1.35rem;
    letter-spacing: .12em;
    font-weight: 700;
    margin-bottom: .45rem;
}
.v-ok .v-title  { color: #12b35c; }
.v-dup .v-title { color: #d48806; }
.v-bad .v-title { color: #dc2626; }

.v-result .v-sub {
    font-size: .93rem;
    color: var(--text-2, #666);
    margin-bottom: .3rem;
}

.v-result .v-code {
    display: inline-block;
    margin-top: .85rem;
    padding: .45rem 1.25rem;
    font-family: "SF Mono", "Consolas", monospace;
    font-size: 1.15rem;
    letter-spacing: .28em;
    background: var(--bg-0, rgba(0, 0, 0, .05));
    border: 1px dashed var(--line, rgba(0, 0, 0, .18));
    border-radius: 8px;
}

.v-spinner {
    width: 42px; height: 42px;
    margin: 0 auto 1.1rem;
    border: 3px solid var(--line, rgba(0, 0, 0, .12));
    border-top-color: var(--verify-accent, #1ecb6b);
    border-radius: 50%;
    animation: vspin .8s linear infinite;
}
@keyframes vspin { to { transform: rotate(360deg); } }

/* ---------- 产品信息 / 提示 ---------- */
.v-info, .v-warn, .v-tips {
    border-radius: var(--radius, 12px);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--line, rgba(0, 0, 0, .1));
    background: var(--bg-1, #fff);
}

.v-info h4, .v-tips h4 {
    font-family: var(--font, inherit);
    font-size: 1rem;
    letter-spacing: .14em;
    margin-bottom: .9rem;
}

.v-info .irow {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--line, rgba(0, 0, 0, .1));
    font-size: .93rem;
}
.v-info .irow:last-child { border-bottom: none; }
.v-info .k { color: var(--text-3, #888); flex-shrink: 0; }
.v-info .v { text-align: right; color: var(--text-1, #222); }

.v-warn {
    background: rgba(245, 158, 11, .10);
    border-color: rgba(245, 158, 11, .35);
    text-align: center;
}
.v-warn .t { font-size: .82rem; color: var(--text-2, #666); letter-spacing: .12em; }
.v-warn .v {
    font-family: "SF Mono", "Consolas", monospace;
    font-size: 1.15rem;
    letter-spacing: .12em;
    margin-top: .35rem;
    color: var(--text-1, #222);
}

.v-tips li {
    list-style: none;
    position: relative;
    padding-left: 1.15rem;
    margin: .45rem 0;
    font-size: .88rem;
    color: var(--text-2, #666);
    line-height: 1.7;
}
.v-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--verify-accent, #1ecb6b);
}
.v-tips-info {
    background: rgba(59, 130, 246, .08);
    border-color: rgba(59, 130, 246, .28);
}

@media (max-width: 560px) {
    .verify-form button { width: 100%; }
    .verify-form input { letter-spacing: .14em; }
}
