.pfcs-floating-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    padding: 8px 12px;
}
body.admin-bar .pfcs-floating-bar {
    bottom: 32px;
}
.pfcs-floating-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pfcs-floating-title {
    font-weight: 600;
    margin-right: 8px;
}
.pfcs-btn {
    border-radius: 999px;
    padding: 8px 20px;
    border: 2px solid #e02020;
    background: #e02020;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
}
.pfcs-btn:hover {
    background: #c91818;
    border-color: #c91818;
}
.pfcs-btn.pfcs-btn-message {
    background: #ffffff;
    color: #e02020;
}
.pfcs-btn.pfcs-btn-message:hover {
    background: #ffe6e6;
}

/* Modal léger */
.pfcs-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;
}
.pfcs-modal.pfcs-open {
    display: block;
}
.pfcs-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.pfcs-modal-dialog {
    position: relative;
    max-width: 360px;
    margin: 80px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.pfcs-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    font-size: 16px;
}
.pfcs-modal-body {
    padding: 20px;
}
.pfcs-modal-footer {
    padding: 12px 20px 16px;
    text-align: right;
    border-top: 1px solid #f0f0f0;
}
.pfcs-phone-display {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    word-break: break-all;
}
.pfcs-btn-close {
    background: #ffffff;
    color: #333;
    border-color: #ddd;
}
.pfcs-btn-close:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Dashboard vendeur */
.pfcs-dashboard-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.pfcs-plan-info {
    margin: 0 0 10px;
    font-size: 14px;
}
.pfcs-dashboard-notice {
    background: #fff8e5;
    border-left: 4px solid #f0c040;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
}
.pfcs-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}
.pfcs-kpi-box {
    flex: 1 1 120px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fafafa;
    text-align: center;
}
.pfcs-kpi-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}
.pfcs-kpi-value {
    font-size: 20px;
    font-weight: 700;
    color: #e02020;
}
.pfcs-actions-row {
    margin: 10px 0 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pfcs-btn-export {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}
.pfcs-btn-export:hover {
    background: #005c86;
    border-color: #005c86;
}
.pfcs-table-wrapper {
    overflow-x: auto;
}
.pfcs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pfcs-table th,
.pfcs-table td {
    border: 1px solid #eee;
    padding: 6px 8px;
}
.pfcs-table th {
    background: #fafafa;
    text-align: left;
}

@media (max-width: 768px) {
    .pfcs-floating-inner {
        flex-direction: column;
    }
    .pfcs-floating-title {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }
}


/* --- Proxity.tn UI/UX enhancements for dashboard --- */
.pfcs-dashboard-wrapper {
    margin-top: 24px;
    margin-bottom: 40px;
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #f3f3f3;
}
.pfcs-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #222;
}
.pfcs-plan-free-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}
.pfcs-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pfcs-badge-premium {
    background: #e53935;
    color: #fff;
}
.pfcs-dashboard-notice.pfcs-dashboard-notice-free {
    background: #fff8e5;
    border-left: 4px solid #ff9800;
    padding: 14px 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}
.pfcs-free-contact-form {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    grid-column-gap: 16px;
    grid-row-gap: 10px;
}
.pfcs-free-form-row label {
    font-size: 13px;
    font-weight: 500;
}
.pfcs-free-contact-form input,
.pfcs-free-contact-form textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 13px;
}
.pfcs-free-contact-form textarea {
    min-height: 80px;
    resize: vertical;
}
.pfcs-free-form-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
}
.pfcs-btn.pfcs-btn-primary {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
    border-radius: 24px;
    padding: 8px 18px;
    font-weight: 600;
}
.pfcs-btn.pfcs-btn-primary:hover {
    background: #c62828;
    border-color: #c62828;
}
.pfcs-kpi-row {
    margin-top: 20px;
}
.pfcs-kpi-box {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px 16px;
}
.pfcs-table-wrapper {
    margin-top: 22px;
}
.pfcs-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}
.pfcs-table-toolbar-left label {
    margin-right: 6px;
    font-size: 13px;
}
.pfcs-per-page-select {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
}
.pfcs-table-count {
    font-size: 13px;
    color: #666;
}
.pfcs-pagination {
    margin-top: 14px;
}
.pfcs-pagination .page-numbers {
    display: inline-block;
    padding: 4px 9px;
    margin: 0 2px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
}
.pfcs-pagination .page-numbers.current {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}
.pfcs-pagination .page-numbers:hover {
    border-color: #e0e0e0;
}
@media (max-width: 768px) {
    .pfcs-dashboard-wrapper {
        padding: 18px 14px;
    }
    .pfcs-table-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
