@use 'variables';

.notification-modal {
  z-index: 1000;
  cursor: default;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 305px;
  background: variables.$input-background;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  text-align: center;
  align-items: center;
  &--close-modal{
    position: absolute;
    width: 100%;
    height: 100%;
  }
  &__title-and-close {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
  }
  &__close {
    position: absolute;
    right: 20px;
    top: 25px;
    height: 12px;
    width: 12px;
    content: url('../assets/images/x.png');
    cursor: pointer;
  }
  &--open {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 2147483647 !important;
  }
  &--divider {
    margin-bottom: 10px;
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted variables.$border;
  }
  &--title {
    position: relative;
    left: -60px;
    margin-bottom: 10px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 21px;
    color: #333333;
  }
  &--tag-name {
    margin-bottom: 20px;
    padding-left: 10px;
    border: 1px solid variables.$border;
    border-radius: 2px;
    width: 280px;
    height: 40px;
    &::placeholder {
      color: variables.$lighter_text;
    }
    &:focus {
      outline: none;
      border: 2px solid #0f3beb;
      border-radius: 5px;
    }
  }
  &--confirmation_button {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 20px 0px 20px;
    height: 28px;
    border-radius: 2px;
    background: variables.$blue;
    color: variables.$input-background;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    cursor: pointer;
  }
  &--secondary {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 16px;
    color: variables.$blue;
    cursor: pointer;
  }
  &--text {
    font-size: 14px;
    text-align: left;
    max-width: 240px;
    word-break: break-word;
    &--light {
      color: #999999;
    }
  }
  &--image {
    img {
      max-width: 80%;
    }
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .ws-shield {
    margin-top: 20px;
    width: 299px;
    height: 85px;
    //background-image: url('../assets/images/clockify_illustration.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../assets/images/notifications/ws-shield.png');
  }
}
