@charset "UTF-8";
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #f4f5f7;
  color: #1f2430;
}

h1 {
  overflow-wrap: break-word;
}
@media (max-width: 970px) {
  h1 {
    font-size: 24px;
  }
}

header {
  background: #1f2430;
  color: #fff;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
header a {
  color: #fff;
  text-decoration: none;
}

.admin-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

main {
  max-width: 960px;
  margin: 32px auto;
  padding: 0 24px;
}
@media (max-width: 970px) {
  main {
    margin: 16px auto;
    padding: 0 12px;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.admin-table__row--trashed {
  text-decoration: line-through;
  opacity: 0.6;
}

button,
.btn-lg {
  background: #2f6fed;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.errors {
  color: #f26f6f;
  margin-bottom: 16px;
}

.status-message {
  color: #2e7d32;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-group.adware > label {
  margin-bottom: 0;
  font-weight: normal;
}

.form-row {
  display: flex;
  gap: 16px;
}
.form-row > * {
  flex: 1;
}
.form-row.editor-block {
  align-items: flex-end;
}
@media (max-width: 970px) {
  .form-row {
    flex-direction: column;
  }
  .form-row > * {
    flex: 1 1 100%;
  }
  .form-row.editor-block {
    align-items: stretch;
  }
}
.form-row--city-categories > *:first-child {
  flex: 0 0 calc(40% - 8px);
}
.form-row--city-categories > *:last-child {
  flex: 0 0 calc(60% - 8px);
}
@media (max-width: 970px) {
  .form-row--city-categories {
    flex-direction: column;
  }
  .form-row--city-categories > *:first-child,
  .form-row--city-categories > *:last-child {
    flex: 1 1 100%;
  }
}

input[type=text],
input[type=email],
input[type=password],
textarea,
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 0;
}

.admin-content-form main {
  max-width: 1100px;
}

#introtext {
  height: 100px;
  max-width: 100%;
}

.admin-form input[type=checkbox] {
  width: auto;
  display: inline-block;
  margin: 0 4px 0 0;
}

.admin-form__hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 970px) {
  .admin-form__hero {
    flex-direction: column;
  }
}

.admin-form__hero-main {
  flex: 1;
  min-width: 0;
}

.admin-form__label--seo {
  color: #f26f6f;
}

.admin-form__image {
  flex: 0 0 240px;
  margin-bottom: 0;
}
@media (max-width: 970px) {
  .admin-form__image {
    flex: 1 1 auto;
    width: 100%;
  }
}
.admin-form__image .file-preview {
  width: 240px;
  height: 220px;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
@media (max-width: 970px) {
  .admin-form__image .file-preview {
    width: 100%;
  }
}
.admin-form__image .file-drop-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  width: 100%;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  border: 1px dashed #aaa;
  border-radius: 8px;
  position: relative;
}
.admin-form__image .file-drop-zone-title {
  padding: 0;
  font-size: 14px;
  color: #333;
}
.admin-form__image .file-preview-thumbnails {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.admin-form__image .file-preview-frame {
  float: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  width: 100%;
  height: 100%;
  position: relative;
}
.admin-form__image .file-preview-frame .kv-file-content {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.admin-form__image .file-preview-frame .file-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.admin-form__image .file-preview-frame .file-drag-handle {
  display: none;
}
.admin-form__image .kv-file-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  margin-top: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.admin-form__image .kv-file-remove .glyphicon-trash::before {
  content: "✕";
  font-style: normal;
  font-size: 16px;
  color: #1f2430;
}

.admin-form__image-errors {
  display: none;
}

.admin-form__image-placeholder-label {
  margin-top: 10px;
  font-weight: 600;
}

.file-zoom-dialog {
  display: none !important;
}

.admin-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-form__row button + button,
.admin-form__row a + button {
  margin-left: 8px;
}
@media (max-width: 970px) {
  .admin-form__row {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-form__btn-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.admin-form__btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-form__btn-delete {
  background: #f26f6f;
}

.admin-form__btn-cancel {
  background: #6b7280;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.admin-form__btn-view {
  background: #fff;
  color: #4fc3f7;
  border: 1px solid #4fc3f7;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.admin-form__checkbox-label {
  display: block;
}
.admin-form__checkbox-label + .admin-form__checkbox-label {
  margin-top: 8px;
}
.admin-form__checkbox-label--danger {
  color: #f26f6f;
}

.admin-form__status {
  display: block;
}
.admin-form__status--success {
  color: #2e7d32;
}
.admin-form__status--pending {
  color: #c0392b;
}

.form-group .admin-form__pin-label {
  display: block;
  font-weight: normal;
}

.admin-form__pin-occupant {
  color: #c0392b;
}

.admin-form__pin-until-input {
  width: auto;
  max-width: 100%;
}

.admin-form__hidden-select {
  display: none;
}