/* header bar */
.deadblocker-header-bar {
  @extend %full-wh;
  height: auto;
  display: none;
  color: #fff;
  font: 400 13px/1.2 "Open Sans",sans-serif;
  min-height: 32px;
  position: fixed;
  min-width: 600px;
  z-index: 99999;
  background: #d21010;
  transform: translate3d(0,0,0);
}

.deadblocker-header-bar-inner {
  @extend %clr;
  padding: 10px 8px 5px;
  text-align: center;
  p {
    margin: 0 0 5px;
  }
  a {
    color: inherit;
    text-decoration: underline;
    &:hover,
    &:active {
      color: inherit;
      text-decoration: none;
    }
    &:visited {
      color: inherit;
    }
  }
}

/* common dialog styles */
#deadblocker_dialog {
  @extend %full-wh;
  position: fixed;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  .dialog__overlay {
    @extend %full-wh;
    position: absolute;
    background: rgba(55, 58, 71, 0.9);
    opacity: 0;
    transition: opacity 0.3s;
    backface-visibility: hidden;
  }

  .dialog__content {
    width: 50%;
    max-width: 560px;
    min-width: 290px;
    background: #fff;
    padding: 3em;
    text-align: center;
    position: relative;
    opacity: 0;
    transition: height 0.3s ease;
    font-size: 14px;
    box-sizing: content-box;
    animation-name: anim-close;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }

  .deadblocker_dialog_block {
    margin-top: 20px;
  }

  .pos-relative {
    position: relative;
  }

  .deadblocker_dialog_footer {
    position: absolute;
    right: 0;
    bottom: -24px;
    font-size: 10px;
    color: #ddd;

    a {
      color: #ccc;
    }
  }

  .deadblocker_action {
    display: inline-block;
    min-width: 50px;
    cursor: pointer;
    padding: 11px 25px;
    margin: 0 5px;
    font-weight: 600;
    border: none;
    color: #fff;
    background: #c94e50;
    text-decoration: none;
    user-select: none;
    &:hover{
      opacity: 0.9;
      text-decoration: none;
    }
  }

  h2 {
    margin: 0;
    font-weight: 400;
    font-size: 2em;
    padding: 0 0 1em;
  }

  h3 {
    margin: 0;
    font-weight: 400;
    font-size: 1em;
    padding: 0 0 1em;
  }

  /* Sandra animation effect */
  &.dialog--open {

    .dialog__overlay {
      opacity: 1;
      pointer-events: auto;
    }

    .dialog__content {
      pointer-events: auto;
      animation-name: anim-open;
    }

  }

  &.dialog--close  {
    .dialog__content {
      animation-name: anim-close;
    }
  }

}

#deadblocker_reported_text {
  padding: 10px;
  border: 1px solid #eee;

  .deadblocker_mistake_outer {
    background-color: #EFEFEF;
    color: #111;
  }

  .deadblocker_mistake_inner {
    color: #C94E50;
  }
}

textarea#deadblocker_comment {
  width: 100%;
  resize: none;
  font-size: 14px;
  padding: 3px 6px;
  line-height: 1.4;
  box-sizing: border-box;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 0;
  color: #686868;
  &:focus {
    background-color: #fff;
    border-color: #c94e50;
    color: #1a1a1a;
    outline: 0;
  }
}




