@import '../../styles/colors.scss';

$default-modal-padding: 15px 25px;

.modal {
  position: absolute;
  top: 0;
  left: calc(50% - 10px);
  transform: translate(-50%, 0);

  background-color: $overlay-background-color;

  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;

  border-radius: 4px;

  margin: 25px 10px;
}

.header {
  display: flex;
  grid-gap: 10px;
  justify-content: space-between;
  padding: $default-modal-padding;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 24px;
  font-weight: bold;
}

.body {
  display: flex;
  flex-direction: column;
  grid-gap: 15px;
  padding: $default-modal-padding;

  > ul {
    margin: 0;
    padding: 0;
    list-style: none;

    width: 100%;
    display: flex;
    flex-direction: row;
    grid-gap: 10px;

    > li {
      flex-grow: 1;

      &:last-child {
        max-width: 65px;
        padding: 0 0 0 10px;
        border-left: solid 1px rgba(0, 0, 0, 0.1);
      }
    }
  }
}

.tabContent {
  display: flex;
  flex-direction: column;
  grid-gap: 15px;
  padding-inline: 10px;
}

.comingSoon {
  padding: 15px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-weight: 400;
  font-size: 16px;
}

.footer {
  padding: 15px;
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  font-weight: 400;
  font-size: 16px;
}
