.byd-warranty-section {
    padding: 72px 0 80px;
    background: linear-gradient(180deg, #fff 0%, #fff7f3 100%);
    color: #272B37;
}

.byd-warranty-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.byd-warranty-card {
    max-width: 720px;
    margin: 0 auto;
}

.byd-query-title {
    width: min(360px, 100%);
    height: 52px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(232, 56, 13, .18), 0 12px 28px rgba(232, 56, 13, .10);
    color: #272B37;
    font-size: 18px;
    font-weight: 700;
}

.byd-query-logo {
    width: 22px;
    height: 22px;
    display: inline-block;
    border-radius: 8px;
    background:
        linear-gradient(135deg, transparent 0 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(135deg, #EF3E08 0%, #E8380D 100%);
    box-shadow: 0 8px 18px rgba(239, 62, 8, .28);
}

.byd-help-link {
    display: block;
    margin: 0 0 32px;
    color: #EF3E08;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
}

.byd-field {
    margin-bottom: 28px;
}

.byd-label {
    display: block;
    margin-bottom: 12px;
    color: #272B37;
    font-size: 17px;
    font-weight: 700;
}

.byd-required {
    color: #E8380D;
    margin-left: 4px;
}

.byd-token-input {
    min-height: 54px;
    padding: 8px 12px;
    border: 1px solid #dde2f0;
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, box-shadow .2s;
}

.byd-token-input:focus-within {
    border-color: #EF3E08;
    box-shadow: 0 0 0 4px rgba(239, 62, 8, .08);
}

.byd-token {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 4px;
    background: #fff1eb;
    color: #272B37;
    font-size: 15px;
}

.byd-token button {
    border: 0;
    background: transparent;
    color: #8b92a8;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.byd-sn-input {
    flex: 1;
    min-width: 180px;
    height: 36px;
    border: 0;
    outline: none;
    color: #272B37;
    font-size: 16px;
}

.byd-tip {
    margin-top: 10px;
    color: #858791;
    font-size: 15px;
}

.byd-captcha-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.byd-captcha-input {
    width: 220px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #dde2f0;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
}

.byd-captcha-code {
    min-width: 156px;
    height: 52px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background:
        linear-gradient(135deg, rgba(239, 62, 8, .10) 0 25%, transparent 25% 50%, rgba(239, 62, 8, .08) 50% 75%, transparent 75%),
        #fff1eb;
    background-size: 18px 18px;
    color: #272B37;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    user-select: none;
}

.byd-captcha-code::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(39, 43, 55, .18) 0 1px, transparent 2px),
        radial-gradient(circle at 68% 62%, rgba(232, 56, 13, .20) 0 1px, transparent 2px),
        radial-gradient(circle at 84% 24%, rgba(39, 43, 55, .14) 0 1px, transparent 2px);
    background-size: 34px 22px;
    pointer-events: none;
}

.byd-captcha-char {
    min-width: 22px;
    position: relative;
    z-index: 2;
    display: inline-block;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .75);
}

.byd-captcha-line {
    width: 110px;
    height: 2px;
    position: absolute;
    left: -10px;
    top: 50%;
    z-index: 1;
    border-radius: 999px;
    background: rgba(232, 56, 13, .34);
    pointer-events: none;
}

.byd-captcha-dot {
    width: 3px;
    height: 3px;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(39, 43, 55, .26);
    pointer-events: none;
}

.byd-refresh {
    border: 0;
    background: transparent;
    color: #EF3E08;
    cursor: pointer;
    font-size: 16px;
}

.byd-submit {
    width: 100%;
    height: 56px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #EF3E08 0%, #E8380D 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.byd-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.byd-message {
    margin-top: 14px;
    color: #EF3E08;
    text-align: center;
    font-size: 14px;
}

.byd-message:empty {
    display: none;
}

.byd-results {
    width: calc(100% - 40px);
    max-width: 1120px;
    margin: 56px auto 0;
    overflow-x: auto;
    border: 1px solid #f1ded6;
    border-radius: 6px;
    background: #fff;
}

.byd-results.is-hidden {
    display: none;
}

.byd-results-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    background: #fff;
}

.byd-results-table th,
.byd-results-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #f0e7e3;
    border-right: 1px solid #f0e7e3;
    text-align: center;
    font-size: 15px;
    color: #444;
}

.byd-results-table th {
    background: #fff1eb;
    color: #272B37;
    font-weight: 700;
}

.byd-results-table th:last-child,
.byd-results-table td:last-child {
    border-right: 0;
}

.byd-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.byd-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18a058;
}

.byd-status.is-missing {
    color: #d49210;
}

.byd-status.is-missing::before {
    background: #d49210;
}

.byd-status-guide {
    max-width: 1120px;
    margin: 64px auto 0;
    padding: 0 20px;
    text-align: center;
}

.byd-status-guide h2 {
    margin: 0;
    color: #272B37;
    font-size: 28px;
    font-weight: 800;
}

.byd-status-guide > p {
    margin: 10px 0 42px;
    color: #858791;
    font-size: 14px;
}

.byd-status-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
}

.byd-status-guide-item {
    padding: 8px 24px;
}

.byd-guide-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(33, 45, 78, .12);
}

.byd-guide-icon.is-valid {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.byd-guide-icon.is-expired {
    background: linear-gradient(135deg, #ff7a7a, #ef4444);
}

.byd-guide-icon.is-missing {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.byd-status-guide-item h3 {
    margin: 0 0 10px;
    color: #272B37;
    font-size: 17px;
    font-weight: 700;
}

.byd-status-guide-item p {
    max-width: 240px;
    margin: 0 auto;
    color: #858791;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .byd-warranty-section {
        padding: 48px 0 56px;
    }

    .byd-query-title {
        width: 100%;
        font-size: 16px;
    }

    .byd-captcha-row {
        flex-wrap: wrap;
    }

    .byd-captcha-input {
        width: 100%;
    }

    .byd-captcha-code {
        flex: 1;
        min-width: 150px;
    }

    .byd-results {
        width: calc(100% - 32px);
        margin-top: 40px;
    }

    .byd-status-guide-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
