/* My Account (customers): small additions on top of the WooCommerce account styles the site already loads. */
.ln-account { min-height: 280px; font-family: Manrope, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.ln-account.is-loading { opacity: .55; pointer-events: none; }
.ln-acc-form { max-width: 460px; }
/* Signed-out view: one compact, centered sign-in card (heading inside the card). */
.ln-account--signin { display: flex; justify-content: center; padding: 8px 0 24px; }
.ln-acc-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid #dce8df; border-radius: 18px; padding: 28px 26px 22px; box-shadow: 0 16px 44px rgba(15, 45, 61, .08); text-align: left; }
.ln-acc-card h2 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 6px; color: #0f2d3d; text-align: center; letter-spacing: -.01em; }
.ln-acc-card .ln-acc-lead { text-align: center; font-size: 15px; color: #45585f; }
.woocommerce .ln-account .ln-acc-card form.woocommerce-form-login, .ln-account .ln-acc-card .woocommerce-form-login { border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 12px 0 0 !important; max-width: none; background: transparent !important; border-radius: 0 !important; }
.ln-acc-card .woocommerce-form-row label { font-size: 14px; font-weight: 700; color: #0f2d3d; }
.ln-acc-card .woocommerce-form-login__submit { width: 100%; min-height: 46px; border-radius: 999px !important; font-size: 16px !important; font-weight: 800 !important; background: #1d7fae !important; color: #fff !important; border: 0 !important; }
.ln-acc-card .woocommerce-form-login__submit:hover { background: #176b94 !important; }
.ln-acc-card .ln-acc-small { text-align: center; font-size: 13.5px; }
.ln-acc-card .form-row { margin-bottom: 14px; }
.ln-acc-badge { display: block; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: #eef6e9; color: #4f8a3c; text-align: center; line-height: 44px; font-size: 20px; }
.ln-account .woocommerce-notices-wrapper { max-width: 400px; margin: 0 auto 12px; }
.ln-account .woocommerce-form-login { border: 1px solid #dce8df; border-radius: 16px; padding: 24px; box-shadow: 0 14px 40px rgba(15, 45, 61, .06); background: #fff; }
.ln-acc-lead { margin: 0 0 14px; color: #0f2d3d; }
.ln-acc-small { font-size: 14px; color: #5b6b73; margin-top: 8px; display: block; }
.ln-acc-link { background: none; border: 0; padding: 0; color: #1d7fae; text-decoration: underline; cursor: pointer; font: inherit; }
.ln-acc-link:hover { color: #176b94; }
.ln-acc-code { font-size: 26px !important; letter-spacing: 10px; text-align: center; font-weight: 800; max-width: 260px; }
.ln-account input.input-text { min-height: 46px; border-radius: 8px; border: 1px solid #c9d6cf; padding: 6px 12px; font-size: 16px; width: 100%; }
.ln-account input.input-text:focus { border-color: #1d7fae; outline: none; box-shadow: 0 0 0 2px rgba(29, 127, 174, .25); }
.ln-account .button { border-radius: 8px; }
.ln-acc-h3 { margin: 28px 0 10px; font-size: 20px; }
.ln-acc-staff { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: #e5f2fa; border: 1px solid #b9dbef; border-left: 4px solid #1d7fae; border-radius: 10px; padding: 14px 16px; margin: 18px 0; }
.ln-acc-staff .button { margin: 0; }
.woocommerce-MyAccount-navigation .ln-acc-admin-link a { font-weight: 700; color: #1d7fae; }
.ln-acc-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #e5e9e7; color: #45545a; }
.ln-acc-status--processing { background: #dcefd4; color: #2f5e22; }
.ln-acc-status--completed { background: #d7e9f4; color: #18587a; }
.ln-acc-status--on-hold, .ln-acc-status--pending { background: #fbedcc; color: #855200; }
.ln-acc-status--cancelled, .ln-acc-status--failed { background: #f6dcda; color: #8e231b; }
.ln-acc-status--refunded { background: #e8e2f5; color: #4c3a80; }
.ln-acc-again { margin-left: 4px; }
.ln-acc-tracking { background: #eef6e9; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; }
.ln-account .woocommerce-orders-table__cell-order-actions .button { margin: 2px 4px 2px 0; }
@media (max-width: 768px) {
  .ln-account .woocommerce-orders-table__cell-order-actions .button { display: inline-block; }
}

/* Contact form result (contact page) */
.ln-contact-result:empty { display: none; }
.ln-contact-result { border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; font-weight: 600; }
.ln-contact-result.is-ok { background: #eef6e9; border-left: 4px solid #4f8a3c; color: #0f2d3d; }
.ln-contact-result.is-error { background: #fbeaea; border-left: 4px solid #a3322a; color: #0f2d3d; }

/* Page title centred above the sign-in card */
body.woocommerce-account .entry-header { text-align: center; }

/* Cloudflare Turnstile */
.ln-acc-ts { margin: 0 0 14px; min-height: 65px; }

/* Website footer logo on the sign-in card */
.ln-acc-logo { display: block; width: 200px; max-width: 70%; height: auto; margin: 0 auto 16px; }

/* ---------- Rewards (loyalty) ---------- */
.ln-rw { display: grid; gap: 18px; }
.ln-rw-card { background: #fff; border: 1px solid #dce8df; border-radius: 14px; padding: 18px 20px; }
.ln-rw-card h3 { margin: 0 0 10px; font-size: 18px; color: #0f2d3d; }
.ln-rw-hero { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; border-radius: 16px; color: #0f2d3d;
  background: linear-gradient(135deg, #eef6e9 0%, #ffffff 70%); border: 1px solid #dce8df; border-left: 6px solid var(--tier, #4f8a3c); }
.ln-rw-tier { display: inline-block; padding: 3px 12px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.ln-rw-balance { font-size: 40px; line-height: 1.1; font-weight: 800; margin-top: 8px; }
.ln-rw-balance span { font-size: 18px; font-weight: 700; color: #5b6b73; }
.ln-rw-value { font-size: 17px; font-weight: 700; color: #4f8a3c; margin-top: 2px; }
.ln-rw-small { font-size: 13px; color: #5b6b73; margin: 6px 0 0; }
.ln-rw-cta { white-space: nowrap; }
.ln-rw-perks { margin: 0 0 8px; padding-left: 18px; }
.ln-rw-perks li { margin: 4px 0; }
.ln-rw-progress { margin-top: 10px; }
.ln-rw-bar { height: 10px; border-radius: 6px; background: #e6eee8; overflow: hidden; }
.ln-rw-bar span { display: block; height: 100%; border-radius: 6px; }
.ln-rw-ways { list-style: none; margin: 0 0 12px; padding: 0; }
.ln-rw-ways li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2ef; }
.ln-rw-ways li:last-child { border-bottom: 0; }
.ln-rw-ways strong { font-size: 14px; color: #0f2d3d; text-align: right; }
.ln-rw-check { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e6eee8; color: #4f8a3c; font-weight: 800; }
.ln-rw-ways li.is-done .ln-rw-check { background: #4f8a3c; color: #fff; }
.ln-rw-ways li.is-done span:nth-child(2) { color: #5b6b73; }
.ln-rw-share { display: flex; gap: 8px; flex-wrap: wrap; }
.ln-rw-share input { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1px solid #cfdcd3; border-radius: 8px; font-size: 14px; background: #f7faf7; }
.ln-rw-ghost { background: #fff !important; color: #1d7fae !important; border: 1px solid #1d7fae !important; }
.ln-rw-bday > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ln-rw-bday label { font-weight: 700; font-size: 14px; }
.ln-rw-bday select { padding: 9px 10px; border: 1px solid #cfdcd3; border-radius: 8px; background: #fff; }
.ln-rw-hist { width: 100%; }
.ln-rw-num { text-align: right; white-space: nowrap; }
.ln-rw-hist .is-pos { color: #2e7d32; font-weight: 700; }
.ln-rw-hist .is-neg { color: #b3261e; font-weight: 700; }
.ln-rw-mini { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; margin: 14px 0; border: 1px solid #dce8df; border-radius: 12px; background: #eef6e9; color: #0f2d3d; text-decoration: none; }
.ln-rw-mini .ln-rw-go { margin-left: auto; color: #1d7fae; font-weight: 700; }
@media (max-width: 600px) {
  .ln-rw-hero { padding: 18px; }
  .ln-rw-balance { font-size: 32px; }
  .ln-rw-cta { width: 100%; text-align: center; }
  .ln-rw-ways li { grid-template-columns: 26px 1fr; }
  .ln-rw-ways strong { grid-column: 2; text-align: left; font-weight: 600; color: #4f8a3c; }
}

/* ---------- Sign-in choices + security ---------- */
.ln-acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 4px 0 16px; border: 1px solid #cfdcd3; border-radius: 10px; overflow: hidden; }
.ln-acc-tabs button, .ln-acc-tabs button:hover, .ln-acc-tabs button:focus { padding: 10px 8px !important; background: #fff !important; border: 0 !important; border-radius: 0 !important; font: inherit; font-weight: 700; color: #0f2d3d !important; cursor: pointer; box-shadow: none !important; }
.ln-acc-tabs button + button { border-left: 1px solid #cfdcd3; }
.ln-acc-tabs button.is-active, .ln-acc-tabs button.is-active:hover { background: #0f2d3d !important; color: #fff !important; }
.ln-acc-tabs button + button { border-left: 1px solid #cfdcd3 !important; }
.ln-acc-pwwrap { position: relative; display: block; }
.ln-acc-pwwrap input { padding-right: 64px; width: 100%; }
.ln-acc-show { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.ln-acc-security { margin-top: 28px; padding-top: 18px; border-top: 1px solid #e3ece5; }
.ln-acc-methods { border: 1px solid #dce8df; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
.ln-acc-methods legend { font-weight: 700; padding: 0 6px; }
.ln-acc-methods label { display: block; padding: 8px 0; cursor: pointer; }
.ln-acc-security h4 { margin: 18px 0 8px; }
.ln-acc-devices { padding-left: 18px; margin: 0 0 10px; }
.ln-acc-devices li { margin: 4px 0; }
.ln-acc-btn-ghost { background: #fff !important; color: #1d7fae !important; border: 1px solid #1d7fae !important; }
