/* Base */

.lb-flex,
.lb-project-grid,
.lb-ak-grid,
.lb-ps-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.lb-card,
.lb-project-card,
.lb-ak-card,
.lb-ak-create-card,
.lb-ps-card,
.lb-logs-card,
.lb-project-card.lb-create-card {
    flex: 1 1 260px;
    background: #1A1A1A;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    border: 1px solid #2A2A2A;
    color: #ffffff;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover */

.lb-card:hover,
.lb-project-card:hover,
.lb-ak-card:hover,
.lb-ak-create-card:hover,
.lb-ps-card:hover,
.lb-logs-card:hover,
.lb-project-card.lb-create-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    border-color: #424242;
    background: #1E1E20;
}

/* Headings & Text Sizes */

.lb-card-title,
.lb-project-title,
.lb-ps-title,
.lb-logs-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
	color: #FFFFFF;
}

.lb-ps-label {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.lb-ps-sub,
.lb-logs-sub,
.lb-muted,
.lb-create-sub,
.lb-ak-create-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* Generic key/value */

.lb-kv {
    font-size: 13px;
    margin: 3px 0;
    color: rgba(255,255,255,0.86);
}
.lb-kv span {
    color: rgba(255,255,255,0.55);
}

/* Badges */

.lb-badge-plan,
.lb-project-badge {
    display: inline-block;
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0,180,255,0.14);
    color: #00b4ff;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

/* Project cards */

.lb-project-card {
    flex: 1 1 calc(33.333% - 24px);
}

.lb-project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lb-project-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background:
        radial-gradient(circle at top left, rgba(0,180,255,0.22), transparent),
        radial-gradient(circle at bottom right, rgba(138,43,226,0.22), transparent),
        #181b23;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.28);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    overflow: hidden;
}

.lb-project-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.lb-project-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

/* Create project card */

.lb-project-card.lb-create-card {
    border-style: dashed;
    border-color: rgba(0,180,255,0.35);
    background: rgba(6,10,16,0.98);
    align-items: center;
    text-align: center;
    justify-content: center;
}

.lb-create-plus {
    font-size: 34px;
    color: #00b4ff;
    margin-bottom: 6px;
}

.lb-create-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* API keys */

.lb-ak-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.lb-ak-key {
    font-family: monospace;
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 7px;
    background: #06070b;
    border: 1px solid rgba(255,255,255,0.12);
    color: #00e0ff;
    overflow-x: auto;
    margin-bottom: 6px;
}

.lb-ak-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin: 2px 0;
}

.lb-ak-create-card {
    border-style: dashed;
    border-color: rgba(0,180,255,0.35);
    align-items: center;
    text-align: center;
}

/* Inputs */

.lb-ps-input,
.lb-ps-textarea,
.lb-ak-create-card input[type="text"],
.lb-project-card.lb-create-card input[type="text"],
.lb-project-card.lb-create-card input[type="url"],
.lb-project-card input[type="url"],
.lb-ps-extra-server input[type="url"] {
    width: 100%;
    padding: 7px 9px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.16);
    background: #06070b;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 8px;
}

.lb-ps-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Buttons */

.lb-btn,
.lb-ps-add-btn {
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.lb-btn-primary {
    background: linear-gradient(90deg, #00b4ff, #6c5ce7);
    color: #ffffff;
}

.lb-btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.22);
}

.lb-btn-danger {
    background: transparent;
    color: #ff5c7a;
    border: 1px solid rgba(255,92,122,0.5);
}

.lb-ps-add-btn {
    font-size: 11px;
    padding: 4px 8px;
    background: transparent;
    color: #00b4ff;
    border: 1px solid rgba(0,180,255,0.4);
}

/* Logs */

.lb-logs-card {
    overflow-x: auto;
}

.lb-logs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.lb-logs-table th,
.lb-logs-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    white-space: nowrap;
}

.lb-logs-table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255,255,255,0.55);
}

.lb-logs-type {
    font-weight: 600;
    color: #00b4ff;
}

/* Responsive */

@media (max-width: 1024px) {
    .lb-project-card { flex: 1 1 calc(50% - 24px); }
}

@media (max-width: 640px) {
    .lb-card,
    .lb-project-card,
    .lb-ak-card,
    .lb-ak-create-card,
    .lb-ps-card,
    .lb-logs-card {
        flex: 1 1 100%;
    }
}

/* API Key table tile */

.lb-ak-table-card {
    flex: 1 1 100%;
}

.lb-ak-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.lb-ak-table th,
.lb-ak-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    color: rgba(255,255,255,0.85);
    background-color: transparent;
}

.lb-ak-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #fff;
}

.lb-ak-table tr:last-child td {
    border-bottom: none;
}

.lb-ak-key-mono {
    color: #00e0ff;
    word-break: break-all;
}


/*
 * Force-remove all theme-level table borders
 * from the API key table.
*/
.lb-ak-table,
.lb-ak-table th,
.lb-ak-table td {
    border: none !important;
}

.elementor-kit-6 input:not([type="button"]):not([type="submit"]), .elementor-kit-6 textarea, .elementor-kit-6 .elementor-field-textual {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    color: #DBDBDB;
    accent-color: var(--e-global-color-primary);
    background-color: #161616;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #2C2C2C;
    border-radius: 9px 9px 9px 9px;
    transition: 200ms;
    margin-bottom: 15px;
}

/*
 * Custom Select (Dropdown/Combo Box) Styling - V4 (Compact)
 * ---------------------------------------------------------------
 * Using !important to override Elementor theme styles.
 * Now with reduced font-size and padding for a smaller height.
 */

select.lb-form-input,
.lb-ps-project-dropdown-form select {
    /* 1. Remove default browser appearance */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    /* 2. Apply the dark theme form styles (with !important) */
    font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    color: #DBDBDB !important;
    background-color: #161616 !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #2C2C2C !important;
    border-radius: 9px !important;
    transition: 200ms !important;
    width: 100% !important;
    box-sizing: border-box !important;

    /* --- MODIFIED FOR HEIGHT --- */
    font-size: 14px !important; /* Smaller font */
    padding: 8px 10px !important; /* Reduced vertical padding */
    /* --- END MODIFICATION --- */


    /* 3. Add our custom dropdown arrow (a white chevron SVG) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23DBDBDB' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    
    /* --- MODIFIED FOR ALIGNMENT --- */
    background-position: right 10px center !important; /* Adjusted arrow position */
    /* --- END MODIFICATION --- */

    background-size: 16px 16px !important;

    /* 4. Adjust padding to prevent text from overlapping the arrow */
    padding-right: 36px !important; /* Adjusted for new arrow position */
}

/* 5. Style for the <option> elements (the dropdown list) */
select.lb-form-input option,
.lb-ps-project-dropdown-form select option {
    background: #1A1A1A !important;
    color: #DBDBDB !important;
    
    /* --- MODIFIED FOR HEIGHT --- */
    font-size: 14px !important; /* Match the select box font size */
    padding: 8px 12px !important;
    /* --- END MODIFICATION --- */
}

/* 6. Style for the *highlighted* option (using accent blue) */
select.lb-form-input option:checked,
.lb-ps-project-dropdown-form select option:checked {
    background: var(--e-global-color-primary, #0073e6) !important;
    color: #ffffff !important;
}

/* 7. Focus state for the dropdown box */
select.lb-form-input:focus,
.lb-ps-project-dropdown-form select:focus {
    border-color: var(--e-global-color-primary) !important;
    box-shadow: 0 0 5px rgba(var(--e-global-color-primary-rgb, 0, 180, 255), 0.5) !important;
    outline: none !important;
}

/* ------------------------------------------------------------------
 * PMPro Account: LaunchBoost Layout
 * ------------------------------------------------------------------ */

body.pmpro-account #lb-account-wrapper {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.lb-account-col {
    flex: 1 1 360px;
    min-width: 0;
}

/* Stack on mobile */
@media (max-width: 900px) {
    body.pmpro-account #lb-account-wrapper {
        flex-direction: column;
    }
}

/* Account cards */
.lb-account-card {
    gap: 12px;
}

/* Space stacked cards in same column */
.lb-account-col .lb-account-card + .lb-account-card {
    margin-top: 16px;
}

/* Profile header */
.lb-account-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.lb-account-avatar img {
    border-radius: 999px;
}

.lb-account-meta .lb-kv span {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* Action buttons */
.lb-account-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Small variant for LB buttons (used on account page) */
.lb-btn-small {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
}

/* Keep account actions tight */
.lb-account-actions .lb-btn {
    margin-right: 0;
}

/* Kill PMPro HR bars */
body.pmpro-account #lb-account-wrapper hr {
    display: none !important;
}

/* Tables inside account cards */
body.pmpro-account #lb-account-wrapper table.pmpro_table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    margin-top: 10px;
}

body.pmpro-account #lb-account-wrapper table.pmpro_table th,
body.pmpro-account #lb-account-wrapper table.pmpro_table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    text-align: left;
}

/* Bright white headers */
body.pmpro-account #lb-account-wrapper table.pmpro_table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #ffffff;
}

/* Strip outer borders */
body.pmpro-account #lb-account-wrapper table.pmpro_table,
body.pmpro-account #lb-account-wrapper table.pmpro_table th,
body.pmpro-account #lb-account-wrapper table.pmpro_table td {
    border: none;
}

/* Links in tables: blue, no underline, subtle hover */
body.pmpro-account #lb-account-wrapper table.pmpro_table a {
    color: #00b4ff;
    text-decoration: none;
}

body.pmpro-account #lb-account-wrapper table.pmpro_table a:hover {
    color: #26c1ff;
    text-decoration: none;
}

/* "View All Membership Options" as a small outline button */
body.pmpro-account #lb_account_memberships p:last-child {
    margin-top: 10px;
}

body.pmpro-account #lb_account_memberships p:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.22);
    background: transparent;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.18s ease;
}

body.pmpro-account #lb_account_memberships p:last-child a:hover {
    background: rgba(0,180,255,0.12);
    border-color: rgba(0,180,255,0.7);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0,180,255,0.35);
    transform: translateY(-1px);
}

/* ------------------------------------------------------------------
 * PMPro Checkout – layout: billing left, everything else right
 * ------------------------------------------------------------------ */

body.pmpro-checkout form#pmpro_form {
    width: 100%;
    max-width: none;              /* full width of content area */
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	grid-template-areas:
		"billing level"
		"billing more"
		"billing payment"
		"billing tos"
		"billing submit"
		"notice notice";
    column-gap: 32px;             /* space between left/right columns */
    row-gap: 16px;                /* tighter vertical spacing between right cards */
    align-items: flex-start;
}


/* Left column: Billing card */
body.pmpro-checkout form#pmpro_form #pmpro_billing_address_fields {
    grid-area: billing;
}

/* Right column stack: Membership Level, More Info, Payment */
body.pmpro-checkout form#pmpro_form #pmpro_pricing_fields {
    grid-area: level;
}

body.pmpro-checkout form#pmpro_form #pmpro_checkout_box-more-information {
    grid-area: more;
}

body.pmpro-checkout form#pmpro_form #pmpro_payment_information_fields {
    grid-area: payment;
}

body.pmpro-checkout form#pmpro_form #pmpro_account_loggedin {
    grid-area: notice;           /* uses the notice row we defined */
    margin-top: 8px;
    margin-bottom: 0;
}


/* Mobile: fall back to single column */
@media (max-width: 900px) {
    body.pmpro-checkout form#pmpro_form {
        display: block;
        max-width: 100%;
    }

    body.pmpro-checkout form#pmpro_form #pmpro_billing_address_fields,
    body.pmpro-checkout form#pmpro_form #pmpro_pricing_fields,
    body.pmpro-checkout form#pmpro_form #pmpro_checkout_box-more-information,
    body.pmpro-checkout form#pmpro_form #pmpro_payment_information_fields {
        margin-bottom: 16px;
    }

    body.pmpro-checkout form#pmpro_form .pmpro_submit {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
}

body.pmpro-checkout form#pmpro_form .pmpro_submit {
    grid-area: submit;       /* right column, under payment card */
    text-align: right;
    border-top: none;
    padding-top: 0;
    margin-top: 12px;
}

/* Make the primary checkout button full width inside that area */
body.pmpro-checkout form#pmpro_form .pmpro_submit .pmpro_btn {
    display: inline-block;
    width: 100%;
    max-width: none;          /* let it fill the submit area */
}


/* Small LaunchBoost buttons used on account page */
.lb-btn-small {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
}

/* Blue account buttons (Edit / Change Password / View Memberships) */
body.pmpro-account .lb-btn-account {
    background: #005CFF;
    color: #ffffff;
    border: none;
}

body.pmpro-account .lb-btn-account:hover {
    background: #008BFF;
}

/* "View All Membership Options" as a blue button */
body.pmpro-account #lb_account_memberships a[href*="membership-levels"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
    background: #005CFF;
    color: #ffffff;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
    margin-top: 8px;
}

body.pmpro-account #lb_account_memberships a[href*="membership-levels"]:hover {
    background: #008BFF;
    box-shadow: 0 0 10px rgba(0, 139, 255, 0.45);
    transform: translateY(-1px);
}

/* Make ALL PMPro action links into small blue buttons */
body.pmpro-account .pmpro_actionlinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
    background: #005CFF;
    color: #ffffff !important;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
    margin-right: 6px;
}

body.pmpro-account .pmpro_actionlinks a:hover {
    background: #008BFF;
    box-shadow: 0 0 8px rgba(0, 139, 255, 0.45);
    transform: translateY(-1px);
}

#pmpro_actionlink-cancel {
    background: #c73945 !important;
}
#pmpro_actionlink-cancel:hover {
    background: #e24552 !important;
}

/* --------------------------------------------------------------
 * PMPro Single Invoice page styling (LaunchBoost)
 * -------------------------------------------------------------- */

/* Main invoice area as a full-width LaunchBoost card */
body.pmpro-invoice .pmpro_invoice_wrap {
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
    background: #1A1A1A;
    border-radius: 14px;
    padding: 20px 24px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    border: 1px solid #2A2A2A;
    color: #ffffff;
    position: relative;
}

/* Title */
body.pmpro-invoice .pmpro_invoice_wrap h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
}

/* Kill all horizontal rules */
body.pmpro-invoice .pmpro_invoice_wrap hr {
    display: none;
}

/* Top meta list (account, level, status) */
body.pmpro-invoice .pmpro_invoice_wrap ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
}

body.pmpro-invoice .pmpro_invoice_wrap ul li {
    margin-bottom: 2px;
}

/* Layout for billing / payment / total */
body.pmpro-invoice .pmpro_invoice_details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}

/* Each block inside details */
body.pmpro-invoice .pmpro_invoice_details > div {
    flex: 1 1 220px;
    font-size: 13px;
    color: rgba(255,255,255,0.86);
}

/* Section headings ("Billing Address", "Payment Method", "Total Billed") */
body.pmpro-invoice .pmpro_invoice_details strong {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.65);
}

/* Address lines */
body.pmpro-invoice .pmpro_invoice-billing-address span {
    display: block;
}

/* Total line */
body.pmpro-invoice .pmpro_invoice-total .pmpro_price_part-total {
    font-weight: 600;
}

/* Remove any table borders if PMPro inserts a table */
body.pmpro-invoice .pmpro_invoice_wrap table,
body.pmpro-invoice .pmpro_invoice_wrap th,
body.pmpro-invoice .pmpro_invoice_wrap td {
    border: none;
}

/* Print button in top-right */
body.pmpro-invoice #pmpro_a-print {
    position: absolute;
    top: 20px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
    background: #2b2b2b;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

body.pmpro-invoice #pmpro_a-print:hover {
    background: #3a3a3a;
    box-shadow: 0 0 8px rgba(0,0,0,0.55);
    transform: translateY(-1px);
}

/* Bottom actions container */
body.pmpro-invoice .pmpro_actions_nav {
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Both links as small blue buttons */
body.pmpro-invoice .pmpro_actions_nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 5px;
    background: #005CFF !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

/* Hover state */
body.pmpro-invoice .pmpro_actions_nav a:hover {
    background: #008BFF !important;
    box-shadow: 0 0 8px rgba(0,139,255,0.45);
    transform: translateY(-1px);
}

/* Push "View Your Membership Account" to the right */
body.pmpro-invoice .pmpro_actions_nav-right {
    margin-left: auto;
}

/* Mobile: stack the detail columns */
@media (max-width: 900px) {
    body.pmpro-invoice .pmpro_invoice_details {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------
 * PMPro Membership Levels (Plans) – LaunchBoost styling
 * -------------------------------------------------------------- */

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;       /* spacing between “cards” */
    margin-top: 16px;
    background: transparent;
}

/* Header row */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout thead th {
    padding: 10px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: left;
    background: transparent;
}

/* Make the last column (buttons) a fixed width & centered */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout thead th:last-child,
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody td:last-child {
    width: 180px;
    text-align: center;
}

/* Base row “card” */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr {
    background: #141414;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Round the corners per row */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr th:first-child,
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr th:last-child,
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Cells */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody th,
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody td {
    padding: 14px 16px;
    border: none;
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    background: transparent;
}

/* Plan name column */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody th {
    font-weight: 600;
}

/* Price column */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody td:nth-child(2) strong {
    font-weight: 500;
    color: #ffffff;
}

/* Current level row highlight */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active {
    border: 1px solid #005CFF;
    box-shadow: 0 0 0 1px rgba(0,92,255,0.35), 0 14px 30px rgba(0,0,0,0.55);
}

/* “Your Level” pill in the active row */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active td:last-child {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    background: transparent;
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active td:last-child::before {
    content: "Your Level";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: #2b2b2b;
    border: 1px solid rgba(255,255,255,0.22);
}

/* Hide the original text in the active cell (usually blank or text) */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active td:last-child > * {
    visibility: hidden;
}

/* LaunchBoost blue Select buttons */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout .pmpro_btn.pmpro_btn-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 6px;
    background: #005CFF !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout .pmpro_btn.pmpro_btn-select:hover {
    background: #008BFF !important;
    box-shadow: 0 0 10px rgba(0,139,255,0.45);
    transform: translateY(-1px);
}

/* Mobile: stack rows a bit nicer */
@media (max-width: 900px) {
    body.pmpro-levels table.pmpro_levels_table.pmpro_checkout {
        border-spacing: 0 6px;
    }

    body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr {
        box-shadow: 0 8px 18px rgba(0,0,0,0.4);
    }
}

/* 1. Remove header bottom border */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout thead th {
    border-bottom: none;
}

/* 4. Vertically centre row content */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody th,
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody td {
    vertical-align: middle;
}

/* 3. Card-like hover for rows */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr {
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr:hover {
    background: #181818;
    box-shadow: 0 12px 26px rgba(0,0,0,0.5);
    transform: translateY(-1px);
}

/* 2. Selected (active) level: rounded blue border via shadow */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active {
    border: none; /* remove old border if present */
    box-shadow:
        0 0 0 1px rgba(0,92,255,0.9),
        0 16px 32px rgba(0,0,0,0.65);
}

/* Keep hover effect on active row strong */
body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active:hover {
    box-shadow:
        0 0 0 1px rgba(0,92,255,1),
        0 20px 40px rgba(0,0,0,0.75);
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout thead th {
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: #252525;
}

body.pmpro-levels table.pmpro_levels_table.pmpro_checkout tbody tr.active {
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 92, 255, 0.9), 0 16px 32px rgba(0, 0, 0, 0.65);
    border-radius: 9px;
}



/* Slightly tighten the payment section overall */
body.pmpro-checkout form#pmpro_form .pmpro_payment_information_fields {
    margin-top: 6px;
}

/* ------------------------------------------------------------------
 * PMPro Checkout – text colours on dark cards
 * ------------------------------------------------------------------ */

body.pmpro-checkout form#pmpro_form .pmpro_checkout,
body.pmpro-checkout form#pmpro_form .pmpro_checkout p,
body.pmpro-checkout form#pmpro_form .pmpro_checkout span,
body.pmpro-checkout form#pmpro_form .pmpro_checkout strong,
body.pmpro-checkout form#pmpro_form .pmpro_checkout li {
    color: #EDEDED;
}

body.pmpro-checkout form#pmpro_form .pmpro_checkout-h2-name,
body.pmpro-checkout form#pmpro_form .pmpro_checkout-h2-msg,
body.pmpro-checkout form#pmpro_form .pmpro_checkout h2,
body.pmpro-checkout form#pmpro_form .pmpro_checkout h3 {
    color: #FFFFFF;
}

body.pmpro-checkout form#pmpro_form label {
    color: #E0E0E0;
}

/* Tiny helper text under headings */
body.pmpro-checkout form#pmpro_form .pmpro_checkout_description {
    color: #A7A7A7;
    font-size: 12px;
}

/* Card styling for each checkout box */
body.pmpro-checkout form#pmpro_form .pmpro_checkout {
    background: #1A1A1A;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    border: 1px solid #2A2A2A;
}

/* Give them a tiny hover lift like other cards */
body.pmpro-checkout form#pmpro_form .pmpro_checkout:hover {
    background: #1E1E20;
    border-color: #424242;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    transform: translateY(-2px);
    transition: all 0.18s ease;
}

/* No HRs anywhere in checkout */
body.pmpro-checkout form#pmpro_form hr {
    display: none !important;
}


body.pmpro-checkout form#pmpro_form .pmpro_checkout,
body.pmpro-checkout form#pmpro_form .pmpro_checkout p,
body.pmpro-checkout form#pmpro_form .pmpro_checkout span,
body.pmpro-checkout form#pmpro_form .pmpro_checkout strong,
body.pmpro-checkout form#pmpro_form .pmpro_checkout li {
    color: #EDEDED;
}

body.pmpro-checkout form#pmpro_form .pmpro_checkout-h2-name,
body.pmpro-checkout form#pmpro_form .pmpro_checkout-h2-msg,
body.pmpro-checkout form#pmpro_form .pmpro_checkout h2,
body.pmpro-checkout form#pmpro_form .pmpro_checkout h3 {
    color: #FFFFFF;
}

body.pmpro-checkout form#pmpro_form label {
    color: #E0E0E0;
}

.elementor-kit-6 input:not([type="button"]):not([type="submit"]), .elementor-kit-6 textarea, .elementor-kit-6 .elementor-field-textual {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    color: #DBDBDB;
    accent-color: var(--e-global-color-primary);
    background-color: #161616;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #2C2C2C;
    border-radius: 9px 9px 9px 9px;
    transition: 200ms;
    font-weight: 300;
    font-size: 13px;
    margin-top: 5px;
}

body.pmpro-checkout form#pmpro_form label {
    color: #E0E0E0;
    margin-bottom: 5px;
}

/* Add Terms & Conditions box to the right column, under Payment */
body.pmpro-checkout form#pmpro_form #pmpro_tos_fields {
    grid-area: tos;
}

/* TOS Card Styling */
/* --- TOS card fix: keep it compact but don't hide the checkbox --- */
body.pmpro-checkout form#pmpro_form #pmpro_tos_fields.pmpro_checkout {
    max-height: none;      /* allow the card to grow naturally */
    overflow: visible;     /* show everything inside */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Keep the TOS textarea itself compact so the card doesn't get silly tall */
body.pmpro-checkout form#pmpro_form #pmpro_license textarea {
    min-height: 90px;
    max-height: 120px;
    resize: vertical;      /* user can expand if they really want */
}


/* TOS textarea smaller */
body.pmpro-checkout form#pmpro_form #pmpro_license textarea {
    min-height: 120px;
    max-height: 140px;
    resize: vertical;
}

/* Align checkbox + label cleanly */
body.pmpro-checkout form#pmpro_form #pmpro_tos_fields .pmpro_label-inline {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tighten spacing above TOS */
body.pmpro-checkout form#pmpro_form #pmpro_tos_fields {
    margin-top: 0;
}

/* Keep Submit neatly under TOS */
body.pmpro-checkout form#pmpro_form .pmpro_submit {
    margin-top: 8px;
}

#pmpro_license {
    background: #101010 !important;
    border: 1px solid #353535 !important;
    color: #ffffff !important;
    height: 200px !important;
    margin: 3px !important;
    overflow: auto !important;
    padding: 5px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    font-weight: 200 !important;
}


/* --------------------------------------------------------------
 * Wizard Step Styles (Pre/Post Requisites)
 * -------------------------------------------------------------- */

.lb-req-modal-step {
    display: none;
}

.lb-req-modal-step.active {
    display: block;
    animation: lbFadeIn 0.2s ease-in-out;
}

@keyframes lbFadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Review Box in Wizard */
.lb-review-box {
    background: #111;
    border: 1px solid #2C2C2C;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.lb-review-box p {
    margin-bottom: 8px;
    font-size: 13px;
    color: #bbb;
}

.lb-review-box code {
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    font-family: monospace;
}

/* --------------------------------------------------------------
 * UI Fixes: Wizard Buttons & Close Icons
 * -------------------------------------------------------------- */

/* 1. Spacing for Wizard Buttons (Back / Next) */
.lb-server-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Keeps them on the right */
    gap: 15px; /* Adds space between 'Back' and the 'Next/Save' group */
}

/* Optional: If you prefer 'Back' on the far left and 'Next' on the right
   Uncomment the line below: */
/* .lb-server-modal-footer { justify-content: space-between; } */


/* 2. Remove Blue Background from Close (X) Buttons */
.lb-server-modal-close,
.lb-preview-close {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0 5px !important;
    font-size: 28px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Hover effect for the X */
.lb-server-modal-close:hover,
.lb-preview-close:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* --- APPEND TO launchboost.css --- */

/* Logs Controls (Search + Filters) */
.lb-logs-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

/* Ensure all inputs in the controls row share the same height/style */
.lb-logs-controls input[type="text"],
.lb-logs-controls input[type="date"],
.lb-logs-controls select {
    background: #06070b;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 13px;
    outline: none;
    min-width: 140px;
    /* Reset elementor/theme defaults */
    margin: 0; 
    height: 36px; 
    box-sizing: border-box;
}

/* Specific width for the search box to be wider if space allows */
.lb-logs-controls input[type="text"]#lb-logs-search {
    flex: 2;
    min-width: 200px;
}

/* Pagination Styling Rewrite */
.lb-logs-pager {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.lb-logs-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.lb-logs-page:hover {
    border-color: #00b4ff;
    color: #ffffff;
    background: rgba(0, 180, 255, 0.05);
}

.lb-logs-page.current {
    background: #00b4ff;
    border-color: #00b4ff;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
}

/* Fix for date inputs showing white icons in some browsers */
.lb-logs-controls input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

/* --- APPEND TO BOTTOM OF FILE --- */

/* 1. Container Layout: Force items into a single row */
.lb-logs-controls {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    width: 100%;
}

/* 2. Input & Dropdown Styling: Force Dark Theme & Override Defaults */
.lb-logs-controls input[type="text"],
.lb-logs-controls input[type="date"],
.lb-logs-controls select {
    background-color: #06070b !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 7px !important;
    padding: 0 12px !important; /* Reset padding */
    height: 40px !important;    /* Fixed height for alignment */
    line-height: 40px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    box-shadow: none !important;
    margin: 0 !important;
    max-width: 100%;
}

/* 3. Dropdown Specifics: Custom Arrow & Reset */
.lb-logs-controls select {
    /* Remove default ugly browser arrow */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* Add custom blue arrow SVG */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300b4ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 10px !important;
    padding-right: 35px !important; /* Make room for the arrow */
    cursor: pointer;
}

/* 4. Dropdown Options (The list when opened) */
.lb-logs-controls select option {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 10px;
}

/* 5. Date Picker Icon Fix (Invert to white) */
.lb-logs-controls input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

/* 6. Width Management */
/* Search bar takes available space */
.lb-logs-controls input[type="text"] {
    flex: 2;
    min-width: 200px;
}

/* Dropdown and Dates take equal remaining space */
.lb-logs-controls select,
.lb-logs-controls input[type="date"] {
    flex: 1;
    min-width: 140px;
}

/* Mobile: Stack them if screen is small */
@media (max-width: 768px) {
    .lb-logs-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .lb-logs-controls input, 
    .lb-logs-controls select {
        width: 100% !important;
        flex: none;
    }
}

/* --- PAGINATION UPDATE: Minimal Text Only --- */

.lb-logs-pager {
    display: flex;
    justify-content: center;
    gap: 12px; /* Space out the numbers slightly */
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.lb-logs-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: 32px;
    padding: 0 4px;
    font-size: 14px; /* Slightly larger for readability */
    
    /* Remove all box styling */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    
    /* Default Text: Slightly dimmed white */
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Hover: Bright White */
.lb-logs-page:hover {
    color: #ffffff !important;
    background: transparent !important;
}

/* Active: LaunchBoost Blue */
.lb-logs-page.current {
    color: #00b4ff !important;
    font-weight: 700;
    background: transparent !important;
    cursor: default;
    pointer-events: none; /* Prevent clicking the active page */
}

/* --- FINAL STYLE UPDATE: Consistent Subtitle Styling & Alignment --- */

/* 1. Description Text ("All System Events") 
   - Matching .lb-logs-sub style
   - Added extra margin-bottom for spacing from table
*/
.lb-logs-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px; /* Increased spacing */
    min-height: 18px;
    font-weight: 400;
}

/* 2. Results Count ("Showing 1-15...") 
   - Matching .lb-logs-sub style
*/
.lb-logs-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: none; /* Removed uppercase to match subtitle */
    letter-spacing: normal;
    margin-bottom: 8px; /* Slight space before numbers */
}

/* 3. Pagination Container 
   - Flexbox centering for perfect alignment
*/
.lb-logs-pager {
    display: flex;
    align-items: center;     /* Vertically centers items */
    justify-content: center; /* Horizontally centers items */
    gap: 8px;
    margin-top: 4px;
    padding-top: 0;
    border-top: none;
}

/* 4. Pagination Numbers 
   - Matching .lb-logs-sub style (13px, 0.7 alpha)
   - Removed "raised" look by fixing line-height and vertical-align
*/
.lb-logs-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    
    height: 24px;      /* Fixed height */
    min-width: 24px;   /* Fixed width */
    padding: 0;
    margin: 0;
    
    cursor: pointer;
    font-weight: 400;
    line-height: 1;    /* Fixes vertical alignment */
    vertical-align: middle;
    transition: color 0.2s ease;
}

/* Hover state */
.lb-logs-page:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Active Number 
   - Same size/alignment, just blue and slightly bolder
   - No transform/raising
*/
.lb-logs-page.current {
    color: #00b4ff !important;
    font-weight: 600; /* Subtle bold, not heavy */
    background: transparent !important;
    cursor: default;
    pointer-events: none;
}

/* --- TABLE STABILITY & TRUNCATION --- */

/* 1. Force Fixed Layout */
.lb-logs-table {
    table-layout: fixed;
    width: 100%;
    white-space: nowrap; /* Prevent wrapping generally */
}

/* 2. Define Fixed Column Widths (Adjust as needed) */
.lb-logs-table th:nth-child(1) { width: 150px; } /* Time */
.lb-logs-table th:nth-child(2) { width: 140px; } /* Project */
.lb-logs-table th:nth-child(3) { width: 120px; } /* Type */
.lb-logs-table th:nth-child(4) { width: auto; }  /* Details (Takes remaining space) */
.lb-logs-table th:nth-child(5) { width: 160px; } /* HWID */
.lb-logs-table th:nth-child(6) { width: 130px; } /* IP */

/* 3. Truncation Class */
.lb-cell-truncate {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.15s ease;
}

/* Hover Effect to indicate clickability */
.lb-cell-truncate:hover {
    color: #00b4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- DETAIL MODAL (Dark Theme) --- */
.lb-log-modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lb-log-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lb-log-modal {
    background: #1A1A1A;
    border: 1px solid #333;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    padding: 24px;
    transform: scale(0.95);
    transition: transform 0.2s ease;
    color: #fff;
    position: relative;
}

.lb-log-modal-overlay.active .lb-log-modal {
    transform: scale(1);
}

.lb-log-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.lb-log-modal-close:hover { color: #fff; }

.lb-log-modal-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00b4ff;
    margin-bottom: 12px;
    font-weight: 600;
}

.lb-log-modal-content {
    font-family: monospace;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    background: #111;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #2A2A2A;
    word-wrap: break-word; /* Ensure long strings wrap */
    white-space: pre-wrap; /* Preserve formatting */
    max-height: 400px;
    overflow-y: auto;
}

/* Radio Button & Label Wrapper */
.lb-form-radio-label {
    display: flex !important;       /* Ensures flex behavior overrides theme */
    align-items: center !important; /* Vertically centers the items */
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.4;               /* distinct line-height helps alignment */
}

/* Radio Input Specifics */
.lb-form-radio-label input[type="radio"] {
    /* 1. Reset Theme Sizing (The Fix) */
    /* Your theme likely sets inputs to 40px height; this forces it back to normal size */
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;      
    
    /* 2. Kill Theme Margins */
    /* Theme adds bottom margin to inputs, pushing the 'center' point off */
    margin: 0 10px 0 0 !important; 
    
    /* 3. Remove Text-Input Styling */
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.3) !important; /* Clean border */
    background-color: transparent !important;           /* Remove dark input background */
    box-shadow: none !important;

    /* 4. Visuals */
    accent-color: #00b4ff;          /* LaunchBoost Blue */
    cursor: pointer;
    
    /* Optional: If it still looks 1px off, use this to nudge it manually */
    position: relative;
    top: 0px; 
}

/* Hover Effect */
.lb-form-radio-label:hover {
    color: #ffffff;
}

/* === TOAST NOTIFICATIONS (V2 - Large with Logo) === */
.lb-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.lb-toast {
    background: #141414; /* Slightly darker background for contrast */
    border: 1px solid #2C2C2C;
    border-left: 4px solid #00b4ff; /* LaunchBoost Blue Accent */
    color: #fff;
    padding: 0; /* Padding handled by inner flex layout */
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6); /* Deeper shadow */
    min-width: 340px; /* Wider */
    max-width: 450px;
    display: flex;
    align-items: stretch; /* Stretch items to full height */
    opacity: 0;
    transform: translateY(20px);
    animation: lbToastSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

/* Status Colors */
.lb-toast.lb-toast-error { border-left-color: #ff5c7a; }
.lb-toast.lb-toast-success { border-left-color: #00d26a; }

/* Inner Layout */
.lb-toast-body {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 16px;
    flex-grow: 1;
}

/* The Logo */
.lb-toast-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* The Message Text */
.lb-toast-msg {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #EDEDED;
}

/* The Close Button Area */
.lb-toast-close-wrap {
    width: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    border-left: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.01);
    cursor: pointer;
    transition: background 0.2s;
}
.lb-toast-close-wrap:hover {
    background: rgba(255,255,255,0.05);
}

/* The Custom 'X' Icon */
.lb-toast-close-icon {
    font-family: sans-serif;
    font-size: 20px;
    line-height: 1;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.lb-toast-close-wrap:hover .lb-toast-close-icon {
    color: #fff;
}

.lb-toast.lb-toast-hide {
    animation: lbToastSlideOut 0.3s ease forwards;
}

@keyframes lbToastSlideIn { to { opacity: 1; transform: translateY(0); } }
@keyframes lbToastSlideOut { to { opacity: 0; transform: translateY(10px); } }