/* ==========================================================================
   Lexorapath.com Legal Portal & Left-Sidebar Counsel Workspace v4.0
   Font: Merriweather | Colors: Navy (#0F2537), Blue (#1D5B9E), Orange (#E86A17)
   ========================================================================== */

.lexora-portal-container {
    font-family: 'Merriweather', Georgia, serif;
    max-width: 860px;
    margin: 28px auto;
    color: #0F2537;
    box-sizing: border-box;
    padding: 0 12px;
}

.lexora-portal-container *,
.lexora-portal-container *::before,
.lexora-portal-container *::after,
.lexora-app-shell *,
.lexora-app-shell *::before,
.lexora-app-shell *::after {
    box-sizing: border-box;
    font-family: 'Merriweather', Georgia, serif;
}

/* Auth & Client Cards */
.lexora-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-top: 5px solid #0F2537;
    border-radius: 10px;
    padding: 36px 42px;
    box-shadow: 0 12px 32px rgba(15, 37, 55, 0.08);
}

.lexora-req-card {
    border-top: 5px solid #E86A17;
}

.lexora-brand-header {
    text-align: center;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6edf5;
}

.lexora-brand-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 12px auto;
    display: block;
}

.lexora-pill-badge {
    display: inline-block;
    background: #e6f0fa;
    color: #1D5B9E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.lexora-pill-orange {
    background: #fff1e6;
    color: #E86A17;
}

.lexora-brand-header h2 {
    margin: 0 0 8px 0;
    font-size: 26px;
    font-weight: 700;
    color: #0F2537;
    line-height: 1.3;
}

.lexora-brand-header p {
    margin: 0 auto;
    max-width: 620px;
    font-size: 14px;
    color: #486581;
    line-height: 1.6;
}

/* Auth Tabs */
.lexora-tab-bar {
    display: flex;
    background: #f0f4f8;
    padding: 6px;
    border-radius: 8px;
    gap: 8px;
    margin-bottom: 26px;
}

html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger,
.lexora-portal-container .lexora-tab-bar .lexora-tab-trigger,
.lexora-tab-trigger {
    flex: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #0F2537 !important;
    -webkit-text-fill-color: #0F2537 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    user-select: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger:hover:not(.active),
html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger:focus:not(.active),
.lexora-portal-container .lexora-tab-bar .lexora-tab-trigger:hover:not(.active),
.lexora-tab-trigger:hover:not(.active),
.lexora-tab-trigger:focus:not(.active) {
    background: #d9e2ec !important;
    background-color: #d9e2ec !important;
    background-image: none !important;
    color: #0F2537 !important;
    -webkit-text-fill-color: #0F2537 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger.active,
html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger.active:hover,
html body .lexora-portal-container .lexora-tab-bar .lexora-tab-trigger.active:focus,
.lexora-portal-container .lexora-tab-bar .lexora-tab-trigger.active,
.lexora-tab-trigger.active,
.lexora-tab-trigger.active:hover,
.lexora-tab-trigger.active:focus {
    background: #0F2537 !important;
    background-color: #0F2537 !important;
    background-image: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(15, 37, 55, 0.2) !important;
}

.lexora-tab-pane { display: none; }
.lexora-tab-pane.active { display: block; }

/* Forgot Password Custom Box */
.lexora-forgot-box {
    background: #fffbeb;
    border: 1.5px solid #f59e0b;
    border-left: 5px solid #E86A17;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    animation: lexoraFadeIn 0.2s ease;
}

.lexora-forgot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #0F2537;
    font-size: 14px;
}

.lexora-close-mini {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.lexora-forgot-box p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #334e68;
    line-height: 1.55;
}

.lexora-forgot-email-pill {
    margin-bottom: 8px;
}

.lexora-forgot-email-pill a {
    display: inline-block;
    background: #0F2537;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.lexora-forgot-box small {
    display: block;
    font-size: 11.5px;
    color: #64748b;
}

@keyframes lexoraFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Controls */
.lexora-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lexora-field {
    margin-bottom: 18px;
}

.lexora-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0F2537;
    margin-bottom: 7px;
}

.lexora-field label .req { color: #E86A17; }

.lexora-field input[type="text"],
.lexora-field input[type="email"],
.lexora-field input[type="password"],
.lexora-field input[type="tel"],
.lexora-field input[type="number"],
.lexora-field select,
.lexora-field textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    color: #102a43;
    background: #f8fafc;
    border: 1.5px solid #bcccdc;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lexora-field input:disabled {
    background: #e2e8f0;
    color: #475569;
    cursor: not-allowed;
}

.lexora-field input:focus,
.lexora-field select:focus,
.lexora-field textarea:focus {
    outline: none;
    border-color: #1D5B9E;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 91, 158, 0.14);
}

.lexora-field-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.lexora-check-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: #334e68;
    font-size: 13px;
    line-height: 1.45;
}

.lexora-text-link {
    color: #1D5B9E;
    font-weight: 700;
    text-decoration: none;
}

.lexora-text-link:hover {
    text-decoration: underline;
}

/* Buttons */
.lexora-btn {
    display: inline-block;
    width: 100%;
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lexora-btn-blue { background: #1D5B9E; color: #ffffff; }
.lexora-btn-blue:hover { background: #15467c; }

.lexora-btn-orange { background: #E86A17; color: #ffffff; }
.lexora-btn-orange:hover { background: #cf590c; }

.lexora-btn-navy { background: #0F2537; color: #ffffff; }
.lexora-btn-navy:hover { background: #1b3d59; }

.lexora-btn-sm {
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.lexora-security-strip {
    background: #f0f4f8;
    border-left: 4px solid #1D5B9E;
    padding: 11px 15px;
    border-radius: 5px;
    font-size: 12.5px;
    color: #334e68;
    margin-bottom: 20px;
}

/* Alerts */
.lexora-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13.5px;
    line-height: 1.55;
}
.lexora-alert-success { background: #ecfdf5; border-left: 4px solid #10b981; color: #065f46; }
.lexora-alert-error { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }
.lexora-alert-pending_payment { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }

/* ==========================================================================
   FULL-SCREEN LEFT-SIDEBAR ATTORNEY WORKSPACE (ZERO TOP SPACE)
   ========================================================================== */

.lexora-app-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f1f5f9;
    color: #0F2537;
}

/* Left Sidebar */
.lexora-sidebar {
    width: 280px;
    min-width: 280px;
    background: #0F2537;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(15, 37, 55, 0.14);
    z-index: 999;
}

.lexora-sidebar-logo-box {
    padding: 24px 20px 18px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1c2a;
}

.lexora-sidebar-logo-box img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    margin: 0 auto 10px auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.lexora-sidebar-brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.lexora-sidebar-brand-sub {
    font-size: 11px;
    color: #9fb3c8;
    margin-top: 2px;
}

.lexora-sidebar-counsel-card {
    padding: 14px 18px;
    background: rgba(29, 91, 158, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lexora-sidebar-counsel-card strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
    margin-bottom: 3px;
}

.lexora-sidebar-counsel-card span {
    display: block;
    font-size: 11.5px;
    color: #cbd5e1;
}

.lexora-sidebar-tier-badge {
    display: inline-block;
    margin-top: 8px;
    background: #E86A17;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Sidebar Navigation Links */
.lexora-sidebar-nav {
    padding: 14px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lexora-side-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.2s ease;
}

.lexora-side-btn .ico {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

.lexora-side-btn .lbl {
    flex: 1;
}

.lexora-side-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lexora-side-btn.active {
    background: #1D5B9E;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 91, 158, 0.35);
}

.lexora-side-badge {
    background: #E86A17;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
}

.lexora-side-badge.badge-warn {
    background: #f59e0b;
    color: #0F2537;
}

/* Sidebar Footer */
.lexora-sidebar-footer {
    padding: 14px 16px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1c2a;
}

.lexora-sidebar-wallet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.lexora-sidebar-wallet small {
    font-size: 11.5px;
    color: #9fb3c8;
}

.lexora-sidebar-wallet strong {
    font-size: 15px;
    color: #34d399;
}

.lexora-side-logout {
    display: block;
    width: 100%;
    text-align: center;
    background: #E86A17;
    color: #ffffff !important;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.lexora-side-logout:hover {
    background: #cf590c;
}

/* Right Main Stage */
.lexora-main-stage {
    flex: 1;
    padding: 24px 32px 48px 32px;
    min-width: 0;
}

.lexora-stage-header {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(15, 37, 55, 0.04);
}

.lexora-stage-header h1 {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    color: #0F2537;
}

.lexora-stage-header p {
    margin: 0;
    font-size: 12.5px;
    color: #486581;
}

/* Status Banners & Pills */
.lexora-status-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.lexora-banner-pending { background: #fffbeb; border: 1px solid #fcd34d; }
.lexora-status-banner strong { display: block; font-size: 14px; margin-bottom: 4px; color: #0F2537; }
.lexora-status-banner p { margin: 0; font-size: 13px; color: #334e68; line-height: 1.5; }

.lexora-status-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pill-pending { background: #fef3c7; color: #b45309; }
.pill-approved { background: #10b981; color: #ffffff; }
.pill-rejected { background: #ef4444; color: #ffffff; }

/* 4 KPI Cards */
.lexora-kpi-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.lexora-kpi-box {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-left: 5px solid #0F2537;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 4px 12px rgba(15, 37, 55, 0.04);
}
.lexora-kpi-orange { border-left-color: #E86A17; }
.lexora-kpi-blue { border-left-color: #1D5B9E; }
.lexora-kpi-green { border-left-color: #10b981; }

.lexora-kpi-label { display: block; font-size: 11.5px; color: #486581; margin-bottom: 5px; }
.lexora-kpi-num { display: block; font-size: 24px; font-weight: 700; color: #0F2537; }
.lexora-kpi-text { display: block; font-size: 15.5px; font-weight: 700; color: #1D5B9E; }
.lexora-kpi-sub { display: block; font-size: 11px; color: #64748b; margin-top: 4px; }

/* Panels */
.lexora-dash-panel {
    display: none;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 26px 30px;
    box-shadow: 0 8px 24px rgba(15, 37, 55, 0.05);
}
.lexora-dash-panel.active { display: block; }

.lexora-panel-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}
.lexora-panel-header h3 { margin: 0 0 5px 0; font-size: 19px; color: #0F2537; }
.lexora-panel-header p { margin: 0; font-size: 13px; color: #486581; line-height: 1.5; }

/* Lead Inbox & Marketplace */
.lexora-empty-inbox {
    text-align: center;
    padding: 38px 20px;
    background: #f8fafc;
    border: 1px dashed #bcccdc;
    border-radius: 8px;
}
.lexora-empty-inbox h4 { margin: 0 0 8px 0; color: #0F2537; }
.lexora-empty-inbox p { margin: 0 auto; max-width: 520px; font-size: 13px; color: #486581; }

.lexora-lead-item, .lexora-market-card {
    border: 1px solid #cbd5e1;
    border-left: 5px solid #1D5B9E;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 16px;
    background: #ffffff;
}
.lexora-lead-item.lexora-lead-unread { border-left-color: #E86A17; background: #fffaf5; }

.lexora-lead-top, .lexora-market-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.lexora-new-dot {
    background: #E86A17;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    margin-right: 6px;
}

.lexora-lead-cat { font-weight: 700; font-size: 15px; color: #0F2537; margin-right: 8px; }

.lexora-lead-type-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    margin-right: 6px;
}
.tag-shared { background: #e0f2fe; color: #0369a1; }
.tag-exclusive { background: #fef3c7; color: #b45309; }

.lexora-lead-urgency {
    background: #f1f5f9;
    color: #334e68;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
}

.lexora-lead-date { font-size: 12px; color: #64748b; }

.lexora-lead-client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #f8fafc;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.lexora-lead-client-grid small { display: block; font-size: 11px; color: #64748b; margin-bottom: 3px; }
.lexora-lead-client-grid strong { font-size: 13px; color: #0F2537; }
.lexora-lead-client-grid a { color: #1D5B9E; text-decoration: none; }

.lexora-lead-body p, .lexora-market-summary {
    margin: 6px 0 12px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #1e293b;
}

.lexora-admin-dispatch-note {
    background: #eef6ff;
    border-left: 3px solid #1D5B9E;
    padding: 9px 12px;
    font-size: 12.5px;
    color: #0F2537;
    margin-bottom: 12px;
    border-radius: 4px;
}

.lexora-lead-footer-form {
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}
.lexora-lead-status-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lexora-lead-status-wrap select {
    padding: 6px 10px;
    font-size: 12.5px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}

.lexora-market-price-box { text-align: right; }
.lexora-price-tag { display: block; font-size: 15px; font-weight: 700; color: #E86A17; }
.lexora-market-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 12.5px;
    color: #64748b;
}

/* Membership Plans */
.lexora-billing-toggle-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.lexora-cycle-btn {
    padding: 10px 20px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #0F2537;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 6px;
    cursor: pointer;
}
.lexora-cycle-btn.active {
    background: #0F2537;
    color: #ffffff;
    border-color: #0F2537;
}
.lexora-save-badge {
    background: #E86A17;
    color: #ffffff;
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 5px;
}

.lexora-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.lexora-plan-card {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
}
.lexora-plan-featured {
    border-color: #E86A17;
    box-shadow: 0 8px 24px rgba(232, 106, 23, 0.14);
}
.lexora-plan-current {
    border-color: #10b981;
    background: #f0fdf4;
}
.lexora-plan-ribbon {
    position: absolute;
    top: -11px;
    right: 12px;
    background: #E86A17;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
}
.lexora-plan-card h4 { margin: 0 0 8px 0; font-size: 14.5px; color: #0F2537; }
.lexora-plan-price {
    font-size: 25px;
    font-weight: 700;
    color: #1D5B9E;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.lexora-plan-price small { font-size: 13px; color: #64748b; }

.lexora-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    flex: 1;
}
.lexora-plan-features li {
    font-size: 12px;
    color: #334e68;
    margin-bottom: 7px;
    line-height: 1.45;
}

.lexora-checkout-drawer {
    background: #f8fafc;
    border: 2px solid #1D5B9E;
    border-radius: 8px;
    padding: 22px 24px;
    margin-top: 20px;
}

/* Credit Packages */
.lexora-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.lexora-pkg-card {
    border: 1.5px solid #cbd5e1;
    border-top: 4px solid #1D5B9E;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background: #f8fafc;
}
.lexora-pkg-card h5 { margin: 0 0 8px 0; font-size: 14px; color: #0F2537; }
.lexora-pkg-pay { font-size: 20px; font-weight: 700; color: #0F2537; }
.lexora-pkg-val { font-size: 13px; font-weight: 700; color: #1D5B9E; margin: 4px 0 8px; }
.lexora-bonus-pill {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.lexora-credit-order-form {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px 22px;
}

/* Support Panel */
.lexora-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lexora-support-hero-card {
    background: #0F2537;
    color: #ffffff;
    border-radius: 10px;
    padding: 28px 26px;
    border-top: 5px solid #E86A17;
}

.lexora-support-icon {
    width: 48px;
    height: 48px;
    background: #E86A17;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.lexora-support-hero-card h4 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #ffffff;
}

.lexora-support-hero-card p {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 18px;
}

.lexora-support-email-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.lexora-support-email-box span {
    display: block;
    font-size: 11.5px;
    color: #9fb3c8;
    margin-bottom: 5px;
}

.lexora-support-email-box a {
    font-size: 17px;
    font-weight: 700;
    color: #fb923c !important;
    text-decoration: none;
}

.lexora-support-email-box a:hover {
    text-decoration: underline;
}

.lexora-support-tip {
    font-size: 12px !important;
    color: #9fb3c8 !important;
    margin-bottom: 0 !important;
}

.lexora-support-faq-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 24px 24px;
}

.lexora-support-faq-card h4 {
    margin: 0 0 14px 0;
    font-size: 17px;
    color: #0F2537;
}

.lexora-support-faq-card ul {
    margin: 0;
    padding-left: 18px;
}

.lexora-support-faq-card li {
    font-size: 13px;
    color: #334e68;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Tables */
.lexora-table-responsive { width: 100%; overflow-x: auto; }
.lexora-clean-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lexora-clean-table th { background: #0F2537; color: #ffffff; text-align: left; padding: 11px 14px; }
.lexora-clean-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; color: #1e293b; }
.lexora-clean-table tr:nth-child(even) td { background: #f8fafc; }

/* Mobile Bar */
.lexora-mobile-bar {
    display: none;
    background: #0F2537;
    color: #ffffff;
    padding: 12px 16px;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.lexora-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}
.lexora-mobile-brand img {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}
.lexora-mobile-menu-btn {
    background: #E86A17;
    color: #ffffff;
    border: none;
    padding: 7px 13px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
    .lexora-plans-grid,
    .lexora-packages-grid,
    .lexora-kpi-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .lexora-app-shell {
        flex-direction: column;
    }
    .lexora-mobile-bar {
        display: flex;
    }
    .lexora-sidebar {
        display: none;
        width: 100%;
        height: auto;
        position: static;
    }
    .lexora-sidebar.open {
        display: flex;
    }
    .lexora-main-stage {
        padding: 18px 14px 36px 14px;
    }
    .lexora-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lexora-row-2,
    .lexora-plans-grid,
    .lexora-packages-grid,
    .lexora-kpi-grid-4,
    .lexora-lead-client-grid {
        grid-template-columns: 1fr;
    }
    .lexora-card,
    .lexora-dash-panel {
        padding: 20px 16px;
    }
}


/* ==========================================================================
   INSTANT AJAX TRANSITIONS & PROFESSIONAL CONFIRMATION ANIMATIONS (v5.0)
   ========================================================================== */

.lexora-btn-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: lexoraSpin 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes lexoraSpin {
    to { transform: rotate(360deg); }
}

.lexora-fade-out-fast {
    opacity: 0;
    transform: scale(0.98) translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.lexora-dash-reveal-anim {
    animation: lexoraWorkspaceReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lexoraWorkspaceReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lexora-pop-anim {
    animation: lexoraPopUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lexoraPopUp {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Client Requirement Success Animation Card */
.lexora-req-success-stage {
    text-align: center;
    padding: 28px 20px 18px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1.5px solid #d9e2ec;
    border-radius: 10px;
}

.lexora-success-animate {
    animation: lexoraSuccessCardIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lexoraSuccessCardIn {
    0% { opacity: 0; transform: translateY(18px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.lexora-success-checkmark-wrap {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px auto;
}

.lexora-checkmark-svg {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #10b981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: lexoraFillPulse 0.4s ease-in-out 0.35s forwards, lexoraScaleBounce 0.3s ease-in-out 0.65s both;
}

.lexora-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: #ecfdf5;
    animation: lexoraStrokeDraw 0.55s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.lexora-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #059669;
    stroke-width: 3.5;
    animation: lexoraStrokeDraw 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards;
}

@keyframes lexoraStrokeDraw {
    100% { stroke-dashoffset: 0; }
}

@keyframes lexoraScaleBounce {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.08, 1.08, 1); }
}

@keyframes lexoraFillPulse {
    100% { box-shadow: 0 8px 22px rgba(16, 185, 129, 0.22); }
}

.lexora-ref-pill {
    display: inline-block;
    background: #0F2537;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.lexora-req-success-stage h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #0F2537;
}

.lexora-succ-lead-text {
    max-width: 600px;
    margin: 0 auto 22px auto;
    font-size: 14px;
    line-height: 1.65;
    color: #334e68;
}

.lexora-succ-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.lexora-succ-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #E86A17;
    border-radius: 8px;
    padding: 13px 14px;
}

.lexora-succ-step .step-num {
    background: #E86A17;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lexora-succ-step strong {
    display: block;
    font-size: 13px;
    color: #0F2537;
    margin-bottom: 3px;
}

.lexora-succ-step small {
    display: block;
    font-size: 11.5px;
    color: #486581;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .lexora-succ-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Dismissible Notifications with Cross (X) Button (v12.0) */
.lexora-dismissible-notice {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    position: relative;
}
.lexora-notice-body {
    flex: 1;
    min-width: 0;
}
.lexora-notice-close {
    background: rgba(15, 37, 55, 0.08);
    border: none;
    color: inherit;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.lexora-notice-close:hover {
    background: rgba(15, 37, 55, 0.18);
    transform: scale(1.06);
}

/* ==========================================================================
   TOP-RIGHT ICON-ONLY NOTIFICATION BELL & FLOATING POPOVER (v14.0)
   ========================================================================== */
.lexora-stage-header {
    position: relative !important;
    overflow: visible !important;
    z-index: 50 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
}

.lexora-stage-title-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.lexora-stage-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    position: relative !important;
}

.lexora-notif-center {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 2500 !important;
}

/* Sleek Circular/Rounded-Square Icon-Only Bell Button */
.lexora-notif-icon-btn {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0F2537 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    box-shadow: 0 2px 8px rgba(15, 37, 55, 0.06) !important;
    transition: all 0.2s ease !important;
}

.lexora-notif-icon-btn:hover,
.lexora-notif-icon-btn.open {
    background: #eff6ff !important;
    border-color: #1D5B9E !important;
    color: #1D5B9E !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 91, 158, 0.16) !important;
}

.lexora-notif-icon-btn.has-alerts {
    background: #fff5f5 !important;
    border-color: #fca5a5 !important;
    color: #b91c1c !important;
}

.lexora-bell-svg {
    width: 21px !important;
    height: 21px !important;
    display: block !important;
    stroke: currentColor !important;
}

/* Red Unread Counter Pill on Top-Right Corner of Bell Icon */
.lexora-notif-red-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 21px !important;
    height: 21px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.45) !important;
}

.lexora-notif-red-badge.is-zero {
    display: none !important;
}

/* Floating Overlay Dropdown Popover (Never pushes page content down!) */
.lexora-notif-popover {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    width: 390px !important;
    max-width: calc(100vw - 24px) !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 56px rgba(15, 37, 55, 0.24) !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    animation: lexoraFadeIn 0.18s ease !important;
}

.lexora-notif-pop-head {
    background: #0F2537 !important;
    color: #ffffff !important;
    padding: 13px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    border-bottom: 2px solid #E86A17 !important;
}

.lexora-notif-head-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.lexora-head-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    display: inline-block !important;
}

.lexora-notif-head-btns {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.lexora-mark-all-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #E86A17 !important;
    color: #ffffff !important;
    padding: 5px 11px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background 0.15s ease !important;
}

.lexora-mark-all-pill:hover {
    background: #cf590c !important;
}

.lexora-pop-close-x {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
}

.lexora-pop-close-x:hover {
    background: rgba(255, 255, 255, 0.28) !important;
}

.lexora-notif-pop-list {
    max-height: 360px !important;
    overflow-y: auto !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: #f8fafc !important;
}

.lexora-notif-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #dc2626 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    box-shadow: 0 2px 8px rgba(15, 37, 55, 0.05) !important;
}

.lexora-notif-card.level-success {
    border-left-color: #10b981 !important;
    background: #f0fdf4 !important;
}

.lexora-notif-card.level-info {
    border-left-color: #1D5B9E !important;
    background: #eff6ff !important;
}

.lexora-notif-card.level-danger {
    border-left-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.lexora-notif-card-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 5px !important;
}

.lexora-notif-card-top strong {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0F2537 !important;
    line-height: 1.4 !important;
}

.lexora-notif-item-x {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    background: rgba(15, 37, 55, 0.08) !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    user-select: none !important;
}

.lexora-notif-item-x:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.lexora-notif-card p {
    margin: 0 !important;
    font-size: 12px !important;
    color: #334e68 !important;
    line-height: 1.5 !important;
}

.lexora-notif-card-foot {
    margin-top: 9px !important;
}

.lexora-notif-card-cta {
    display: inline-block !important;
    background: #1D5B9E !important;
    color: #ffffff !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background 0.15s ease !important;
}

.lexora-notif-card-cta:hover {
    background: #0F2537 !important;
}

.lexora-notif-empty {
    text-align: center !important;
    padding: 26px 14px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
}

/* Sleek One-Time Responsive Toast Banner */
.lexora-toast-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 13px 16px !important;
    border-radius: 10px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 14px rgba(15, 37, 55, 0.06) !important;
}

.lexora-toast-banner.toast-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 5px solid #dc2626 !important;
    color: #991b1b !important;
}

.lexora-toast-banner.toast-success {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-left: 5px solid #10b981 !important;
    color: #065f46 !important;
}

.lexora-toast-content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 11px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.lexora-toast-icon {
    font-size: 16px !important;
    line-height: 1.4 !important;
    flex-shrink: 0 !important;
}

.lexora-toast-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    word-break: break-word !important;
}

.lexora-toast-text strong {
    display: block !important;
    font-size: 13.5px !important;
    margin-bottom: 2px !important;
}

.lexora-toast-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

.lexora-toast-cta {
    background: #E86A17 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.lexora-toast-cta:hover {
    background: #cf590c !important;
}

.lexora-toast-close {
    background: rgba(15, 37, 55, 0.08) !important;
    border: none !important;
    color: inherit !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.lexora-toast-close:hover {
    background: rgba(15, 37, 55, 0.18) !important;
}

@media (max-width: 720px) {
    .lexora-stage-header {
        padding: 14px 16px !important;
        flex-wrap: wrap !important;
    }
    .lexora-stage-actions {
        margin-left: auto !important;
    }
    .lexora-notif-popover {
        position: fixed !important;
        top: 66px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
    }
    .lexora-toast-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .lexora-toast-actions {
        justify-content: flex-end !important;
    }
}

/* ==========================================================================
   v15.0: COLORFUL BELL (RED ALERT / YELLOW READ) ABOVE BAR VERIFIED,
   MADE WITH LOVE BY LEXORAPATH FOOTER, & PROFILE PASSWORD / DELETE CARDS
   ========================================================================== */
.lexora-stage-actions-row {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    position: relative !important;
}
.lexora-stage-actions-col {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    position: relative !important;
}

/* Red Alert State (Unread Notifications > 0) */
.lexora-notif-icon-btn.state-alert-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    border: 1.5px solid #ef4444 !important;
    color: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.22) !important;
}
.lexora-notif-icon-btn.state-alert-red:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%) !important;
    color: #b91c1c !important;
}

/* Yellow State (After Mark All Read / 0 Unread Alerts) */
.lexora-notif-icon-btn.state-read-yellow {
    background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%) !important;
    border: 1.5px solid #eab308 !important;
    color: #b45309 !important;
    box-shadow: 0 3px 10px rgba(234, 179, 8, 0.22) !important;
}
.lexora-notif-icon-btn.state-read-yellow:hover {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%) !important;
    color: #92400e !important;
}

/* Footer Branding: Made with ❤️by LexoraPath */
.lexora-sidebar-made-with {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    color: #cbd5e1;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

.lexora-workspace-footer {
    margin-top: 28px;
    padding: 14px 18px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #486581;
    border-top: 1px solid #d9e2ec;
}

/* Profile Password Change & Delete Account Cards */
.lexora-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lexora-profile-security-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #1D5B9E;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.lexora-profile-danger-card {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-left: 5px solid #dc2626;
    border-radius: 10px;
    padding: 20px 22px;
}

.lexora-danger-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.lexora-danger-input {
    width: 220px !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    border: 1.5px solid #fca5a5 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #991b1b !important;
}

.lexora-btn-danger-account {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 18px !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.lexora-btn-danger-account:hover {
    background: #b91c1c !important;
}

@media (max-width: 860px) {
    .lexora-row-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lexora-stage-actions-col {
        align-items: flex-end !important;
    }
    .lexora-danger-row {
        flex-direction: column;
        align-items: stretch;
    }
    .lexora-danger-input {
        width: 100% !important;
    }
}

/* v17.0 Support Ticket & Retry Payment Pulse */
.lexora-ticket-form-box { background:#f8fafc; border:1px solid #cbd5e1; border-radius:10px; padding:20px 22px; }
.lexora-file-input { width:100%; padding:10px 12px; background:#ffffff; border:1.5px dashed #94a3b8; border-radius:6px; font-size:13px; color:#0F2537; cursor:pointer; }
.lexora-ticket-list { display:flex; flex-direction:column; gap:16px; }
.lexora-ticket-card { background:#ffffff; border:1px solid #cbd5e1; border-left:5px solid #1D5B9E; border-radius:10px; padding:18px 20px; box-shadow:0 3px 10px rgba(15,37,55,0.04); }
.lexora-ticket-card.has-new-reply { border-left-color:#10b981; background:#f8fffb; }
.lexora-ticket-card-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #e2e8f0; }
.lexora-ticket-no { display:inline-block; background:#0F2537; color:#ffffff; font-size:11px; font-weight:700; padding:3px 9px; border-radius:5px; margin-right:8px; }
.lexora-ticket-subj { font-size:14.5px; color:#0F2537; margin-right:8px; }
.lexora-ticket-body p { margin:0 0 10px 0; font-size:13.5px; color:#1e293b; line-height:1.6; }
.lexora-ticket-attach-row { background:#f1f5f9; padding:8px 12px; border-radius:6px; font-size:12.5px; margin-bottom:8px; }
.lexora-ticket-attach-row a { color:#1D5B9E; font-weight:700; text-decoration:underline; }
.lexora-ticket-meta { display:block; font-size:11.5px; color:#64748b; }
.lexora-ticket-admin-reply { margin-top:12px; background:#eff6ff; border:1px solid #bfdbfe; border-left:4px solid #1D5B9E; border-radius:8px; padding:12px 15px; }
.lexora-reply-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; font-size:12.5px; color:#0F2537; }
.lexora-ticket-admin-reply p { margin:0; font-size:13px; color:#1e293b; line-height:1.55; }
.lexora-ticket-waiting { margin-top:10px; font-size:12px; color:#b45309; background:#fffbeb; padding:8px 12px; border-radius:6px; }
.pill-inprogress { background:#dbeafe; color:#1d4ed8; }
