/**
 * Bean Merchant Shopify Sync — Public Page Styles
 *
 * Styles for the Privacy Policy, Terms & Conditions, and Vendor Agreement
 * pages that are linked from the Shopify embedded app Settings page.
 *
 * Enqueued on pages with slugs: privacy-policy, terms-and-conditions, vendor-agreement
 *
 * @package Bean_Merchant_Shopify_Sync
 * @since 3.7.0
 */

/* =============================================
   SHARED — applies to all BM legal pages
   ============================================= */

.bm-privacy-policy,
.bm-roaster-agreement {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #2c1810;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bm-privacy-policy h1,
.bm-roaster-agreement h1 {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c1810;
    margin: 0 0 0.5rem;
}

.bm-privacy-policy h2,
.bm-roaster-agreement h2 {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c1810;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e0d8;
}

.bm-privacy-policy h3,
.bm-roaster-agreement h3 {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #44474a;
    margin: 1.5rem 0 0.5rem;
}

.bm-privacy-policy p,
.bm-roaster-agreement p {
    margin: 0 0 1rem;
    color: #44474a;
    font-size: 0.9375rem;
}

.bm-privacy-policy ul,
.bm-roaster-agreement ul,
.bm-privacy-policy ol,
.bm-roaster-agreement ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.bm-privacy-policy li,
.bm-roaster-agreement li {
    margin-bottom: 0.5rem;
    color: #44474a;
    font-size: 0.9375rem;
}

.bm-privacy-policy a,
.bm-roaster-agreement a {
    color: #C1440E;
    text-decoration: none;
    font-weight: 500;
}

.bm-privacy-policy a:hover,
.bm-roaster-agreement a:hover {
    text-decoration: underline;
    color: #a33a0c;
}

.bm-privacy-policy strong,
.bm-roaster-agreement strong {
    color: #2c1810;
    font-weight: 600;
}

/* =============================================
   AGREEMENT TABLE — scopes table in vendor agreement
   ============================================= */

.bm-agreement-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.875rem;
}

.bm-agreement-table th,
.bm-agreement-table td {
    border: 1px solid #e1e3e5;
    padding: 0.75rem 1rem;
    text-align: left;
}

.bm-agreement-table th {
    background: #FAF6F1;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    color: #2c1810;
}

.bm-agreement-table td {
    color: #44474a;
}

.bm-agreement-table tr:nth-child(even) td {
    background: #fafafa;
}

.bm-agreement-table code {
    background: #FAF6F1;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.8125rem;
    color: #C1440E;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
}

/* =============================================
   AGREEMENT SIGNATURE
   ============================================= */

.bm-agreement-signature {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 2px solid #2c1810;
}

.bm-agreement-signature p {
    color: #2c1810;
}
