:root {
  --st-purple: #b560ec;
  --st-orange: #ff875a;
  --st-gray: #f2e7f2;
  --st-black: #190e25;
  --st-purple-dark: #5f3a8f;
  --st-radius: 15px;

  --st-sidebar: 300px;
}

/* --- Shell --- */
.v-application {
  background: var(--st-purple-dark) !important;
  font-family: sans-serif !important;
}

nav#AppBar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1005;
  width: var(--st-sidebar);
  padding: 16px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
  background: var(--st-purple-dark);
  color: var(--st-gray);
  background-image: none !important;
}

nav#AppBar,
nav#AppBar .v-theme--dark {
  --v-theme-surface: 95, 58, 143;
  --v-theme-on-surface: 242, 231, 242;
  --v-theme-background: 95, 58, 143;
  --v-theme-on-background: 242, 231, 242;
}

/* --- Sidebar contents --- */

nav#AppBar #title {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--st-gray) !important;
  text-decoration: none;
}

nav#AppBar #navsearch {
  max-width: none !important;
  margin: 0 !important;
}

nav#AppBar .v-field {
  border-radius: var(--st-radius);
  color: var(--st-gray);
}

nav#AppBar .v-input {
  background: transparent !important;
}

nav#AppBar .v-field__overlay {
  background: rgba(242, 231, 242, .10) !important;
}

nav#AppBar .v-field__input,
nav#AppBar .v-field__prepend-inner .v-icon {
  color: var(--st-gray) !important;
}

nav#AppBar .v-field__input::placeholder {
  color: rgba(242, 231, 242, .6);
  opacity: 1;
}

#navbar {
  flex-direction: column;
  align-items: stretch;
}

#navbar .v-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--st-radius);
  color: var(--st-gray) !important;
  transition: background-color .4s, color .4s;
}

#navbar .v-btn:hover,
#navbar .v-btn.v-btn--active {
  background: var(--st-orange);
  color: var(--st-black) !important;
}

/* --- Calendar --- */

.vc-container {
  --vc-bg: transparent;
  --vc-border: transparent;
  --vc-font-family: inherit;
  --vc-focus-ring: 0 0 0 2px var(--st-orange);
  background: transparent !important;
  border: 0 !important;
  justify-content: center;
}

.vc-weeks {
  gap: 4px;
}

.vc-day {
  border-radius: 8px;
  padding-bottom: 5px;
}

.vc-day-content {
  border-radius: 8px !important;
}

.vc-day.is-today {
  box-shadow: inset 0 0 0 2px var(--st-orange);
}

.vc-day .vc-highlight,
.vc-day .vc-highlight-bg {
  background: transparent !important;
  border-color: transparent !important;
}

.vc-day.is-not-in-month {
  opacity: .35;
}

nav#AppBar .vc-container {
  --vc-color: var(--st-gray);
  --vc-content-color: var(--st-gray);
  --vc-day-content-hover-bg: rgba(242, 231, 242, .18);
  --vc-day-content-disabled-color: rgba(242, 231, 242, .45);
}

nav#AppBar .vc-title,
nav#AppBar .vc-arrow,
nav#AppBar .vc-day-content {
  color: var(--st-gray) !important;
}

nav#AppBar .vc-weekday {
  color: rgba(242, 231, 242, .65) !important;
}

nav#AppBar .vc-day:has(.vc-dot) {
  background: var(--st-gray);
}

nav#AppBar .vc-day:has(.vc-dot) .vc-day-content {
  color: var(--st-purple-dark) !important;
  font-weight: 700;
}

nav#AppBar .vc-day:has(.vc-dot) .vc-day-content:hover {
  background: rgba(95, 58, 143, .14) !important;
}

nav#AppBar .vc-dot {
  background: var(--st-purple-dark) !important;
}

.v-main > .v-container .vc-container {
  --vc-color: var(--st-purple-dark);
  --vc-content-color: var(--st-purple-dark);
  --vc-day-content-hover-bg: rgba(95, 58, 143, .14);
  --vc-day-content-disabled-color: rgba(95, 58, 143, .4);
}

.v-main > .v-container .vc-title,
.v-main > .v-container .vc-arrow,
.v-main > .v-container .vc-day-content {
  color: var(--st-purple-dark) !important;
}

.v-main > .v-container .vc-weekday {
  color: rgba(95, 58, 143, .7) !important;
}

.v-main > .v-container .vc-day:has(.vc-dot) {
  background: var(--st-purple-dark);
}

.v-main > .v-container .vc-day:has(.vc-dot) .vc-day-content {
  color: var(--st-gray) !important;
  font-weight: 700;
}

.v-main > .v-container .vc-day:has(.vc-dot) .vc-day-content:hover {
  background: rgba(242, 231, 242, .2) !important;
}

.v-main > .v-container .vc-dot {
  background: var(--st-gray) !important;
}

/* --- Content panel --- */

.v-main > .v-container {
  max-width: none !important;
  /* .v-container forces width: 100%, which the margin would push into an
     overflow rather than shrink. */
  width: auto !important;
  margin: 0 0 0 var(--st-sidebar) !important;
  padding: 24px !important;
  min-height: calc(100vh - 56px);
  background: var(--st-gray);
  border-end-start-radius: var(--st-radius);
  color: var(--st-purple-dark);
}

.v-main > .v-container,
.v-main > .v-container .v-theme--dark {
  --v-theme-surface: 242, 231, 242;
  --v-theme-on-surface: 95, 58, 143;
  --v-theme-background: 242, 231, 242;
  --v-theme-on-background: 95, 58, 143;
}

/* --- Event page --- */

.v-main > .v-container .p-name {
  color: var(--st-purple-dark) !important;
}

.v-main > .v-container .v-card {
  border: 1px solid rgba(95, 58, 143, .28) !important;
  border-radius: var(--st-radius) !important;
  overflow: hidden !important;
}

/* --- Add and edit form --- */

.v-editor__content,
.v-editor__content .ProseMirror {
  background: #fff !important;
  color: var(--st-purple-dark) !important;
}

.v-editor__content {
  border: 1px solid rgba(95, 58, 143, .28) !important;
  border-radius: var(--st-radius) !important;
  overflow: hidden !important;
}

.v-editor .editor-menu-bar .v-btn {
  color: var(--st-purple-dark) !important;
}

/* --- Event cards --- */

.v-lazy.event {
  background: transparent !important;
  border: 0 !important;
}

article.event-card {
  background: transparent !important;
  color: var(--st-purple-dark) !important;
  border: 1px solid rgba(95, 58, 143, .28) !important;
  border-radius: var(--st-radius) !important;
  overflow: hidden !important;
  transition: border-color .4s, background-color .4s;
}

article.event-card:hover {
  background: rgba(255, 255, 255, .45) !important;
  border-color: var(--st-purple-dark) !important;
}

article.event-card .event-title,
article.event-card .dt-start,
article.event-card .place {
  color: var(--st-purple-dark) !important;
}

.v-main > .v-container .v-chip {
  border-color: var(--st-purple-dark) !important;
  color: var(--st-purple-dark) !important;
  border-radius: var(--st-radius) !important;
}

/* --- Footer --- */

#footer.v-footer {
  margin-left: var(--st-sidebar);
  background: var(--st-purple-dark) !important;
  color: var(--st-gray) !important;
  border-width: 1px 0 0 0 !important;
  border-color: rgba(242, 231, 242, .2) !important;
  box-shadow: none !important;
}

#footer.v-footer .v-btn {
  color: var(--st-gray) !important;
  border-radius: var(--st-radius);
}

/* --- Narrow screens --- */

@media (max-width: 960px) {
  nav#AppBar {
    position: static;
    width: auto;
    padding: 12px;
  }

  #navbar {
    flex-direction: row;
    justify-content: center;
  }

  #navbar .v-btn {
    width: auto;
  }

  nav#AppBar #navsearch {
    max-width: 700px !important;
    margin: 0 auto !important;
  }

  .v-main > .v-container {
    margin-left: 0 !important;
    border-end-start-radius: 0;
    border-start-start-radius: var(--st-radius);
    border-start-end-radius: var(--st-radius);
  }

  #footer.v-footer {
    margin-left: 0;
  }
}

/** no custom.css file **/