#myDomainsView {
  flex: 1;
}

#myDomainsButton {
  display: flex;
  justify-content: center;
  width: 118px;
  height: 36px;
}

.my-domains-loading-button {
  background: var(--loader--background--gradient);
  animation: var(--gradient--animation--transition);
}

#myDomainsLoadMoreButton, #noDomainsStartNowButton {
  width: fit-content;
}

#myDomainsContainer {
  display: none;
  flex-direction: column;
  align-items: center;
  max-width: 928px;
  width: 100%;
  gap: 12px;
}

#noDomainsContainer {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 928px;
  width: 100%;
  text-align: center;
  gap: 8px;
}


html[data-theme='light'] .mobile-menu #myDomainsLottieLight {
  display: none;
}

html[data-theme='dark'] .mobile-menu #myDomainsLottieDark {
  display: none;
}

html[data-theme='light'] #noDomainsBannerDark {
  display: none;
}

html[data-theme='dark'] #noDomainsBannerLight {
  display: none;
}

.my-domains-title-container {
  width: 100%;
  margin: 48px 0px 12px 0px;
  display: flex;
  justify-content: center;
}

.my-domains-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}

.my-domains-title-loading {
  border-radius: 8px;
  color: transparent;
  background: var(--loader--background--gradient);
  animation: var(--gradient--animation--transition);
}

.my-domains-table-loading {
  border-radius: 16px;
  width: 100%;
  color: transparent;
  height: 50vh;
  box-sizing: border-box;
  background: var(--loader--background--gradient);
  animation: var(--gradient--animation--transition);
}

.my-domains-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.my-domains-table th {
  text-align: left;
  border-top: var(--table-border);
  color: var(--text-tetriary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding: 12px 0 12px 24px;
  cursor: default;
}


.my-domains-table-headers th:not(.my-domains-table-last-column) {
  width: 31%; /* first three table columns */
}


.my-domains-table-last-column {
  width: 7%; /* last table column = 100% - 3 * ( 31% ) */
}

.my-domains-right-arrow-icon {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--arrow--right--inversed);
  background-size: contain;
}

.my-domains-table-cell, .my-domains-table-cell-first, .my-domains-table-cell-last {
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 12px 0 12px 24px;
  border-top: var(--table-border);
  height: 50px;
}

.my-domains-table-row:hover {
  cursor: pointer;
  border-radius: 16px;
  box-shadow: var(--table-row-hover-shadow);
  -webkit-box-shadow: var(--table-row-hover-shadow);

  .my-domains-table-cell {
    border-bottom: var(--table-border);
  }

  .my-domains-table-cell-first {
    border-bottom: var(--table-border);
    border-left: var(--table-border);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
  }

  .my-domains-table-cell-last {
    border-bottom: var(--table-border);
    border-right: var(--table-border);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .my-domains-right-arrow-icon {
    background: var(--arrow--right);
  }
}

.my-domains-table-row:hover + .my-domains-table-row {
  & .my-domains-table-cell, .my-domains-table-cell-first, .my-domains-table-cell-last {
    border-top: none;
  }
}

.my-domains-cell-container {
  float: left;
  display: flex;
  flex-direction: column;
}

.my-domains-table-domain-cell {
  width: calc(100%);
  text-overflow: ellipsis;
  overflow: hidden;
}

.my-domains-cell-price-container {
  display: flex;
  flex-direction: row;
}

.my-domains-cell-price-loading {
  margin-left: 4px;
  border-radius: 6px;
  color: transparent;
  background: var(--loader--background--gradient);
  animation: var(--gradient--animation--transition--slower);
  margin-bottom: 2px;
  line-height: 26px;
}

.my-domains-cell-price {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
}

.my-domains-cell-price-ton-logo {
  width: 20px;
  height: 20px;
  transform: translateY(20%);
  background: var(--ton-logo-path) center no-repeat;
}

.my-domains-cell-expiried-date {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #FF5C5C;
}

.my-domains-cell-expiry-title-desktop {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.my-domains-cell-expiry-title-mobile {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  display: none;
}

.my-domains-cell-expiry-caption-desktop {
  color: var(--text-tetriary);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.my-domains-cell-expiry-caption-mobile {
  color: var(--text-tetriary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  display: none;
}

.no-domains-title {
  padding-top: 16px;
  font-size: 20px;
  line-height: 30px;
  font-weight: bolder;
  text-align: center;
}

.no-domains-caption { 
  color: var(--text-tetriary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding-bottom: 16px;
  text-align: center;
}

@media screen and (max-width: 568px) {
  #myDomainsView {
    margin-top: 10px;
  }

  #myDomainsLoadMoreButton, #noDomainsStartNowButton {
    padding: 6px 16px;
  }

  #myDomainsContainer {
    gap: 0;
  }

  .my-domains-table {
    margin-bottom: 16px;
  }

  .my-domains-table-loading {
    height: 60vh;
    margin-top: 6px;
  }

  .my-domains-table th {
    border-top: 0;
    font-size: 14px;
    line-height: 20px;
    padding: 16px 16px 8px 0px;
  }

  .my-domains-table-cell, .my-domains-table-cell-first, .my-domains-table-cell-last {
    font-size: 14px;
    line-height: 20px;
    padding: 8px 8px 8px 0px;
  }

  .my-domains-title-container {
    margin: 0px 0px 2px 0px;
  }

  .my-domains-title {
    font-size: 20px;
    line-height: 28px;
  }

  .my-domains-cell-price {
    font-size: 14px;
    line-height: 20px;
  }

  .my-domains-cell-price-loading {
    margin-bottom: 1px;
    line-height: 18px;
  }

  .my-domains-cell-price-ton-logo {
    width: 16px;
    height: 16px;
    transform: translateY(12%);
  }

  .my-domains-cell-expiried-date {
    font-size: 14px;
    line-height: 20px;
  }

  .my-domains-cell-expiry-title-desktop {
    display: none;
  }

  .my-domains-cell-expiry-title-mobile {
    display: block;
  }

  .my-domains-cell-expiry-caption-desktop {
    display: none;
  }

  .my-domains-cell-expiry-caption-mobile {
    display: block;
  }

  .my-domains-cell-price:before {
    width: 16px;
    height: 16px;
    transform: translateY(10%);
  }

  .no-domains-title {
    padding-top: 16px;
    font-size: 18px;
    line-height: 22px;
  }

  .no-domains-caption { 
    font-size: 14px;
    line-height: 20px;
  }

  .no-domains-image {
    width: 148px;
    heigth: 166px;
  }

  .my-domains-table-headers th:not(.my-domains-table-last-column) {
    width: 32%; /* first three table columns */
  }


  .my-domains-table-last-column {
    width: 4%; /* last table column = 100% - 3 * ( 32% ) */
  }
}
