/*
 Theme Name: GeneratePress Child
 Template: generatepress
*/

/* ==========================================
   GLOBAL LANGUAGE TOGGLE COMPONENT
   ========================================== */
.mexam-lang-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    background: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #eaeaea;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: sans-serif;
    transition: transform 0.3s ease;
}

.mexam-lang-controls:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mexam-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    vertical-align: middle;
}

.mexam-switch input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.mexam-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
    z-index: 1;
}

.mexam-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.mexam-slider {
    background-color: #2196F3;
}

input:focus+.mexam-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.mexam-slider:before {
    transform: translateX(26px);
}

.mexam-label {
    font-weight: bold;
    color: #333;
}

/* ==========================================
   GEM_PRICING STYLES
   ========================================== */
.mexam-pricing-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: sans-serif;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 20px 30px 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #0033cc;
    box-shadow: 0 5px 15px rgba(0, 51, 204, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0033cc;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 1px;
}

.pricing-card h3 {
    color: #888;
    font-size: 1.3rem;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.pricing-card .price {
    font-size: 2.8rem;
    color: #222;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    color: #666;
    text-align: center;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-card p {
    margin: 0;
}

.pricing-card .button {
    display: inline-block;
    background: #0033cc;
    color: #fff !important;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    width: 120px;
}

.pricing-card .button:hover {
    background: #002299;
}

.pricing-id-details {
    background: #cabbbe8f;
    padding: 25px;
    border-radius: 8px;
    font-size: 0.95em;
    margin: 0 auto 20px auto;
    max-width: 1000px;
    border: 2px solid #a72828;
    text-align: left;
    color: #333;
}

.included-features {
    background: #d4edda;
    padding: 25px;
    border-radius: 8px;
    font-size: 0.95em;
    margin: 0 auto 20px auto;
    max-width: 1000px;
    border: 2px solid #28a745;
    text-align: left;
    color: #333;
}

/* Force text in the ID requirements to be black */
.pricing-id-details,
.pricing-id-details p,
.pricing-id-details strong {
    color: #000000 !important;
}

.included-features h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    text-align: left;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    line-height: 1.4;
}

.feature-item span {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
        z-index: 1;
    }
}

/* ==========================================
   GEM_GUIDES STYLES
   ========================================== */
.mexam-guide-container {
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 1. HOW IT WORKS STEPS --- */
.step-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0 10px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.step-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    color: #0033cc;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-num {
    background: #0033cc;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* --- 2. BUBBLE PLANS --- */
.bubble-plans .plan-list {
    margin-top: 30px;
}

.plan-bubble {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 20px 40px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.plan-bubble:hover {
    transform: translateX(10px);
    border-color: #0033cc;
}

.plan-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.plan-sub {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    padding-left: 0;
}

.popular-bubble {
    background: #d4edda !important;
    border: 2px solid #28a745;
}

.popular-bubble .plan-name,
.popular-bubble .plan-price {
    color: #155724;
}

.intro-p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- 3. BUSINESS PLANS --- */
.business-row-container {
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}

.business-toggle-container {
    margin: 20px 0 40px;
    text-align: center;
}

.guide-button {
    display: inline-block;
    background: #0047bb;
    color: #fff !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.guide-button:hover {
    background: #003388;
}

/* --- 4. INCLUDED FEATURES GRID --- */
.mexam-guide-container .included-features {
    padding: 40px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 60px;
    border: 1px solid #eee;
}

/* --- 5. BOTTOM NAVIGATION BUTTONS --- */
.more-info-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
    border-top: 2px solid #f1f1f1;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .more-info-buttons {
        flex-direction: column;
        align-items: center;
    }

    .more-info-buttons .guide-button {
        width: 100%;
        text-align: center;
    }

    .plan-main {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* ==========================================
   GEM_ABOUT_US STYLES
   ========================================== */
.about-header {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.about-body {
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-rule {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #0033cc;
    margin-bottom: 15px;
}

.about-note {
    background: #e9ecef;
    padding: 10px 15px;
    border-left: 4px solid #6c757d;
    font-style: italic;
    margin-bottom: 15px;
}

/* ==========================================
   GEM_CALENDAR STYLES
   ========================================== */
.mexam-calendar-wrapper {
    font-family: sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.mexam-section {
    margin-bottom: 50px;
}

.mexam-section h3 {
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

/* Hours List - Aligned Logic */
.mexam-hours-container {
    max-width: 500px;
    /* Constrain width to keep it tidy */
}

.mexam-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted #ccc;
    padding: 8px 0;
}

.mexam-hours-day {
    /* No Bold */
    color: #333;
    font-size: 1.1em;
    margin-right: 20px;
}

.mexam-hours-time {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
    white-space: nowrap;
}

/* Info Block Placeholder */
.mexam-info-block {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Holidays List (Div Structure for Mobile) */
.mexam-year-header {
    font-size: 2.5rem;
    /* Big */
    font-weight: 800;
    /* Bold */
    text-transform: uppercase;
    color: #2c3e50;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 3px solid #ccc;
}

.mexam-holiday-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping */
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.mexam-h-date {
    flex: 0 0 25%;
    /* 25% width */
    font-weight: bold;
    color: #555;
}

.mexam-h-name {
    flex: 1 1 40%;
    /* Grow to fill space */
    padding-right: 10px;
}

.mexam-h-status {
    flex: 0 0 auto;
    /* Auto width */
    text-align: right;
}

/* Mobile styles for Holidays */
@media (max-width: 600px) {
    .mexam-holiday-row {
        align-items: flex-start;
    }

    .mexam-h-date {
        flex: 0 0 100%;
        /* Date full row if strict wrapping needed, or keep inline */
        margin-bottom: 4px;
        width: 30%;
        /* Let's try inline with name first */
    }

    .mexam-h-name {
        flex: 1 1 60%;
    }

    .mexam-h-status {
        /* Wrap under */
        flex: 0 0 100%;
        text-align: left;
        margin-top: 8px;
        padding-left: 0;
    }
}

/* Status Icons */
.status-icon {
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}

/* Map Container */
.mexam-map-container {
    text-align: center;
    margin-top: 20px;
}

/* Reviews */
.mexam-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.review-card {
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #f1c40f;
    margin-bottom: 10px;
}

/* ==========================================
   GEM_RATES STYLES
   ========================================== */
.rates-container {
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;
}

.rates-title {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.rates-header {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rates-body {
    margin-bottom: 30px;
}

.rates-body p {
    margin-bottom: 15px;
}

.rates-rule {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #0033cc;
    margin-bottom: 15px;
}

.rates-example {
    background: #e9ecef;
    padding: 10px 15px;
    border-left: 4px solid #6c757d;
    font-style: italic;
    margin-bottom: 15px;
}

/* Table Styling */
.mexam-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mexam-table th,
.mexam-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: center;
    word-break: normal;
    overflow-wrap: break-word;
}

.mexam-table th {
    background-color: #fce4d6;
    color: #333;
    font-weight: bold;
}

.mexam-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.mexam-table tr:hover {
    background-color: #f1f1f1;
}

.table-notes {
    max-width: 600px;
    margin: 10px auto 30px;
    font-size: 0.9em;
    color: #666;
}

/* Fees Table */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fees-table th,
.fees-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
}

.fees-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
}

.fees-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fee-amount {
    font-weight: bold;
    color: #d32f2f;
    white-space: nowrap;
}

/* ==========================================
   GEM_OWNERS_MANUAL STYLES
   ========================================== */
.manual-title {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.manual-toc {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.manual-toc strong {
    display: block;
    font-size: 1.1em;
    color: #0033cc;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.manual-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manual-toc li {
    margin-bottom: 8px;
}

.manual-toc a {
    color: #444;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.manual-toc a:hover {
    color: #0033cc;
    text-decoration: underline;
}

.manual-header {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.manual-body {
    margin-bottom: 30px;
    line-height: 1.6;
}

.manual-rule {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #0033cc;
    margin-bottom: 15px;
}

.manual-note {
    background: #e9ecef;
    padding: 10px 15px;
    border-left: 4px solid #6c757d;
    font-style: italic;
    margin-bottom: 15px;
}

.manual-better-way {
    background: #d4edda;
    padding: 15px 20px;
    border-left: 5px solid #28a745;
    margin-bottom: 20px;
    margin-top: 10px;
    border-radius: 0 4px 4px 0;
    color: #155724;
}

.manual-better-way h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #155724;
    font-size: 1.1em;
}

.manual-better-way p {
    margin: 0;
}

.manual-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: center;
    font-style: italic;
}

/* ==========================================
   GEM_POLICIES STYLES
   ========================================== */
.tc-header {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tc-body {
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================
   GEM_DASHBOARD STYLES
   ========================================== */

/* Base (Fixed for Android Scaling) */
#gem-dash-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #222;
    overflow-x: hidden;
    /* Prevents scrollbar issues */
}

#gem-dash-app * {
    box-sizing: border-box;
}

/* Cards */
.gem-card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #0073aa;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

/* Grid System */
.gem-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Payment Layout (Android Fix: Removed rigid min-widths for mobile) */
.gem-payment-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gem-pay-input-col {
    flex: 0 0 auto;
    min-width: 200px;
}

.gem-pay-btn-col {
    flex: 1;
    min-width: 250px;
}

/* Responsive Overrides */
@media (max-width: 600px) {
    #gem-dash-app {
        padding: 0 5px;
    }

    .gem-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Force single column */

    /* Force Payment block to stack nicely on Android */
    .gem-payment-container {
        flex-direction: column;
        width: 100%;
    }

    .gem-pay-input-col,
    .gem-pay-btn-col {
        width: 100%;
        min-width: 0;
    }

    /* Details Table */
    .gem-col-financial td {
        text-align: left;
    }

    .gem-clean-table td {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px dotted #ccc;
    }

    .col-type,
    .col-status {
        display: none;
    }
}

/* General Styles (Keep existing) */
.gem-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gem-btn-logout {
    background: none;
    border: none;
    color: #d32f2f;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.95em;
}

.gem-greeting {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.gem-greeting h2 {
    margin: 0 0 5px 0;
    font-size: 1.8em;
    color: #333;
}

.gem-subtitle {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: block;
}

.gem-stat-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    height: 100%;
    min-height: 180px;
}

.gem-stat-box .label {
    font-size: 0.85em;
    text-transform: uppercase;
    color: #555;
    font-weight: 700;
    margin-bottom: 10px;
}

.gem-stat-box .value {
    font-weight: 800;
    font-size: 1.5em;
    color: #111;
}

.gem-stat-box .value.lg {
    font-size: 2em;
}

.gem-stat-row {
    font-size: 0.9em;
    margin-top: 8px;
    color: #444;
}

/* Inventory */
.gem-inventory-bar {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #90caf9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.gem-inv-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
}

.inv-label {
    font-weight: 600;
    color: #0d47a1;
    font-size: 0.95em;
}

.inv-badge {
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    background: #1565c0;
    color: white;
}

.badge-new {
    background: #2e7d32;
}

/* Details */
.gem-wide-details {
    margin-top: -20px;
    border-top: 4px solid #0073aa;
    background: #fdfdfd;
    margin-bottom: 30px;
}

.gem-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.gem-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.gem-clean-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.gem-clean-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: bottom;
}

.gem-col-financial td {
    text-align: right;
}

.gem-col-financial td:first-child {
    text-align: left;
}

/* Forms & Utils */
.input-group-compact {
    position: relative;
}

.input-group-compact span {
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.input-group-compact input {
    width: 100%;
    padding: 10px 10px 10px 25px;
    font-size: 1.3em;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #0073aa;
}

.text-danger {
    color: #d32f2f !important;
    font-weight: bold;
}

.border-danger {
    border-color: #d32f2f !important;
}

.gem-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 5px solid #ccc;
    background: #eee;
}

.gem-alert-danger {
    background: #ffebee;
    color: #b71c1c;
    border-left-color: #d32f2f;
}

.gem-alert-warning {
    background: #fffde7;
    color: #f57f17;
    border-left-color: #fbc02d;
}

.gem-btn-pay-alert {
    background: #d32f2f;
    color: white;
    padding: 6px 12px;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    margin-left: auto;
}

ul.gem-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

li.gem-list-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.gem-table-wrapper {
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gem-table {
    width: 100%;
    border-collapse: collapse;
}

.gem-table th {
    background: #f5f5f5;
    text-align: left;
    padding: 10px;
}

.gem-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.gem-btn-primary {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.gem-btn-link-sm {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.9em;
}

.gem-btn-save {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.gem-btn-cancel {
    background: #666;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 5px;
}

.gem-btn-sm {
    padding: 4px 8px;
    border: 1px solid #aaa;
    background: #eee;
    cursor: pointer;
}

.gem-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #999;
    border-radius: 4px;
}

/* Tooltip */
.gem-pmb-trigger {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #888;
    color: #000;
}

.gem-pmb-tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 10px;
    position: absolute;
    z-index: 100;
    top: 120%;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.8em;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gem-pmb-trigger:hover .gem-pmb-tooltip {
    visibility: visible;
    opacity: 1;
}

/* ==========================================
   GEM_NEW_ACCOUNT STYLES
   ========================================== */

#gem-signup-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 700px;
    margin: 0 auto;
    color: #333;
}

/* Language Toggling Logic */
#gem-signup-app.mode-es .lang-en {
    display: none !important;
}

#gem-signup-app.mode-en .lang-es {
    display: none !important;
}

/* Header Actions */
.gem-header-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.gem-btn-sm {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85em;
    margin-left: 5px;
}

.gem-btn-sm.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.gem-card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #0073aa;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Form Layout */
.gem-form-group {
    margin-bottom: 15px;
}

.gem-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
}

.gem-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.gem-input:focus {
    border-color: #0073aa;
    outline: none;
}

.gem-input.valid {
    border-color: #28a745;
    background-color: #f0fff4;
}

.gem-input.invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.gem-row {
    display: flex;
    gap: 15px;
}

.gem-col {
    flex: 1;
}

/* Checkbox Sections */
.gem-checkbox-section {
    margin: 20px 0;
}

.gem-checkbox-section h4 {
    margin: 0 0 10px 0;
    color: #0073aa;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.gem-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.4;
    color: #444;
}

.gem-check-row input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    cursor: pointer;
    flex-shrink: 0;
}

/* Highlight Box (Key Terms) */
.gem-highlight-section {
    background: #f9fbfd;
    border: 1px solid #e1e8ed;
    border-left: 4px solid #0073aa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ID Expander */
.gem-id-details {
    display: none;
    margin-left: 28px;
    margin-bottom: 10px;
    font-size: 0.85em;
    color: #666;
    background: #eee;
    padding: 10px;
    border-radius: 4px;
}

.gem-id-link {
    margin-left: 28px;
    font-size: 0.85em;
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}

/* Tooltip */
.gem-info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #999;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 11px;
    cursor: help;
    margin-left: 5px;
    font-style: normal;
}

.gem-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.gem-tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85em;
    line-height: 1.3;
    font-weight: normal;
}

.gem-tooltip-wrapper:hover .gem-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Footer */
.gem-legal-footer {
    margin-top: 30px;
    font-size: 0.75em;
    color: #888;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    line-height: 1.4;
}

/* Price & Payment */
.gem-price-display {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #90caf9;
}

.gem-price-val {
    font-size: 1.5em;
    font-weight: bold;
    color: #0d47a1;
}

/* Success Page */
.gem-success-box {
    text-align: left;
    display: none;
}

.gem-success-header {
    text-align: center;
    margin-bottom: 30px;
}

.gem-success-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.gem-pmb-display {
    font-size: 2em;
    font-weight: 800;
    color: #0073aa;
    margin: 10px 0;
    text-align: center;
}

.gem-btn-login {
    display: block;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    font-size: 1.1em;
}

.gem-review-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-top: 1px solid #eee;
}

.gem-review-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    color: #555;
    display: flex;
    gap: 10px;
}

.gem-next-steps {
    background: #fff8e1;
    border: 1px solid #ffe0b2;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.gem-next-steps h4 {
    margin-top: 0;
    color: #f57c00;
}

@media (max-width: 500px) {
    .gem-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==========================================
   GEM_REACTIVATION STYLES
   ========================================== */

#gem-reactivate-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 700px;
    margin: 0 auto;
    color: #333;
}

#gem-reactivate-app.mode-es .lang-en {
    display: none !important;
}

#gem-reactivate-app.mode-en .lang-es {
    display: none !important;
}

.gem-card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #0073aa;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gem-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 10px;
}

.gem-price-display {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #90caf9;
    display: none;
}

.gem-price-val {
    font-size: 1.5em;
    font-weight: bold;
    color: #0d47a1;
}

/* Checkboxes & Terms */
.gem-checkbox-section {
    margin: 20px 0;
}

.gem-checkbox-section h4 {
    margin: 0 0 10px 0;
    color: #0073aa;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.gem-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.4;
    color: #444;
}

.gem-check-row input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    cursor: pointer;
    flex-shrink: 0;
}

.gem-highlight-section {
    background: #f9fbfd;
    border: 1px solid #e1e8ed;
    border-left: 4px solid #0073aa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.gem-id-details {
    display: none;
    margin-left: 28px;
    margin-bottom: 10px;
    font-size: 0.85em;
    color: #666;
    background: #eee;
    padding: 10px;
    border-radius: 4px;
}

.gem-id-link {
    margin-left: 28px;
    font-size: 0.85em;
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}

/* Success Page */
#gem-step-success {
    display: none;
    text-align: center;
}

.gem-btn-login {
    display: block;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    font-size: 1.1em;
}

/* Buttons */
.gem-btn-sm {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85em;
    margin-left: 5px;
}

.gem-btn-sm.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* ==========================================
   GEM_EXPERTISE STYLES
   ========================================== */

/* Remove unwanted bullet points from plugin-generated content */
.wp-block,
.entry-content ul:not(.keep-bullets),
.entry-content ol:not(.keep-bullets) {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

/* Trust Section */
.trust-section {
    padding: 60px 20px;
    background-color: #fcfcfc;
    text-align: center;
}

.trust-header {
    margin-bottom: 40px;
}

.trust-header .section-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: bold;
}

.trust-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.trust-header .lead-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.trust-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    /* Space before bottom button */
}

/* Trust Card */
.trust-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 51, 204, 0.12);
    border-color: #0033cc;
}

.trust-card .card-icon {
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.trust-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.trust-button {
    margin-top: auto;
    display: inline-block;
    padding: 12px 30px;
    background-color: #0033cc;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s;
}

.trust-button:hover {
    background-color: #002299;
}

/* Carrier Section */
.carrier-section {
    padding: 40px 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.carrier-section h4 {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.carrier-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.carrier-item {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrier-item img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carrier-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carrier-grid {
        gap: 25px;
    }
}