@include export-module('co-relation-address-select-layout') {
  .co-relation-address-select {
    .relation-address-content {
      display: flex;
      flex-direction: row;
      column-gap: 10px;
    }
    .relation-address, .relation-address-create {
      display: flex;
      flex-direction: row;
      column-gap: 10px;
      border: 2px solid $tp-relation-address-select-border-color;
      border-radius: 5px;
      background-color: white;
      padding: 10px;
      min-width: 200px;
      &.selected {
        background-color: $tp-color-background-selected;
        border: 2px solid $tp-relation-address-select-selected-border-color;
        .relation-select-wrapper {
          .co-radio-button {
            label:before {
              border-color: $tp-relation-address-select-selected-border-color;
              background-color: $tp-relation-address-select-selected-border-color;
            }
            label:after {
              color: $tp-relation-address-select-selected-border-color;
              background-color: white;
            }
          }
        }
      }
    }
    .relation-select-wrapper {
      display: flex;
      flex-direction: column;
      .co-radio-button {
        border: none;
        height: 20px;
        width: 20px;
        padding: 0;
        align-items: baseline;
        label:before {
          border-color: $tp-relation-address-select-border-color;
        }
      }
    }
    .relation-content-wrapper {
      display: flex;
      flex-direction: column;
    }
    .relation-address-type {
      font-weight: bold;
    }
    .relation-address-create, .relation-address-change {
      display: flex;
      flex-direction: row;
      align-items: center;
      font-weight: bold;
      .relation-address-icon {
        height: 20px;
        width: 20px;
        [fill] {
          fill: $tp-relation-address-select-selected-border-color;
        }
      }
      color: $tp-relation-address-select-selected-border-color;
    }
    .relation-address-create {
      justify-content: center;
    }
    .relation-address-navigate {
      display: flex;
      background-color: white;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      box-shadow: 0 0 4px 4px $tp-relation-address-select-border-color;
    }
  }
}
