/* =========================
   THBP Company Check Styles
========================= */

.thbp-company-check-page {
    padding: 0 15px 30px;
}

.thbp-company-check-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 0;
}

/* =========================
   HERO
========================= */

.thbp-company-check-hero {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 18px;
}

.thbp-company-check-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.thbp-company-check-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.55;
}

/* =========================
   CARD
========================= */

.thbp-company-check-card,
.thbp-company-check-request-card,
.thbp-company-check-result-card {
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 12px;
    padding: 20px;
}

.thbp-company-check-card {
    margin-bottom: 20px;
}

.thbp-company-check-result-card.is-error {
    border-color: #f5c2c7;
    background: #fff5f5;
}

/* =========================
   TABS
========================= */

.thbp-company-check-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.thbp-company-check-tab {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
    font-size: 14px;
}

.thbp-company-check-tab.is-active {
    background: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

/* =========================
   FORM
========================= */

.thbp-company-check-form {
    display: block;
}

.thbp-company-check-label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

.thbp-company-check-input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.thbp-company-check-input {
    flex: 1;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
}

.thbp-company-check-button {
    min-height: 46px;
    padding: 0 20px;
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.thbp-company-check-button:hover {
    background: #155d94;
}

/* =========================
   RESULTS
========================= */

.thbp-company-check-results-area {
    margin-bottom: 25px;
}

.thbp-company-check-result-head h2 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.35;
}

.thbp-company-check-result-head p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.thbp-company-check-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.thbp-company-check-result-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px;
}

.thbp-company-check-result-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

.thbp-company-check-result-item strong {
    font-size: 14px;
    line-height: 1.5;
}

/* =========================
   ACTION BUTTON
========================= */

.thbp-company-check-result-actions {
    margin-top: 15px;
}

.thbp-company-check-link-button {
    display: inline-block;
    padding: 10px 14px;
    background: #222;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

.thbp-company-check-link-button:hover {
    background: #000;
}

/* =========================
   REQUEST FORM
========================= */

.thbp-company-check-request-head h2 {
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.35;
}

.thbp-company-check-request-head p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.thbp-company-check-request-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.thbp-company-check-field {
    display: flex;
    flex-direction: column;
}

.thbp-company-check-field-full {
    grid-column: 1 / -1;
}

.thbp-company-check-field label {
    font-size: 12px;
    margin-bottom: 6px;
    color: #555;
}

.thbp-company-check-field input,
.thbp-company-check-field select,
.thbp-company-check-field textarea {
    padding: 11px 12px;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
}

.thbp-company-check-field textarea {
    min-height: 110px;
    resize: vertical;
}

.thbp-company-check-request-actions {
    margin-top: 15px;
}

/* =========================
   NOTICES
========================= */

.thbp-company-check-notice {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

.thbp-company-check-notice.is-success {
    background: #e6ffed;
    border: 1px solid #b7ebc6;
}

.thbp-company-check-notice.is-error {
    background: #fff5f5;
    border: 1px solid #f5c2c7;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
    .thbp-company-check-page {
        padding: 8px 12px 24px;
    }

    .thbp-company-check-hero {
        margin-top: -18px;
        margin-bottom: 16px;
    }

    .thbp-company-check-title {
        font-size: 23px;
    }

    .thbp-company-check-card,
    .thbp-company-check-request-card,
    .thbp-company-check-result-card {
        padding: 16px;
    }

    .thbp-company-check-input-row {
        flex-direction: column;
    }

    .thbp-company-check-button {
        width: 100%;
    }

    .thbp-company-check-result-grid {
        grid-template-columns: 1fr;
    }

    .thbp-company-check-request-grid {
        grid-template-columns: 1fr;
    }

    .thbp-company-check-wrap,
    .thbp-company-check-form,
    .thbp-company-check-input-row,
    .thbp-company-check-field {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .thbp-company-check-input,
    .thbp-company-check-field input,
    .thbp-company-check-field select,
    .thbp-company-check-field textarea {
        font-size: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =========================
   BILINGUAL TEXT (TH + EN)
========================= */

.thbp-company-check-result-value-th {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

.thbp-company-check-result-value-en {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 500;
}