@import "../../../../styles/shadow";

.card {
  margin: var(--gap-l) var(--gap-l) 0;
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(15px);
  border: none;
  overflow: hidden;
  width: 800px;
  position: relative;
  color: var(--text);
  padding: var(--gap-m) 0;
  box-shadow: var(--shadow-card-3);

  @media screen and (max-width: 860px) {
    width: calc(100vw - 10px);
    margin: 5px;
    color: var(--text);
  }

  &.padding {
    padding: var(--gap-l);
  }

  box-sizing: border-box;

  &.fullscreen {
    border-radius: 0;
    background: var(--surface-strong);
    margin: 0;
    color: var(--text);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: unset;
    z-index: 30;
  }
}

.heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-right: 20px;
  opacity: 0.7;
  color: var(--text);
  padding-left: 20px;
  padding-top: 10px;
}

.subheading {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-right: 20px;
  opacity: 0.7;
  color: var(--text-soft);
  padding-left: 20px;
  padding-top: 20px;
}

.padding .heading, .padding .subheading {
  display: inline-block;
  padding: 0;
}

.btn-close {
  --icon-button-color: var(--text-soft);
  --icon-button-hover-color: var(--text);
  position: absolute;
  right: 10px;
  top: 15px;
  opacity: 0.7;
}
