.main-layout-container {
  display: flex;
  min-height: 100vh;
}

.contacts-container {
  padding-top: 96px;
  width: calc(100% - 232px);
  max-width: 1440px;
  display: flex;
  max-height: calc(100vh - 96px);
}

.contacts-left {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 0px 24px;
}

.add-contact-btn {
  width: 352px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: bold;
  font-size: 21px;
  color: white;
  white-space: nowrap;
  background-color: #2a3647;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  padding: 8px 16px;
  gap: 4px;
  &:hover {
    background-color: #28abe2;
  }
}

.contacts-list {
  overflow-y: auto;
  width: 100%;
}

.contacts-list::-webkit-scrollbar{
  display:none;
}

.contact-list-entry {
  width: 352px;
  display: flex;
  gap: 35px;
  padding: 15px 24px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.125s ease;
}

.contact-list-entry:hover {
  background-color: #f0f0f0;
}

.contact-list-entry.selected {
  background-color: #2a3647;
}

.contact-list-entry.selected .contact-name {
  color: white;
}

.contact-list-entry.selected .contact-email {
  color: #007cee;
}

.contact-list-entry.selected .contact-avatar {
  border: 2px solid #ffffff;
}

.contact-avatar {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fc71ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-email {
  color: #007cee;
}

.contacts-right {
  padding: 110px 55px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-details-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-details-container.slide-in {
  animation: slideInFromRight 0.3s ease-out forwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contacts-title-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contacts-title-divider {
  width: 3px;
  height: 59px;
  background-color: #29abe2;
}

.contacts-title-sub {
  white-space: nowrap;
}

.contact-details {
  display: flex;
  gap: 54px;
  align-items: center;
}

.contacts-details-info {
  padding: 46px 0;
}

.contacts-details-avatar {
  border: 3px;
  border-radius: 50%;
  background-color: #ff7a00;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: medium;
  font-size: 47px;
  color: white;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacts-details-name {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: medium;
  font-size: 47px;
  line-height: 120%;
}

.contacts-details-actions {
  padding-top: 8px;
  gap: 5px;
  display: flex;
}

.contacts-details-actions button {
  border: none;
  background-color: transparent;
  color: #2a3647;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.125s ease;
}

.contacts-details-actions button:hover {
  color: #29abe2;
}

.contacts-details-actions button:hover img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(98%) saturate(456%)
    hue-rotate(161deg) brightness(96%) contrast(89%);
}

.contacts-details-actions img {
  width: 18px;
  height: 18px;
  transition: filter 0.125s ease;
}

.edit-btn {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.del-btn {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.mail-and-phone-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mail-and-phone-container span {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 120%;
}

.mail-and-phone-container a {
  padding-bottom: 7px;
  font-size: 16px;
  color: #29abe2;
}

#phone-number {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}

.letter-separator {
  display: flex;
  flex-direction: column;
  padding: 17px 36px;
}

.letter-separator-letter {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #2a3647;
  padding-bottom: 10px;
}

.letter-separator-line {
  width: 100%;
  height: 1px;
  background-color: #d1d1d1;
  margin: 8px 0;
}

.btn-more{
  display:none;
}
.contacts-details-actions-responsive{
  display:none;
  padding-top: 8px;
  gap: 5px;
  
}
.contacts-details-actions-responsive button {
  border: none;
  background-color: transparent;
  color: #2a3647;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.125s ease;
}
.contacts-details-actions-responsive button:hover {
  color: #29abe2;
}

.contacts-details-actions-responsive button:hover img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(98%) saturate(456%)
    hue-rotate(161deg) brightness(96%) contrast(89%);
}
.btn-back{
  display: none;
}