/* -------------------------------- 

File#: _2_alert-message
Title: Alert Message
Descr: An alert message displayed in a modal window
Usage: codyhouse.co/license

-------------------------------- */

/* variables */
:root {
  /* colors */
  --az0-color-primary-hsl: 250, 84%, 54%;
  --az0-color-bg-hsl: 0, 0%, 100%;
  --az0-color-contrast-high-hsl: 230, 7%, 23%;
  --az0-color-contrast-higher-hsl: 230, 13%, 9%;
  --az0-color-contrast-medium-hsl: 225, 4%, 47%;
  --az0-color-bg-dark-hsl: 240, 4%, 95%;
  --az0-color-white-hsl: 0, 0%, 100%;
  --az0-color-primary-darker-hsl: 250, 84%, 38%;
  --az0-color-primary-light-hsl: 250, 84%, 60%;
  --az0-color-bg-lighter-hsl: 0, 0%, 100%;
  --az0-color-black-hsl: 230, 13%, 9%;
  --az0-color-bg-light-hsl: 0, 0%, 100%;
  --az0-color-contrast-lower-hsl: 240, 4%, 85%;
  --az0-color-contrast-low-hsl: 240, 4%, 65%;
  --az0-color-accent-hsl: 342, 89%, 48%;

  /* spacing */
  --az0-space-3xs: 0.25rem;
  --az0-space-2xs: 0.375rem;
  --az0-space-xs: 0.5rem;
  --az0-space-sm: 0.75rem;
  --az0-space-md: 1.25rem;

  /* typography */
  --az0-text-lg: 1.25rem;
  --az0-text-md: 1.2rem;
  --az0-text-sm: 0.833rem;
  --az0-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --az0-space-3xs: 0.375rem;
    --az0-space-2xs: 0.5625rem;
    --az0-space-xs: 0.75rem;
    --az0-space-sm: 1.125rem;
    --az0-space-md: 2rem;

    /* typography */
    --az0-text-lg: 1.75rem;
    --az0-text-md: 1.5625rem;
    --az0-text-sm: 1rem;
    --az0-text-sm: 1rem;
  }
}

/* buttons */
.az0-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  white-space: nowrap;
  text-decoration: none;
  background: hsl(var(--az0-color-bg-dark-hsl));
  color: hsl(var(--az0-color-contrast-higher-hsl));
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.2s ease;
  will-change: transform;
  padding: var(--az0-space-2xs) var(--az0-space-sm);
  border-radius: 0.25em;
}

.az0-btn:focus-visible {
  box-shadow: 0px 0px 0px 2px hsl(var(--az0-color-bg-hsl)), 0px 0px 0px 4px hsla(var(--az0-color-contrast-higher-hsl), 0.15);
  outline: none;
}

.az0-btn:active {
  transform: translateY(2px);
}

.az0-btn--primary {
  background: hsl(var(--az0-color-primary-hsl));
  color: hsl(var(--az0-color-white-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.15), 0px 1px 3px hsla(var(--az0-color-primary-darker-hsl), 0.25), 0px 2px 6px hsla(var(--az0-color-primary-darker-hsl), 0.1), 0px 6px 10px -2px hsla(var(--az0-color-primary-darker-hsl), 0.25);
}

.az0-btn--primary:hover {
  background: hsl(var(--az0-color-primary-light-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--az0-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--az0-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--az0-color-primary-darker-hsl), 0.25);
}

.az0-btn--primary:focus {
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--az0-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--az0-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--az0-color-primary-darker-hsl), 0.25), 0px 0px 0px 2px hsl(var(--az0-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--az0-color-primary-hsl));
}

.az0-btn--subtle {
  background: hsl(var(--az0-color-bg-lighter-hsl));
  color: hsl(var(--az0-color-contrast-higher-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--az0-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--az0-color-black-hsl), 0.2), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.az0-btn--subtle:hover {
  background: hsl(var(--az0-color-bg-light-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--az0-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--az0-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
}

.az0-btn--subtle:focus {
  box-shadow: inset 0px 1px 0px hsla(var(--az0-color-white-hsl), 0.1), 0px 0px 0px 1px hsla(var(--az0-color-black-hsl), 0.02), 0px 1px 3px -1px hsla(var(--az0-color-black-hsl), 0.2), 0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12), 0px 0px 0px 2px hsl(var(--az0-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--az0-color-contrast-high-hsl));
}

/* form elements */
.az0-form-control {
  font-size: 1em;
  padding: var(--az0-space-2xs) var(--az0-space-xs);
  background: hsl(var(--az0-color-bg-dark-hsl));
  line-height: 1.2;
  box-shadow: inset 0px 0px 0px 1px hsl(var(--az0-color-contrast-lower-hsl));
  transition: all 0.2s ease;
  border-radius: 0.25em;
}

.az0-form-control::placeholder {
  opacity: 1;
  color: hsl(var(--az0-color-contrast-low-hsl));
}

.az0-form-control:focus, .az0-form-control:focus-within {
  background: hsl(var(--az0-color-bg-hsl));
  box-shadow: inset 0px 0px 0px 1px hsla(var(--az0-color-contrast-lower-hsl), 0), 0px 0px 0px 2px hsl(var(--az0-color-primary-hsl)), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* icons */
.az0-icon {
  height: var(--az0-size, 1em);
  width: var(--az0-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.az0-icon--2xs {
  --az0-size: 12px;
}

.az0-icon--lg {
  --az0-size: 48px;
}

/* component */
.alert-msg {
  --modal-transition-duration: .2s;
}

.alert-msg__close-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-error-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: var(--az0-space-2xs) var(--az0-space-sm);
  color: hsl(var(--az0-color-bg-hsl));
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: 0.2s;
}
.alert-msg__close-btn:hover {
  background-color: hsla(var(--az0-color-contrast-higher-hsl), 1);
}

/* utility classes */
.az0-color-contrast-higher {
  --az0-color-o: 1;
  color: hsla(var(--az0-color-contrast-higher-hsl), var(--az0-color-o, 1));
}

.az0-color-contrast-medium {
  --az0-color-o: 1;
  color: hsla(var(--az0-color-contrast-medium-hsl), var(--az0-color-o, 1));
}

.az0-sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.az0-text-sm {
  font-size: var(--az0-text-sm);
}

.az0-text-component :where(h1, h2, h3, h4) {
  line-height: var(--az0-heading-line-height, 1.2);
  margin-top: calc(var(--az0-space-md) * var(--az0-space-multiplier, 1));
  margin-bottom: calc(var(--az0-space-sm) * var(--az0-space-multiplier, 1));
}

.az0-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--az0-body-line-height, 1.4);
}

.az0-text-component :where(ul, ol, p, blockquote, .az0-text-component__block) {
  margin-bottom: calc(var(--az0-space-sm) * var(--az0-space-multiplier, 1));
}

.az0-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.az0-text-component ul :where(ul, ol), .az0-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.az0-text-component ul {
  list-style-type: disc;
}

.az0-text-component ol {
  list-style-type: decimal;
}

.az0-text-component img {
  display: block;
  margin: 0 auto;
}

.az0-text-component figcaption {
  margin-top: calc(var(--az0-space-xs) * var(--az0-space-multiplier, 1));
  font-size: var(--az0-text-sm);
  text-align: center;}

.az0-text-component em {
  font-style: italic;
}

.az0-text-component strong {
  font-weight: bold;
}

.az0-text-component s {
  text-decoration: line-through;
}

.az0-text-component u {
  text-decoration: underline;
}

.az0-text-component mark {
  background-color: hsla(var(--az0-color-accent-hsl), 0.2);
  color: inherit;
}

.az0-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--az0-color-contrast-lower-hsl));
  font-style: italic;
}

.az0-text-component hr {
  margin: calc(var(--az0-space-md) * var(--az0-space-multiplier, 1)) auto;
  background: hsl(var(--az0-color-contrast-lower-hsl));
  height: 1px;
}

.az0-text-component > *:first-child {
  margin-top: 0;
}

.az0-text-component > *:last-child {
  margin-bottom: 0;
}
.az0-text-component a{
    display: flex;
    justify-content: space-evenly;
    background-color: var(--color-accent-dark);
    color: var(--color-accent-darker);
    margin: 15px 0px;
    padding: 11px;
    border-radius: var(--radius-md);
}
.az0-text-component.az0-line-height-xs {
  --az0-heading-line-height: 1;
  --az0-body-line-height: 1.1;
}

.az0-text-component.az0-line-height-sm {
  --az0-heading-line-height: 1.1;
  --az0-body-line-height: 1.2;
}

.az0-text-component.az0-line-height-md {
  --az0-heading-line-height: 1.15;
  --az0-body-line-height: 1.4;
}

.az0-text-component.az0-line-height-lg {
  --az0-heading-line-height: 1.22;
  --az0-body-line-height: 1.58;
}

.az0-text-component.az0-line-height-xl {
  --az0-heading-line-height: 1.3;
  --az0-body-line-height: 1.72;
}

.az0-margin-right-2xs {
  margin-right: var(--az0-space-2xs);
}

.az0-radius-50\% {
  border-radius: 50%;
}

.az0-height-lg {
  height: 3rem;
}

.az0-width-lg {
  width: 3rem;
}

.az0-block {
  display: block;
}

.az0-items-center {
  align-items: center;
}

.az0-flex {
  display: flex;
}

.az0-margin-bottom-xs {
  margin-bottom: var(--az0-space-xs);
}

.az0-overflow-auto {
  overflow: auto;
}

.az0-shadow-md {
  box-shadow:0 0.9px 1.5px rgba(0, 0, 0, 0.03),0 3.1px 5.5px rgba(0, 0, 0, 0.08),0 14px 25px rgba(0, 0, 0, 0.12);
}

.az0-radius-md {
  border-radius: 0.25em;
}

.az0-bg {
  --az0-bg-o: 1;
  background-color: hsla(var(--az0-color-bg-hsl), var(--az0-bg-o, 1));
}

.az0-padding-sm {
  padding: var(--az0-space-sm);
}

.az0-max-width-3xs {
  max-width: 26rem;
}

.az0-width-100\% {
  width: 100%;
}

.az0-margin-left-3xs {
  margin-left: var(--az0-space-3xs);
}

.az0-radius-full {
  border-radius: var(--radius-md);
}

.az0-margin-bottom-3xs {
  margin-bottom: var(--az0-space-3xs);
}

.az0-padding-md {
  padding: var(--az0-space-md);
}

.az0-flex-column {
  flex-direction: column;
}

.az0-max-height-100\% {
  max-height: 100%;
}

.az0-bg-contrast-higher {
  --az0-bg-o: 1;
  background-color: hsla(var(--az0-color-contrast-higher-hsl), var(--az0-bg-o, 1));
}

.az0-items-end {
  align-items: flex-end;
}

.az0-text-md {
  font-size: var(--az0-text-md);
}

.az0-height-100\% {
  height: 100%;
}

.az0-flex-grow-auto {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

.az0-gap-3xs {
  gap: var(--az0-space-3xs);
}

.az0-margin-top-sm {
  margin-top: var(--az0-space-sm);
}

.az0-text-center {
  text-align: center;
}

.az0-margin-bottom-2xs {
  margin-bottom: var(--az0-space-2xs);
}

.az0-color-contrast-high {
  --az0-color-o: 1;
  color: hsla(var(--az0-color-contrast-high-hsl), var(--az0-color-o, 1));
}

.az0-padding-top-xs {
  padding-top: var(--az0-space-xs);
}

.az0-border-top {
  --az0-border-o: 1;
  border-top: var(--az0-border-width, 1px) var(--az0-border-style, solid) hsla(var(--az0-color-contrast-lower-hsl), var(--az0-border-o, 1));
}

.az0-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.az0-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.az0-margin-y-sm {
  margin-top: var(--az0-space-sm);
  margin-bottom: var(--az0-space-sm);
}

.az0-pointer-events-auto {
  pointer-events: auto;
}

.az0-text-right {
  text-align: right;
}

.az0-pointer-events-none {
  pointer-events: none;
}

.az0-justify-end {
  justify-content: flex-end;
}

.az0-gap-2xs {
  gap: var(--az0-space-2xs);
}

.az0-flex-shrink-0 {
  flex-shrink: 0;
}

.az0-padding-xs {
  padding: var(--az0-space-xs);
}

.az0-flex-grow {
  flex-grow: 1;
}

.az0-overflow-hidden {
  overflow: hidden;
}

.az0-text-lg {
  font-size: var(--az0-text-lg);
}

.az0-col-6 {
  grid-column-end: span 6;
}

.az0-border-contrast-higher {
  --az0-border-o: 1;
  border-color: hsla(var(--az0-color-contrast-higher-hsl), var(--az0-border-o, 1));
}

.az0-bg-opacity-90\% {
  --az0-bg-o: 0.9;
}

.az0-border-opacity-10\% {
  --az0-border-o: 0.1;
}

@media(min-width: 64rem){
  .az0-col-start-4\@md {
    grid-column-start: 5;
  }

  .az0-col-4\@md {
    grid-column-end: span 4;
  }
}