/* Shared theme tokens */
:root {
  --brand_color: rgb(151, 0, 46);
  --accent_color: #0a7f6d;
  --accent_color_hover: #086f5f;
}

[x-cloak] {
  display: none !important;
}

html[data-admin-skip-page-overlay="1"] #admin-page-loading-overlay {
  display: none !important;
}

a:not([class]) {
  color: var(--accent_color);
}

/* Brand colors */
.bg-brand {
  background-color: var(--brand_color);
}

.bg-accent {
  background-color: var(--accent_color);
}

.bg-page {
  background-color: #e0d9c9;
}

.text-brand {
  color: var(--brand_color);
}

.text-menu {
  color: #d6cbb4;
}

.text-accent {
  color: var(--accent_color);
}

.page {
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 30px;
  padding-right: 30px; */
  width: 100%;
  font-family: Verdana, sans-serif;
  color: #333333;
  line-height: 150%;
}

.subscribe-box h2 {
  font-size: 17.5px;
  background: #c4c3c1;
  padding: 0.5em;
  margin: 0;
  font-weight: 400;
}

/* .subscribe-box-header {
  background: #c9c9c9;
  padding: 12px 16px;
  font-size: 22px;
  font-weight: 600;
} */

.subscribe-box-body {
  padding: 16px;
  line-height: 150%;
}

.subscribe-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  line-height: 21px;
  font-size: 14px;
}

.subscribe-list li {
  padding-left: 28px;
  margin-bottom: 0;
  background: url("/images/icons/bullet.png") no-repeat left 4px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent_color);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent_color_hover);
}

/* Admin list loading UI */
.admin-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(1px);
}

.admin-page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(1px);
}

.admin-loading-spinner {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 4px solid rgba(151, 0, 46, 0.18);
  border-top-color: var(--brand_color);
  border-right-color: var(--brand_color);
  animation: admin-spin 0.75s linear infinite;
}

.admin-loading-label {
  color: var(--brand_color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.panel {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  padding: 20px;
}

.panel h1 {
  font-size: 1.5em;
  margin-bottom: 0.75em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin-bottom: 0.75em;
}

.social-login {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.social-oauth {
  text-decoration: none;
}

.social-oauth .gsi-material-button-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  /* font-family: "Roboto", arial, sans-serif; */
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  transition:
    background-color 0.218s,
    border-color 0.218s,
    box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  /* font-family: "Roboto", arial, sans-serif; */
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow:
    0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* Brand colors */
.social-btn.facebook .icon {
  background: #3b5998;
}

.social-btn.google .icon {
  background: #dd4b39;
}

.social-btn.twitter .icon {
  background: #55acee;
}

@media (min-width: 1200px) {
  .page {
    max-width: 1170px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .page {
    max-width: 920px;
  }
}
