.chat-admin-dashboard {
  padding: 20px;

  h1 {
    color: #23282d;
    font-size: 23px;
    font-weight: 400;
    margin: 0 0 20px;
    padding: 9px 0 4px;
  }

  .dashboard-container {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
  }

  .conversations-grid {
    flex: 1;
    min-height: 500px;
  }

  .chat-preview {
    width: 400px;
    border-left: 1px solid #e5e5e5;
    padding-left: 20px;

    .chat-preview-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;

      h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 400;
      }

      .close-preview {
        background: none;
        border: none;
        color: #72777c;
        cursor: pointer;
        font-size: 24px;
        padding: 0;

        &:hover {
          color: #23282d;
        }
      }
    }
  }

  .view-chat-button {
    background: #2271b1;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 13px;

    &:hover {
      background: #135e96;
    }
  }
}

// DataGrid customizations
.MuiDataGrid-root {
  border: none !important;

  .MuiDataGrid-columnHeaders {
    background-color: #f8f9fa;
  }

  .MuiDataGrid-row {
    &:hover {
      background-color: #f8f9fa;
    }
  }
}