/*!
 * Copyright (c) 2024 PLANKA Software GmbH
 * Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
 */

:global(#app) {
  .editButton {
    background: transparent;
    box-shadow: none;
    line-height: 28px;
    margin: 0;
    min-height: auto;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 4px;
    width: 28px;

    &:hover {
      background: rgba(9, 30, 66, 0.08);
    }
  }

  .moduleHeader {
    color: #17394d;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 4px;
    padding: 6px 0;
  }

  .moduleHeaderEditable {
    padding-right: 32px;

    &:hover {
      .editButton {
        opacity: 1;
      }
    }
  }

  .moduleHeaderTitle {
    min-width: 0;
    word-wrap: break-word;
  }

  .moduleIcon {
    color: #17394d;
    font-size: 17px;
    height: 32px;
    left: -40px;
    line-height: 32px;
    margin-right: 0;
    position: absolute;
    top: 2px;
    width: 32px;
  }

  .moduleWrapper {
    margin: 0 0 0 40px;
    position: relative;
  }

  .wrapper {
    border-radius: 3px;
    margin-bottom: 24px;
  }
}
