.rbc-agenda-view table.rbc-agenda-table thead > tr > th {
  text-align: right;
}

.rbc-agenda-view table.rbc-agenda-table tbody > tr > td + td {
  border-left: none;
  border-right: 1px solid #ddd;
}

.rbc-header + .rbc-header {
  border-left: none;
  border-right: 1px solid #ddd;
}

.rbc-btn-group > button:last-child:not(:first-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.rbc-btn-group > button:first-child:not(:last-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.rbc-btn-group button + button {
  margin-left: 0;
}

.rbc-toolbar .rbc-toolbar-label {
  font-weight: bold;
  @apply py-2;
}

.rbc-event-content {
  text-align: right;
}

.rbc-toolbar .rbc-btn-group {
  display: flex;
}

.rbc-toolbar .rbc-btn-group:first-child  button:nth-child(1) {
  order: 2;
}

.rbc-toolbar .rbc-btn-group:first-child  button:nth-child(2) {
  order: 1;
}

.rbc-toolbar .rbc-btn-group:first-child  button:nth-child(3) {
  order: 3;
}


.rbc-toolbar .rbc-btn-group:last-child button:nth-child(3) {
order: 2;
}
.rbc-toolbar .rbc-btn-group:last-child button:nth-child(4) {
order: 4;
}
.rbc-toolbar .rbc-btn-group:last-child button:nth-child(2) {
order: 3;
}

.rbc-day-slot .rbc-event {
  border-color: theme("colors.green.900");
}
.rbc-event {
  background-color: theme("colors.green.700");
}

.rbc-toolbar-label {
  font-size: 1.3rem;
}

@media (max-width: 670px) {
  .rbc-toolbar {
    flex-direction: column-reverse;
  }
}
