/*==================================================
STN Product Verification
Colors come from Settings via CSS variables:
  --stnpv-primary  (accent / success)
  --stnpv-button   (button background)
==================================================*/

.stnpv-wrapper {
    --stnpv-primary: #2ecc71;
    --stnpv-button: #2ecc71;
    width: 100%;
    max-width: 650px;
    margin: 60px auto;
    padding: 20px;
    box-sizing: border-box;
}

.stnpv-wrapper *,
.stnpv-wrapper *::before,
.stnpv-wrapper *::after {
    box-sizing: border-box;
}

.stnpv-card {
    background: #111827;
    border-radius: 18px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.stnpv-card .stnpv-title {
    color: #fff;
    font-size: 32px;
    margin: 0 0 10px;
    text-align: center;
}

.stnpv-card .stnpv-description {
    color: #bfc6d1;
    text-align: center;
    margin: 0 0 30px;
}

.stnpv-card .stnpv-input {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0 0 18px;
    border-radius: 10px;
    border: 1px solid #30363d;
    background: #1a1f29;
    color: #fff;
    font-size: 16px;
    padding: 0 18px;
    outline: none;
    box-shadow: none;
}

.stnpv-card .stnpv-input:focus {
    border-color: var(--stnpv-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}

.stnpv-card .stnpv-button {
    display: block;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 10px;
    background: var(--stnpv-button);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.stnpv-card .stnpv-button:hover {
    filter: brightness(.9);
    transform: translateY(-2px);
}

.stnpv-card .stnpv-button:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.stnpv-result {
    margin-top: 25px;
}

.stnpv-result:empty {
    margin-top: 0;
}

.stnpv-success,
.stnpv-error,
.stnpv-loading {
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    white-space: pre-line;
}

/* Success - tinted with the primary color */
.stnpv-success {
    position: relative;
    background: #111827;
    border: 1px solid var(--stnpv-primary);
}

.stnpv-success::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--stnpv-primary);
    opacity: .14;
    border-radius: inherit;
    pointer-events: none;
}

.stnpv-success > * {
    position: relative;
}

.stnpv-success h3 {
    margin: 0;
    color: var(--stnpv-primary);
    font-size: 20px;
    line-height: 1.4;
}

.stnpv-error {
    background: #4d1616;
    border: 1px solid #ff4d4d;
}

.stnpv-loading {
    background: #1d3557;
    border: 1px solid #3d7eff;
}

.stnpv-details {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.stnpv-details li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 15px;
}

.stnpv-details li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.stnpv-details .stnpv-label {
    color: #bfc6d1;
}

.stnpv-details .stnpv-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.stnpv-warning {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #4a3b10;
    border: 1px solid #f1c40f;
    color: #ffeaa0;
    font-size: 15px;
}

/* Honeypot + screen-reader helpers */
.stnpv-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.stnpv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {

    .stnpv-wrapper {
        padding: 15px;
    }

    .stnpv-card {
        padding: 25px;
    }

    .stnpv-card .stnpv-title {
        font-size: 26px;
    }

    .stnpv-details li {
        flex-direction: column;
        gap: 2px;
    }

    .stnpv-details .stnpv-value {
        text-align: left;
    }
}
