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

.contactsFullHeightPanel {
  height: 100% !important;
}

.contactFormContainer {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;

  form {
    height: 100%;
  }

  .contactFormHeader {
    color: var(--panel-header-text);
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;

    svg {
      width: 40px;
      height: 40px;
      margin-right: 10px;
    }
  }

  .contactForm {
    width: 350px;
    padding: 24px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 0px;

    .input {
      margin-bottom: 10px;
    }

    .contactFormSubheader {
      font-size: 0.9rem;
      border-bottom: 1px solid var(--panel-header);
      padding: 10px 0;
      margin: 35px 0;
      color: var(--panel-header-text);
    }

    .contactFormLabel {
      text-transform: uppercase;
      font-weight: bold;
      font-size: 0.8rem;
      display: block;
      color: var(--panel-label-text);
      margin: 15px 0 10px 0;
    }

    .conactFormDialogue {
      width: 100%;

      svg {
        width: 40px;
        height: 40px;
      }
    }

    .dialogueAndButtonContainer {
      margin-top: -20px;

      svg {
        path {
          fill: #ee6d66;
        }
      }
    }
  }

  .submitButton {
    margin-top: auto;
    margin-bottom: 26px;
  }

  .submitButtonRow {
    margin-top: 50px;
    margin-bottom: 150px;
    display: flex;

    button:first-child {
      margin-right: 12px;
    }
    button:last-child {
      margin-right: 0;
    }
  }
}

.addButton {
  color: var(--contacts-delete-contact-name) !important;
  padding: 12px !important;
  height: 40px !important;
  max-height: 40px !important;
  display: flex;
  align-items: center;

  svg {
    margin: auto;
    path {
      fill: var(--contacts-delete-contact-name) !important;
    }
  }
}

.addIcon {
  align-self: center !important;
}

.scannerContainer {
  display: flex;
  justify-content: center;
  margin: 24px 0;
  height: 250px;
  position: relative;
}

.deleteButton {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;

  svg {
    height: 24px;
    width: 24px;
    min-width: 24px;

    path {
      fill: var(--contacts-delete-contact-name) !important;
    }
  }
}

.addressesLabel {
  font-weight: bold;
  font-family: var(--font-gotham-bold);
  font-size: 12px;
  text-transform: uppercase;
  opacity: var(--input-label-opacity);
  color: var(--input-label);
}

.removeNetwork {
  svg {
    margin-right: 10px;
    min-height: 24px;
    min-width: 24px;

    path {
      fill: #d355e7 !important;
    }
  }
}

.childrenContainerClassName {
  width: 100% !important;
}
