@import '../../styles/vars/breakpoints.css';

.container {
  max-width: var(--component-max-width);
  margin-left: auto;
  margin-right: auto;
}

.dialogContent {
  margin-top: var(--component-mt);
  margin-bottom: var(--component-mb);
  &.first-child {
    margin-top: var(--component-first-child-mt);
    margin-bottom: var(--component-first-child-mb);
  }

  &.last-child {
    margin-top: var(--component-last-child-mt);
    margin-bottom: var(--component-last-child-mb);
  }

  &.only-child {
    margin-top: var(--component-only-child-mt);
    margin-bottom: var(--component-only-child-mb);
  }
}

.dialog {
  position: relative;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  background-color: #fffdea;
  border: solid 1px #e4e7ed;
  @media (--md-and-down) {
    padding-bottom: 30px;
  }
}

.id,
.brief {
  font-size: rem(15px);
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #e5a547;
}

.id {
  margin-bottom: 20px;
}

.edit,
.play {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f5cf97;
  cursor: pointer;
}

.action {
  position: absolute;
  display: flex;
  top: 0;
  right: 0;
  @media (--md-and-down) {
    bottom: 10px;
    left: 14px;
    top: initial;
    right: initial;
  }
}


.play {
  .empty & {
    opacity: 0.5;
    pointer-events: none;
  }
}

:global(.dir--rtl) {
  .id {
    margin-top: 20px !important;
  }
}