
    .crm-manager-panel,
    .crm-admin-panel {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
        padding: 20px;
        background: #f5f5f5;
        min-height: 100vh;
    }
    .crm-header {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .crm-header h2 {
        margin: 0 0 10px 0;
        color: #333;
    }
    .crm-user-info {
        color: #666;
        font-size: 14px;
    }
    .crm-tabs {
        display: flex;
        background: #fff;
        border-radius: 5px 5px 0 0;
        overflow: hidden;
        margin-bottom: 0;
    }
    .crm-tab-button {
        padding: 15px 25px;
        background: none;
        border: none;
        border-bottom: 3px solid transparent;
        font-size: 16px;
        cursor: pointer;
        color: #666;
        transition: all 0.3s;
    }
    .crm-tab-button:hover {
        background: #f9f9f9;
        color: #333;
    }
    .crm-tab-button.active {
        border-bottom-color: #2271b1;
        color: #2271b1;
        font-weight: bold;
        background: #f8f9fa;
    }
    .crm-tab-content {
        display: none;
        background: #fff;
        padding: 25px;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .crm-tab-content.active {
        display: block;
    }
    .crm-controls {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .crm-controls input[type="text"],
    .crm-controls select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        min-width: 200px;
    }
    .crm-controls button {
        padding: 8px 16px;
    }
    .crm-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 14px;
    }
    .crm-table th {
        background: #f8f9fa;
        padding: 12px 15px;
        text-align: left;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
    }
    .crm-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #dee2e6;
        vertical-align: middle;
		color:black;
    }
    .crm-table tr:hover {
        background-color: #f8f9fa;
    }
    .crm-table .actions {
        white-space: nowrap;
    }
    .crm-table .actions button {
        margin-right: 5px;
        padding: 4px 8px;
        font-size: 12px;
    }
    .crm-form {
        max-width: 800px;
    }
    .crm-form-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }
    .crm-form-col {
        flex: 1;
    }
    .crm-form-col.full-width {
        flex: 100%;
    }
    .crm-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
        color: #495057;
    }
    .crm-form input[type="text"],
    .crm-form input[type="tel"],
    .crm-form input[type="email"],
    .crm-form select,
    .crm-form textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.15s;
    }
    .crm-form input:focus,
    .crm-form select:focus,
    .crm-form textarea:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    }
    .crm-form-actions {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        text-align: right;
    }
    .crm-modal {
        display: none;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        animation: fadeIn 0.3s;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .crm-modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 30px;
        border-radius: 8px;
        width: 90%;
        max-width: 700px;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        animation: slideIn 0.3s;
    }
    @keyframes slideIn {
        from { transform: translateY(-50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    .crm-modal-close {
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #aaa;
        line-height: 1;
        margin-top: -10px;
    }
    .crm-modal-close:hover {
        color: #333;
    }
    .crm-modal-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .loading {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .error-message {
        color: #dc3545;
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        padding: 10px;
        border-radius: 4px;
        margin: 10px 0;
    }
    .success-message {
        color: #155724;
        background: #d4edda;
        border: 1px solid #c3e6cb;
        padding: 10px;
        border-radius: 4px;
        margin: 10px 0;
    }
    .warning-message {
        color: #856404;
        background: #fff3cd;
        border: 1px solid #ffeaa7;
        padding: 10px;
        border-radius: 4px;
        margin: 10px 0;
    }
    .pagination {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 20px;
    }
    .pagination button {
        padding: 6px 12px;
        border: 1px solid #dee2e6;
        background: #fff;
        cursor: pointer;
        border-radius: 4px;
    }
    .pagination button:hover:not(.active) {
        background: #e9ecef;
    }
    .pagination button.active {
        background: #007bff;
        color: #fff;
        border-color: #007bff;
    }
    .button {
        display: inline-block;
        padding: 8px 16px;
        background: #6c757d;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        text-decoration: none;
        transition: background 0.3s;
    }
    .button:hover {
        background: #5a6268;
        color: #fff;
    }
    .button-primary {
        background: #007bff;
    }
    .button-primary:hover {
        background: #0069d9;
    }
    .button-small {
        padding: 4px 8px;
        font-size: 12px;
    }
    .button-delete {
        background: #dc3545;
    }
    .button-delete:hover {
        background: #c82333;
    }
    .admin-tabs {
        display: flex;
        border-bottom: 2px solid #dee2e6;
        margin-bottom: 20px;
    }
    .admin-tab-button {
        padding: 12px 24px;
        background: none;
        border: none;
        border-bottom: 3px solid transparent;
        font-size: 16px;
        cursor: pointer;
        color: #495057;
    }
    .admin-tab-button:hover {
        color: #007bff;
    }
    .admin-tab-button.active {
        border-bottom-color: #007bff;
        color: #007bff;
        font-weight: bold;
    }
    .admin-tab-content {
        display: none;
    }
    .admin-tab-content.active {
        display: block;
    }
    .crm-admin-filters {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .filter-group {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .report-controls {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 20px;
        display: flex;
        gap: 10px;
    }
    .daily-report-item {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 15px;
        border-left: 4px solid #007bff;
    }
    .daily-report-item h4 {
        margin: 0 0 10px 0;
        color: #007bff;
    }
    .daily-report-stats {
        display: flex;
        gap: 20px;
        margin-top: 10px;
    }
    .daily-report-stat {
        padding: 10px;
        background: #f8f9fa;
        border-radius: 4px;
        flex: 1;
    }
    .daily-report-stat span {
        font-weight: bold;
        color: #495057;
    }
    .crm-admin-stats {
        display: flex;
        gap: 20px;
        margin: 20px 0;
    }
    .crm-stat-box {
        background: #fff;
        border: 1px solid #ccd0d4;
        border-radius: 4px;
        padding: 20px;
        text-align: center;
        flex: 1;
    }
    .crm-stat-box h3 {
        margin: 0 0 10px 0;
        font-size: 14px;
        color: #666;
    }
    .crm-stat-box span {
        font-size: 32px;
        font-weight: bold;
        color: #2271b1;
    }
    .crm-admin-controls {
        margin: 20px 0;
        display: flex;
        gap: 10px;
    }
    