/**
 * SiteStaffr Global Styles
 *
 * Shared styles loaded on ALL admin pages
 * Includes: buttons, forms, icons, notifications, utilities
 *
 * @package    SiteStaffr
 * @subpackage SiteStaffr/assets/css
 * @since      0.5.0
 */

/* ==========================================================================
   UNIFIED BUTTON STYLES - Consistent across all pages
   ========================================================================== */

/* Base button structure */
.button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.button .dashicons {
    vertical-align: middle;
}

/* Primary action buttons - blue background */
.button.button-primary,
.pe-chat-send,
.pe-upload-btn {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.button.button-primary:hover,
.pe-chat-send:hover,
.pe-upload-btn:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

/* Secondary action buttons - white background, blue border */
.button.button-secondary,
.pe-refresh-btn,
.pe-settings-link .button,
.pe-settings-btn {
    background: #fff;
    color: #2271b1;
    border-color: #2271b1;
}

.button.button-secondary:hover,
.pe-refresh-btn:hover,
.pe-settings-link .button:hover,
.pe-settings-btn:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* Add buttons (+ Add Service, + Add FAQ) */
.pe-add-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #2271b1;
    background: transparent;
    border: 1px solid #2271b1;
    padding: 4px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.pe-add-button:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.pe-add-button:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.pe-add-button::before {
    content: "+ ";
    font-weight: bold;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.form-table th {
    font-weight: 600;
}

.form-table input[type="text"],
.form-table input[type="password"],
.form-table input[type="tel"] {
    width: 100%;
    max-width: 500px;
}

/* ==========================================================================
   STATUS BADGES & NOTIFICATIONS
   ========================================================================== */

/* Status badges - clean label style with bullet icons */
.sitestaffr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    border: none;
}

/* Color-coded bullet icons using ::before - Logical Color System */

/* Active/Connected - GREEN (positive working state, matches mascot checkmark) */
.sitestaffr-status-active::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981; /* Green */
    flex-shrink: 0;
}

.sitestaffr-status-active {
    color: #10b981;
}

/* Inactive/Disconnected - RED (error/problem state) */
.sitestaffr-status-inactive::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444; /* Red */
    flex-shrink: 0;
}

.sitestaffr-status-inactive {
    color: #ef4444;
}

/* New - warm green pill badge (branded unread indicator) */
.sitestaffr-status-new,
.sitestaffr-badge-new {
    display: inline-block;
    padding: 2px 10px;
    background: #ecfdf5;
    color: #059669;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 999px;
}

/* Onboarding lead - teal pill badge */
.sitestaffr-persona-badge--onboarding {
    display: inline-flex;
    width: fit-content;
    padding: 2px 10px;
    background: #E0F7FA;
    color: #00838F;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 4px;
}

/* Read - GRAY (neutral read state) */
/* Removed ::before bullet point for cleaner appearance in Status column */
.sitestaffr-status-read {
    color: #646970;
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Test - PURPLE (distinct test indicator) */
/* Removed ::before bullet point for cleaner appearance in Status column */
.sitestaffr-status-test,
.sitestaffr-badge-test {
    color: #9c27b0;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Filtered/Spam - GRAY (neutral filtered state) */
/* Removed ::before bullet point for cleaner appearance in Status column */
.sitestaffr-status-filtered {
    color: #646970;
    background: transparent;
    border: none;
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Larger version for call details page */
.sitestaffr-status-filtered[style*="font-size: 14px"] {
    padding: 4px 8px;
    font-size: 14px !important;
}

/* Status messages */
.sitestaffr-action-status {
    padding: 0 16px 16px;
    text-align: center;
}

.sitestaffr-status-info,
.sitestaffr-status-success,
.sitestaffr-status-error {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.sitestaffr-status-info {
    background: #e3f2fd;
    color: #1565c0;
}

.sitestaffr-status-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.sitestaffr-status-error {
    background: #ffebee;
    color: #c62828;
}

/* Notification badge in menu */
.awaiting-mod {
    background-color: #d63638;
    color: #fff;
    border-radius: 10px;
    padding: 0 5px;
    font-size: 9px;
    line-height: 17px;
    font-weight: 600;
    margin-left: 5px;
}

/* ==========================================================================
   ICON UTILITIES
   ========================================================================== */

.dashicons {
    vertical-align: middle;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   EMPTY STATES
   ========================================================================== */

.sitestaffr-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #646970;
}

.sitestaffr-empty-state .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #dcdcde;
    margin-bottom: 12px;
}

.sitestaffr-empty-state p {
    margin: 0 0 8px;
    font-size: 14px;
}

.sitestaffr-empty-hint {
    font-size: 13px;
    color: #888;
}

/* ==========================================================================
   SESSION ID LINK — teal monospace chip (used on Usage + Dashboard)
   ========================================================================== */

.sitestaffr-call-sid-link {
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 10px;
    color: #00838F;
    background: #e0f2f1;
    border: 1px solid #b2dfdb;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.sitestaffr-call-sid-link:hover {
    background: #b2dfdb;
    color: #004D40;
    border-color: #80cbc4;
}

/* ==========================================================================
   COMMON UTILITIES
   ========================================================================== */

/* View all link */
.sitestaffr-view-all {
    font-size: 13px;
    text-decoration: none;
    color: #2271b1;
}

.sitestaffr-view-all:hover {
    color: #135e96;
}

/* Widget base */
.sitestaffr-widget {
    background: #fff;
    border: 1px solid #e8e2d8;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sitestaffr-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 18px;
    border-bottom: 1px solid #f0ebe0;
    background: #FAF8F4;
}

.sitestaffr-widget-header h2,
.sitestaffr-widget-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sitestaffr-widget-header h2 .dashicons,
.sitestaffr-widget-header h3 .dashicons {
    color: #00838f;
}

.sitestaffr-widget-header .sitestaffr-view-all,
.sitestaffr-widget-header .sitestaffr-view-all-link {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ==========================================================================
   TOOLTIP SYSTEM - Used across all admin pages
   ========================================================================== */

/* Tooltip trigger icon */
.sitestaffr-tooltip-trigger {
    display: inline-block;
    margin-left: 6px;
    color: #999;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    line-height: 1;
}

.sitestaffr-tooltip-trigger:hover,
.sitestaffr-tooltip-trigger:focus {
    color: #555;
    outline: none;
}

.sitestaffr-tooltip-trigger .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

/* Tooltip bubble */
.sitestaffr-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 250px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sitestaffr-tooltip.show {
    opacity: 1;
}

/* Tooltip arrow */
.sitestaffr-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Arrow pointing down (tooltip above) */
.sitestaffr-tooltip.position-top::before {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* Arrow pointing up (tooltip below) */
.sitestaffr-tooltip.position-bottom::before {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
}

/* Mobile responsiveness for tooltips */
@media screen and (max-width: 782px) {
    .sitestaffr-tooltip {
        max-width: 200px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .sitestaffr-tooltip-trigger .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   GLOBAL HEADER PARTIAL - Shared across all admin pages
   ========================================================================== */

/* Normalize all SiteStaffr .wrap containers — override WP default
   asymmetric margins (10px 20px 0 2px) so every page starts identically. */
.wrap.sitestaffr-dashboard,
.wrap.sitestaffr-calls-list-page,
.wrap.sitestaffr-call-detail,
.wrap.sitestaffr-usage-dashboard,
.wrap.sitestaffr-settings,
.wrap.sitestaffr-widget-settings-wrap,
.wrap.sitestaffr-diagnostics,
.wrap.sitestaffr-setup-wizard {
    max-width: 1200px;
    margin: 10px auto 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Warm cream page background — scoped to SiteStaffr pages only.
   Uses attribute selector to match any body class containing "sitestaffr",
   covering toplevel_page_sitestaffr and all sitestaffr_page_* subpages. */
body[class*="sitestaffr"] #wpcontent,
body[class*="sitestaffr"] #wpbody,
body[class*="sitestaffr"] #wpbody-content,
body[class*="sitestaffr"] #wpfooter {
    background: #FDFBF7 !important;
    box-sizing: border-box;
}

/* Match WP's padding-left: 20px on #wpcontent with equal right padding */
body[class*="sitestaffr"] #wpcontent {
    padding-right: 20px;
}

body[class*="sitestaffr"] #wpbody-content {
    min-height: 100vh;
}

@media screen and (max-width: 1240px) {
    .wrap.sitestaffr-dashboard,
    .wrap.sitestaffr-calls-list-page,
    .wrap.sitestaffr-call-detail,
    .wrap.sitestaffr-usage-dashboard,
    .wrap.sitestaffr-settings,
    .wrap.sitestaffr-widget-settings-wrap,
    .wrap.sitestaffr-diagnostics {
        max-width: none;
        padding: 0 20px;
    }
}

/* Outer header bar — true 3-column layout */
.sitestaffr-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 12px 0 8px 0;
}

/* Left: logo */
.sitestaffr-header-logo {
    grid-column: 1;
    justify-self: start;
}

/* Logo link — remove browser focus outline */
.sitestaffr-header-logo a {
    outline: none;
    box-shadow: none;
}

/* Logo image */
.sitestaffr-logo-image {
    height: 80px;
    width: auto;
    display: block;
    padding-left: 1rem;
}

/* Two-tone brand text (fallback when image unavailable) */
.sitestaffr-logo-placeholder {
    font-size: 24px;
    font-weight: 600;
    color: #1FB6CC;
}

.sitestaffr-brand-phone {
    color: #00838F;
}

.sitestaffr-brand-ease {
    color: #10b981;
}

/* Center: page title — solid brand text for cleaner scanning UX */
.sitestaffr-header-page-title {
    grid-column: 2;
    justify-self: center;
    max-width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    line-height: 1.4;
    text-transform: uppercase;
    color: #00838F;
}

@media screen and (max-width: 1100px) {
    .sitestaffr-page-header {
        min-height: 54px;
    }

    .sitestaffr-logo-image {
        height: 64px;
    }

    .sitestaffr-header-page-title {
        font-size: 24px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 12px;
    }
}

/* Right: status badge */
.sitestaffr-header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 1rem;
}

/* Header status badge - base shared style */
.sitestaffr-header-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
}

.sitestaffr-header-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Active (paid subscription) */
.sitestaffr-header-status.status-active {
    color: #10b981;
}

.sitestaffr-header-status.status-active::before {
    background-color: #10b981;
}

/* Trial active */
.sitestaffr-header-status.status-trial {
    color: #2271b1;
}

.sitestaffr-header-status.status-trial::before {
    background-color: #2271b1;
}

/* Past due / unpaid - warning amber */
.sitestaffr-header-status.status-warning {
    color: #b45309;
}

.sitestaffr-header-status.status-warning::before {
    background-color: #f59e0b;
}

/* Canceled / expired - gray */
.sitestaffr-header-status.status-canceled {
    color: #646970;
}

.sitestaffr-header-status.status-canceled::before {
    background-color: #9ca3af;
}

/* Mobile responsive */
@media screen and (max-width: 782px) {
    .wrap.sitestaffr-dashboard,
    .wrap.sitestaffr-calls-list-page,
    .wrap.sitestaffr-call-detail,
    .wrap.sitestaffr-usage-dashboard,
    .wrap.sitestaffr-settings,
    .wrap.sitestaffr-widget-settings-wrap,
    .wrap.sitestaffr-diagnostics {
        padding: 0;
    }

    body[class*="sitestaffr"] #wpcontent {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .sitestaffr-page-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 0 6px 0;
        min-height: auto;
    }

    .sitestaffr-header-logo {
        justify-self: center;
    }

    .sitestaffr-logo-image {
        height: 46px;
        padding-left: 0;
    }

    .sitestaffr-header-page-title {
        font-size: 16px;
        padding: 0;
        white-space: nowrap;
        text-align: center;
    }

    .sitestaffr-header-actions {
        padding-right: 0;
    }

    .sitestaffr-widget-header {
        height: auto;
        min-height: 50px;
        padding: 10px 18px;
        flex-wrap: wrap;
    }

    /* Global mobile checkbox size — 23x23 on all SiteStaffr pages */
    body[class*="sitestaffr"] input[type="checkbox"] {
        width: 23px !important;
        height: 23px !important;
        min-width: 23px;
    }
}

body[class*="sitestaffr"] .wrap .widefat,
body[class*="sitestaffr"] .wrap .wp-list-table {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    body[class*="sitestaffr"] .wrap table.widefat:not(.wp-list-table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   MINUTE BALANCE WIDGET - OLD (Deprecated - moved to sitestaffr-settings.css)
   Note: Old standalone widget styles removed. Widget now combined with phone
   number banner using light teal branding (Option B). See sitestaffr-settings.css
   for .sitestaffr-combined-phone-minutes styles.
   ========================================================================== */

/* ==========================================================================
   Global Low Balance Alert Banner (v0.14.159)
   Rendered via header partial on ALL SiteStaffr admin pages.
   ========================================================================== */

/* Base Alert Styling */
.sitestaffr-alert {
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.sitestaffr-alert-content {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.sitestaffr-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sitestaffr-alert-text {
    flex: 1;
    min-width: 0;
}

.sitestaffr-alert-title {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.sitestaffr-alert-message {
    margin: 0;
    font-size: 13px;
}

/* Global alert — sits between header and page content */
.sitestaffr-alert-global {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Warning Level — Yellow */
.sitestaffr-alert-warning {
    background: rgba(255, 249, 230, 0.6);
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.sitestaffr-alert-warning .sitestaffr-alert-icon {
    color: #ffc107;
}

.sitestaffr-alert-warning .sitestaffr-alert-button {
    background: transparent;
    border: 2px solid #1FB6CC;
    color: #1FB6CC;
    box-shadow: none;
}

.sitestaffr-alert-warning .sitestaffr-alert-button:hover {
    background: #1FB6CC;
    color: #fff;
}

/* Low Level — Orange */
.sitestaffr-alert-low {
    background: rgba(255, 243, 224, 0.6);
    border: 1px solid rgba(255, 152, 0, 0.5);
}

.sitestaffr-alert-low .sitestaffr-alert-icon {
    color: #ff9800;
}

.sitestaffr-alert-low .sitestaffr-alert-button {
    background: #ff9800;
    border: none;
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.sitestaffr-alert-low .sitestaffr-alert-button:hover {
    background: #f57c00;
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.4);
}

/* Critical Level — Red */
.sitestaffr-alert-critical {
    background: rgba(255, 235, 238, 0.5);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

.sitestaffr-alert-critical .sitestaffr-alert-icon {
    color: #f44336;
}

.sitestaffr-alert-critical .sitestaffr-alert-title {
    text-transform: uppercase;
    font-weight: 700;
}

.sitestaffr-alert-critical .sitestaffr-alert-button {
    background: #f44336;
    border: none;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.3);
}

.sitestaffr-alert-critical .sitestaffr-alert-button:hover {
    background: #d32f2f;
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.4);
}

/* Alert Button Base */
.sitestaffr-alert-button {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
}

.sitestaffr-alert-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sitestaffr-alert .sitestaffr-alert-button.sitestaffr-alert-button-secondary {
    background: transparent;
    border: 1px solid #0f766e;
    color: #0f766e;
    box-shadow: none;
    font-weight: 600;
    text-transform: none;
}

.sitestaffr-alert .sitestaffr-alert-button.sitestaffr-alert-button-secondary:hover {
    background: rgba(15, 118, 110, 0.08);
    border-color: #0f766e;
    color: #0f766e;
    box-shadow: none;
}

/* Dismiss button */
.sitestaffr-alert-dismiss {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.sitestaffr-alert-dismiss:hover {
    opacity: 1;
}

.sitestaffr-alert-dismiss .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 1024px) {
    .sitestaffr-alert-content {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .sitestaffr-alert-actions {
        width: 100%;
    }
}

/* Alert checkout form — inline, no extra spacing */
.sitestaffr-alert-checkout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

/* Mobile Responsive - Alert */
@media screen and (max-width: 782px) {
    .sitestaffr-alert-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .sitestaffr-alert-button {
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }

    .sitestaffr-alert-actions {
        width: 100%;
    }

    .sitestaffr-alert-dismiss {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .sitestaffr-alert-global {
        position: relative;
    }
}

/* ==========================================================================
   Dashboard — previously inline styles
   ========================================================================== */

/* Defensive override: remove stale stat-card accent borders if cached CSS persists */
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-calls,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-duration,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-dynamic {
	border-left: none !important;
	border-inline-start: 0 !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-calls::before,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-duration::before,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-dynamic::before,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-calls::after,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-duration::after,
.sitestaffr-dashboard-balance-stats-grid .sitestaffr-stat-card.sitestaffr-stat-dynamic::after {
	content: none !important;
	display: none !important;
}

/* Button reset for .sitestaffr-sidebar-button used on <button> elements */
button.sitestaffr-sidebar-button {
	width: 100%;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	color: #1d2327;
	background: #fff;
	text-align: left;
}

/* =========================================================
   Plan Alert Banner (canceled / trial_expired / unpaid / past_due)
   ========================================================= */
.sitestaffr-plan-alert-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.5;
	position: relative;
}
.sitestaffr-plan-alert-banner.sitestaffr-plan-alert-warning {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
}
.sitestaffr-plan-alert-banner.sitestaffr-plan-alert-danger {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #7f1d1d;
}
.sitestaffr-plan-alert-icon {
	flex-shrink: 0;
	font-size: 20px;
	line-height: 1;
}
.sitestaffr-plan-alert-warning .sitestaffr-plan-alert-icon {
	color: #f59e0b;
}
.sitestaffr-plan-alert-danger .sitestaffr-plan-alert-icon {
	color: #ef4444;
}
.sitestaffr-plan-alert-body {
	flex: 1;
}
.sitestaffr-plan-alert-body strong {
	display: block;
	margin-bottom: 2px;
	font-weight: 600;
}
.sitestaffr-plan-alert-cta {
	display: inline-block;
	margin-top: 6px;
	padding: 5px 14px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease;
}
.sitestaffr-plan-alert-warning .sitestaffr-plan-alert-cta {
	background: #f59e0b;
	color: #fff;
}
.sitestaffr-plan-alert-danger .sitestaffr-plan-alert-cta {
	background: #ef4444;
	color: #fff;
}
.sitestaffr-plan-alert-cta:hover {
	opacity: 0.85;
	color: #fff;
}
.sitestaffr-plan-alert-dismiss {
	flex-shrink: 0;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	opacity: 0.5;
	transition: opacity 0.15s ease;
	background: none;
	border: none;
	padding: 0;
	color: inherit;
}
.sitestaffr-plan-alert-dismiss:hover {
	opacity: 1;
}
