/*
 * Styles for LM Account UI plugin
 *
 * This stylesheet defines the appearance of the custom My Account interface,
 * including the offcanvas navigation, fixed bottom button, top user dropdown,
 * and modal order details. Colours and spacing are chosen to align with
 * logammulia.com aesthetics (gold accents, soft backgrounds, rounded corners).
 */

/* Base wrapper and WooCommerce tweaks */
.lm-wrap { position: relative; }
.woocommerce-account .woocommerce { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* Card container for the main content */
.lm-contentCard {
    max-width: 1140px;
    margin: 30px auto 100px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #f0f0f0;
}

/* Dashboard Layout ala Logam Mulia */
.woocommerce-account .woocommerce-MyAccount-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lm-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.lm-dashboard-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f3b73;
    margin: 0;
}

.lm-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.lm-profile-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.lm-profile-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #b88d22;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lm-profile-info-item {
    margin-bottom: 12px;
}

.lm-profile-info-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.lm-profile-info-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Recent Orders Section */
.lm-recent-orders {
    margin-top: 40px;
}

.lm-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #1f3b73;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lm-section-title i {
    color: #b88d22;
}

.lm-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lm-order-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.2s;
}

.lm-order-item:hover {
    border-color: #b88d22;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lm-order-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.lm-order-info {
    flex: 1;
}

.lm-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.lm-order-num {
    font-weight: 800;
    color: #1f3b73;
}

.lm-order-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-completed { background: #d4edda; color: #155724; }
.status-on-hold, .status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-cancelled, .status-failed { background: #f8d7da; color: #721c24; }

.lm-order-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.lm-order-total {
    font-weight: 700;
    color: #333;
}

.lm-order-action .view {
    font-size: 13px;
    font-weight: 700;
    color: #b88d22;
    text-decoration: none;
    white-space: nowrap;
}

.lm-order-action .view:hover {
    text-decoration: underline;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .lm-contentCard {
        padding: 20px 15px;
        margin-top: 15px;
    }
    
    .lm-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .lm-dashboard-title {
        font-size: 20px;
    }
    
    .lm-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .lm-order-item {
        padding: 12px;
        gap: 12px;
    }
    
    .lm-order-img img {
        width: 50px;
        height: 50px;
    }
    
    .lm-order-num {
        font-size: 14px;
    }
    
    .lm-order-status {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Headings styled with gold accent */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #b88d22;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Buttons with golden background */
.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account a.button {
    background: #b88d22 !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-weight: 800 !important;
}

/* Input fields */
.woocommerce-account input.input-text,
.woocommerce-account textarea,
.woocommerce-account select {
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    background: #fff;
}

/* Fixed bottom button */
.lm-bottomBtn {
    position: fixed;
    left: 0;
    bottom: 14px;
    /* Make the button stretch across the screen (with small side margins) */
    width: calc(100% - 28px);
    margin: 0 14px;
    z-index: 9999;
    /* Use a bright yellow background like other buttons on the site */
    background: #ffc107;
    color: #1f3b73;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 900;
    letter-spacing: 0.8px;
    /* Darker shadow tuned to new yellow background */
    box-shadow: 0 16px 30px rgba(255, 193, 7, 0.35);
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.lm-bottomBtn .lm-filter { font-weight: 900; }

/* Ensure the footer is hidden on WooCommerce account pages.  By using the
   woocommerce-account body class, we cover the My Account page and its
   sub-endpoints such as orders, addresses, etc. */
body.woocommerce-account footer,
body.woocommerce-account .site-footer,
body.woocommerce-account #colophon,
body.woocommerce-account .footer-widgets,
body.woocommerce-account .footer-copy {
    display: none !important;
}

/* Hide Elementor-powered footer on My Account pages (the site uses an
   Elementor theme builder and wraps the footer inside an element with
   the `.elementor-location-footer` class). Without this rule, the
   standard footer is removed but the Elementor footer continues to
   display. */
body.woocommerce-account .elementor-location-footer {
    display: none !important;
}

/* Offcanvas container */
.lm-offcanvas[aria-hidden="true"] { display: none; }
.lm-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.lm-offcanvasBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.lm-offcanvasPanel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: min(320px, 80vw);
    background: #fff;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.lm-offcanvasHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1f3b73;
    color: #fff;
}

.lm-offcanvasTitle {
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lm-offcanvasClose {
    background: transparent;
    border: 0;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.lm-offcanvasBody {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}
.lm-offcanvasHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
.lm-offcanvasTitle {
    font-weight: 900;
    font-size: 22px;
    color: #b88d22;
}
.lm-offcanvasClose {
    background: transparent;
    border: 0;
    font-size: 20px;
    cursor: pointer;
}
.lm-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lm-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.lm-menu li a:hover {
    background: #fcfcfc;
    color: #b88d22;
}

.lm-menu li.is-active a {
    background: #f9f9f9;
    color: #b88d22;
    border-left: 4px solid #b88d22;
    padding-left: 16px;
}

/* Icon for menu items handled in PHP with FontAwesome */

/* Top user dropdown */
.lm-topUser {
    max-width: 980px;
    margin: 12px auto 0;
    padding: 0 6px;
    position: relative;
}
.lm-topUserBtn {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.lm-topUserDrop {
    position: absolute;
    top: 52px;
    right: 6px;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.lm-topUserHead {
    padding: 12px 12px;
    font-weight: 900;
    color: #1f3b73;
    border-bottom: 1px solid #f0f0f0;
}
.lm-topUserDrop a {
    display: block;
    padding: 12px 12px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
}
.lm-topUserDrop a:hover { background: #f6f6f6; }

/* Modal styles for order detail */
.lm-modal[aria-hidden="true"] { display: none; }
.lm-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
}
.lm-modalBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.lm-modalPanel {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 18px;
    bottom: 18px;
    margin: auto;
    max-width: 520px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    overflow: auto;
    padding: 14px 14px 18px;
}
.lm-modalClose {
    position: sticky;
    top: 6px;
    float: right;
    background: #d33;
    color: #fff;
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
}
.lm-modalBody { clear: both; }
.lm-modalLoading {
    padding: 22px;
    font-weight: 800;
}

/* Improve default WooCommerce tables on mobile */
.woocommerce-account table.shop_table {
    border-radius: 14px;
    overflow: hidden;
}

/*
 * Custom styling for the WooCommerce login and registration forms.
 * The goal is to emulate the card-like layout and golden accents seen on
 * logammulia.com while keeping the default WooCommerce functionality.
 * These rules stack the login and register forms vertically, wrap them in
 * card containers with rounded corners and shadows, and style headings,
 * inputs, buttons, and links to match the gold colour palette.
 */

/* Stack the login and registration columns instead of side-by-side */
.woocommerce-account .u-columns.col2-set {
    display: block;
}
/* Style the individual columns as cards */
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    width: 100% !important;
    float: none !important;
    max-width: 560px;
    margin: 30px auto 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 24px 20px 32px;
}
/* Headings for login/register forms */
.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
    font-size: 28px;
    color: #b88d22;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}
/* Form row spacing */
.woocommerce-account .u-column1 form .form-row,
.woocommerce-account .u-column2 form .form-row {
    margin-bottom: 16px;
}
/* Input fields and selects */
.woocommerce-account .u-column1 form .input-text,
.woocommerce-account .u-column2 form .input-text,
.woocommerce-account .u-column2 form textarea,
.woocommerce-account .u-column2 form select {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px 14px;
    width: 100%;
}
/* Buttons for login/register */
.woocommerce-account .u-column1 form button.button,
.woocommerce-account .u-column2 form button.button {
    background: #b88d22 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 14px 16px !important;
    width: 100% !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 20px rgba(184, 141, 34, 0.35);
}
/* Lost password link styling */
.woocommerce-account .u-column1 form .lost_password {
    display: block;
    text-align: right;
    margin-top: -8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #7c5c10;
}
/* Checkbox and label alignment */
.woocommerce-account .u-column2 form .woocommerce-form__label,
.woocommerce-account .u-column2 form .woocommerce-form-register__label,
.woocommerce-account .u-column2 form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
/* Align terms & conditions checkboxes */
.woocommerce-account .u-column2 form .form-row .woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/*
 * Login & Registration card layout (custom template)
 * These styles apply when the custom template lm-account-ui/templates/myaccount/form-login.php
 * is loaded. The design uses a card with a golden top bar, titles, and consistent spacing.
 */
.lm-login-register-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 16px;
}
.lm-login-register-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
/*
 * Switch bar at the top of login and registration forms. Provides a link to switch
 * between login and registration views. The bar uses the same golden color as
 * other accents and aligns the link to the right.
 */
.lm-switch-bar {
    background: #b88d22;
    display: flex;
    justify-content: flex-end;
}
.lm-switch-link {
    display: block;
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    text-decoration: none;
}

/* Titles for login/registration forms */
.lm-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #b88d22;
    margin: 24px 0 8px;
    text-align: center;
}
.lm-form-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #6f6f6f;
    margin-bottom: 24px;
    text-align: center;
}

/* Padding for forms inside the card */
.lm-login-register-card form {
    padding: 0 24px 24px;
}

/* Layout for actions row in login form (remember me & submit) */
.lm-login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Prompt below registration form to direct existing users to login */
.lm-login-prompt {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}
.lm-login-prompt a {
    color: #b88d22;
    font-weight: 700;
    text-decoration: none;
}
.lm-login-prompt a:hover {
    text-decoration: underline;
}
.lm-return-link {
    margin-top: 20px;
    text-align: center;
}
.lm-return-link a {
    color: #b88d22;
    font-weight: 700;
    text-decoration: none;
}
.lm-return-link a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Top bar with logos for login/registration forms
   Adds branding to the custom login and registration templates. These styles
   ensure the logos from Logam Mulia and Antam are displayed consistently.
--------------------------------------------------------------------------*/
.lm-topbar {
    padding: 20px 0 10px;
}
.lm-topbar-inner {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lm-brand-left,
.lm-brand-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lm-brand-left-logo {
    height: 34px;
    width: auto;
    display: block;
}
.lm-brand-right-logo {
    height: 22px;
    width: auto;
    display: block;
}
.lm-brand-left-name {
    font-weight: 700;
    color: var(--gold, #b88d22);
    letter-spacing: .2px;
    line-height: 1.05;
}
.lm-brand-left-tag {
    font-size: 12px;
    color: var(--muted, #6b7280);
    margin-top: 2px;
    line-height: 1.05;
}

/* -------------------------------------------------------------------------
   Full-page login & registration design

   These styles target the custom login and registration forms output by
   lm-account-ui/templates/myaccount/form-login.php when WooCommerce needs
   to display the authentication interface. The design follows the
   provided mockups: two logos at the top, card containers with
   rounded corners and drop shadows, input fields with icons, dummy
   reCAPTCHA placeholders, and responsive layouts that collapse into a
   single column on small screens.  All selectors are scoped under
   `.lm-login-register-page` to avoid leaking into other pages.
 -------------------------------------------------------------------------*/

.lm-login-register-page {
    background: #f2f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    width: 100%;
}
.lm-login-register-page .page-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.lm-login-register-page .logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.lm-login-register-page .logo-header img {
    height: 35px;
    width: auto;
    object-fit: contain;
}
@media (max-width: 480px) {
    .lm-login-register-page .logo-header img {
        height: 28px;
    }
}
.lm-login-register-page .card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 36px 32px;
    transition: all 0.2s;
}
.lm-login-register-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #b88d22;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.lm-login-register-page .subhead {
    font-size: 14px;
    font-weight: 400;
    color: #5f6b7a;
    margin-bottom: 28px;
    border-bottom: 1px solid #e5eaf0;
    padding-bottom: 12px;
}
.lm-login-register-page .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 30px;
    margin-bottom: 25px;
}
.lm-login-register-page .form-group {
    margin-bottom: 6px;
    position: relative;
}
.lm-login-register-page label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #1e2a3a;
    margin-bottom: 6px;
}
.lm-login-register-page label .required {
    color: #d14545;
    margin-left: 2px;
}
.lm-login-register-page .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.lm-login-register-page .input-wrapper input,
.lm-login-register-page .input-wrapper select {
    width: 100%;
    padding: 14px 18px;
    padding-right: 48px;
    border: 1.5px solid #dbe1ec;
    border-radius: 16px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    transition: border 0.2s, box-shadow 0.2s;
    color: #1e2a3a;
}
.lm-login-register-page .input-wrapper input:focus {
    outline: none;
    border-color: #b88d22;
    box-shadow: 0 0 0 4px rgba(184, 141, 34, 0.12);
}
.lm-login-register-page .input-wrapper input::placeholder {
    color: #9aa9bb;
    font-weight: 400;
    font-size: 14px;
}
.lm-login-register-page .input-icon {
    position: absolute;
    right: 18px;
    color: #b0bed0;
    font-size: 18px;
    pointer-events: none;
}
.lm-login-register-page .input-icon.clickable {
    pointer-events: auto;
    cursor: pointer;
    color: #7e8b9c;
}
.lm-login-register-page .helper-text {
    font-size: 12px;
    color: #6b7a8f;
    margin-top: 5px;
    margin-left: 5px;
}
.lm-login-register-page .npwp-wrapper {
    background: #f8fafd;
    padding: 16px 16px 10px 16px;
    border-radius: 20px;
    border: 1px solid #e5ecf5;
    margin-top: 5px;
}
.lm-login-register-page .checkbox-nik {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 6px;
}
.lm-login-register-page .checkbox-nik input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: #b88d22;
    margin: 0;
}
.lm-login-register-page .checkbox-nik label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: #1e2a3a;
}
.lm-login-register-page .checkbox-group {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.lm-login-register-page .checkbox-group input[type='checkbox'] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #b88d22;
}
.lm-login-register-page .checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}
.lm-login-register-page .double-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 15px 0 25px;
}
.lm-login-register-page .btn {
    display: inline-block;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    background: #b88d22;
    color: white;
    transition: background 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}
.lm-login-register-page .btn:hover {
    background: #9f761d;
    box-shadow: 0 6px 14px rgba(184, 141, 34, 0.25);
}
.lm-login-register-page .btn-outline {
    background: transparent;
    border: 2px solid #b88d22;
    color: #b88d22;
}
.lm-login-register-page .btn-outline:hover {
    background: #fef6e6;
}
.lm-login-register-page .separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #8895a7;
    font-size: 14px;
    margin: 20px 0 16px;
}
.lm-login-register-page .separator::before,
.lm-login-register-page .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid #e2e8f2;
}
.lm-login-register-page .separator span {
    margin: 0 14px;
    font-weight: 500;
}
.lm-login-register-page .link {
    color: #b88d22;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.lm-login-register-page .link:hover {
    text-decoration: underline;
}
.lm-login-register-page .login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.lm-login-register-page .remember {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lm-login-register-page .remember input {
    width: 18px;
    height: 18px;
    accent-color: #b88d22;
}
.lm-login-register-page .captcha-box {
    border: 1.5px solid #dbe1ec;
    border-radius: 50px;
    padding: 14px 22px;
    background: #f9fcff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0 20px;
}
.lm-login-register-page .captcha-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.lm-login-register-page .captcha-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #a3b3c9;
    border-radius: 6px;
    background: #ffffff;
    display: inline-block;
}
.lm-login-register-page .captcha-text {
    font-weight: 500;
    color: #1e2a3a;
    font-size: 16px;
}
.lm-login-register-page .captcha-right {
    font-size: 12px;
    color: #3f5b99;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}
.lm-login-register-page .captcha-right a {
    color: #b88d22;
    text-decoration: none;
    margin: 0 3px;
}
.lm-login-register-page .captcha-right a:hover {
    text-decoration: underline;
}
.lm-login-register-page .footer-links {
    text-align: center;
    margin-top: 12px;
}
.lm-login-register-page .footer-links a {
    color: #b88d22;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #b88d22;
}
.lm-login-register-page .footer-links a:hover {
    text-decoration: none;
}
.lm-login-register-page .back-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .lm-login-register-page .card {
        padding: 28px 20px;
    }
    .lm-login-register-page .form-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .lm-login-register-page .double-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .lm-login-register-page h1 {
        font-size: 28px;
    }
    .lm-login-register-page .captcha-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .lm-login-register-page .captcha-right {
        text-align: left;
    }
}