/* USER */
.k-panel[data-role="user"] .k-panel-menu-body menu:last-child,
.k-panel[data-role="user"] .k-panel-menu-button[title="Changes"],
.k-panel[data-role="user"] .k-navigate .k-button[aria-disabled="true"],
.k-panel[data-role="user"] .k-user-profile,
.k-panel[data-role="user"] .k-user-profile .k-button[aria-disabled="true"],
.k-panel[data-role="user"] .k-topbar,
.k-panel[data-role="user"].k-page-view .k-page-view-header .k-button-group .k-settings-view-button,
.k-panel[data-role="user"].k-page-view .k-page-view-header .k-button-group .k-preview-view-button,
.k-panel[data-role="user"].k-page-view .k-page-view-header .k-button-group .k-open-view-button, 
.k-panel[data-role="user"].k-page-view .k-page-view-header .k-button-group .k-form-controls-button:last-child {
  display: none;
}

.k-panel[data-role="user"] .k-user-profile {
  align-items: start;
}

.k-panel[data-role="user"].k-user-view .k-button-group::before {
  content: "Edit your profile";
}

.k-panel[data-role="user"] .k-panel-menu-search,
.k-panel[data-role="user"] .k-panel-menu-buttons:nth-child(1),
.k-panel[data-role="user"] .k-panel-menu-buttons:nth-child(2) a:not(:last-child),
.k-panel[data-role="user"] .k-panel-menu-buttons:nth-child(2) .k-button-icon,
.k-panel[data-role="user"] .k-panel-menu-buttons:nth-child(3) a:not(:first-child) {
  display: none;
}

.k-panel[data-role="user"] .k-status-view-button button::before {
  content: "Application Status";
  display: inline-block;
}

.k-panel[data-role="user"] .k-page-view-preview,
.k-panel[data-role="user"] .k-page-view-options {
  display: none;
}

.k-panel[data-role="user"] .k-page-view-status {
  opacity: 0;
  pointer-events: none;
}

body.submitted-panel .k-panel-inside[data-role="user"] .k-grid {
  pointer-events: none;
  opacity: 0.5;
}

body.submitted-panel .k-panel.k-panel-inside[data-role="user"] .k-page-view-status {
  opacity: 1;
  background-color: #3A6573;
  color: #fff;
}

.k-panel[data-role="user"] .k-dropdown-item.k-button {
  --button-color-text: #000;
}

.k-dropdown-item.k-button:not([aria-disabled]):hover {
  --button-color-text: #fff;  
}

body.submitted-with-errors .k-field:has([data-invalid]),
body.submitted-with-errors .k-field:has([data-invalid]) .k-help,
body.submitted-with-errors .field-error,
body.submitted-with-errors .field-error .k-help {
  color: #c62624;
}

body.submitted-with-errors .k-field:has([data-invalid]) *,
body.submitted-with-errors .field-error * {
  border-color: #eb8483;
  outline-color: #eb8483;
}

.k-panel[data-role="user"] .k-section-name-declarationFields .k-grid .k-field-header {
  display: none;
  margin-bottom: 0;
}

/* ADMIN */

.k-panel[data-role="user"] .k-section-name-declarationFields .k-grid {
  row-gap: 2px;
  padding-top: 1.5rem;
}

.k-panel[data-role="user"] .k-section-name-submissionFields .k-grid {
  padding-top: 1.5rem;
}

.k-panel[data-role="user"] .k-section-name-declarationFields .k-toggle-input {
  padding: 0;
  padding-inline-start: 0!important;
}

.k-panel[data-role="user"] .k-section-name-declarationFields .k-input {
  box-shadow: none;
  background: transparent;
}

.k-panel[data-role="user"] .k-section-name-declarationFields .k-headline-field {
  margin-bottom: 1.5rem;
}

.k-panel[data-role="user"] .k-button[aria-label=Save] {
  border-start-end-radius: var(--button-rounded)!important;
  border-end-end-radius: var(--button-rounded)!important;
}

@font-face {
  font-family: 'Zeist L1 Light';
  src: url('https://spectorcraftprize.org/assets/fonts/ZeistL1Web-Light.woff2') format('woff2'),
      url('https://spectorcraftprize.org/assets/fonts/ZeistL1Web-Light.woff') format('woff');
}

/* STYLES */

.k-label {
  height: fit-content;
}

.k-label-text {
  white-space: initial;
  overflow-x: visible;
  line-height: 1.2;
}

.k-date-field-body dialog .k-button {
  color: var(--dropdown-color-bg);
}

.k-panel[data-id="about"] .k-blocks .k-column:last-child,
.k-panel[data-id="about"] .k-blocks .k-field-header,
.k-panel[data-id="about"] .k-blocks .k-block-type-fields-header {
  display: none;
}

.k-block-container:not([data-hidden=true]) .k-block-type-fields>:not([data-collapsed=true]) {
  padding-top: var(--spacing-3);
}

.k-panel[data-id="about"] .k-block-type-fields-form {
  padding: var(--spacing-6);
}

.k-panel[data-role="user"] {
  --font-sans: 'Zeist L1 Light';
  --color-text: #3A6573;
  --color-text-dimmed: #3A6573;
  --button-color-back: #E6EAE9;
  --button-filled-color-back: #E6EAE9;
  --menu-color-back: #E6EAE9;

  font-family: var(--font-sans, sans-serif);
  color: var(--color-text);
}

.k-panel[data-role="user"] .k-select-input-native::placeholder {
  color: var(--color-text-dimmed);
}

.k-panel[data-role="user"] .k-header,
.k-panel:not(.k-panel-outside)[data-role="user"],
.k-panel[data-role="user"] .k-box {
  background: #fff;
}

.k-panel.k-panel-outside[data-role="user"] {
  background: #E6EAE9;
}

.k-panel[data-role="user"] .k-header {
  box-shadow: 2px 0 0 0 #fff,-2px 0 0 0 #fff;
}

.k-panel[data-role="user"] .k-choice-input-label {
  color: inherit;
}

.k-panel[data-role="user"] .k-panel-main::before {
  content: "";
  display: block;
  width: 350px;
  height: 50px;
  background: url('https://spectorcraftprize.org/assets/img/logo-spector-craft-prize.svg') no-repeat center/contain;
  margin: 50px auto 70px;
}

.k-counter {
  display: none!important;
}

@media screen and (max-width: 820px) {
.k-panel[data-role="user"] .k-panel-main::before {
  width: 100%;
}
}