.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  margin-top: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.crm-table th, .crm-table td {
  padding: 10px;
  border: 1px solid #e3e3e3;
  text-align: left;
}

.crm-table th {
  background: #f4f6f9;
  font-weight: 600;
}

.crm-status-badge {
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
}

.crm-message, .crm-error {
  padding: 12px;
  border-radius: 4px;
  background: #fefefe;
  border-left: 4px solid #ccc;
  margin-top: 15px;
}

.crm-error {
  border-color: #dc3545;
  background: #fff5f5;
  color: #721c24;
}

.solar-crm-wrapper {
    display: flex;
    gap: 30px;
}

.solar-crm-left,
.solar-crm-right {
    flex: 1;
}

.solar-crm-box {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


/* === CRM FUTURISTIC UI ENHANCEMENTS === */
.crm-scroll-container {
    overflow-x: auto;
    padding: 15px;
    width: 100%;
}

.block-container {
    border: 1px solid #EEC170;
    border-radius: 8px;
    margin-bottom: 25px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(88, 81, 35, 0.1);
}

.title-bar {
    background-color: #585123;
    color: #F2A65A;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.collapse-toggle {
    background: none;
    border: none;
    color: #F2A65A;
    font-size: 18px;
    cursor: pointer;
}

.block-content {
    padding: 15px;
}

input, select, textarea {
    border: 1px solid #EEC170;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    background-color: #FFF8E1;
    color: #333;
    margin-bottom: 12px;
    width: 100%;
}

@media (max-width: 768px) {
    .block-container {
        margin-left: 10px;
        margin-right: 10px;
    }
    .title-bar {
        font-size: 16px;
        flex-direction: row;
    }
    .collapse-toggle {
        font-size: 16px;
    }
}
