/* Left Contact List Container*/
.contactListContainer {
  width: 440px;
  height: 100%;
  box-shadow: 4px 0 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  @media (max-width: 820px){
    width: 820px;
    align-items: flex-start;
  }
}

.topContactList {
  width: 400px;
  height: 112px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contact List Button / Top Container */
.addNewContactBtn {
  width: 100%;
  height: 56px;
  background-color: var(--bg-clr-light-blue);
  border: 0;
  border-radius: 10px;
  font-size: 23px;
  color: var(--font-clr-white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.addNewContactBtn:hover {
  background-color: var(--bg-color-blue-hover);
}

.addNewContactIcon {
  width: 32px;
  height: 32px;
}

.bottomContactList {
  width: 400px;
  height: calc(100% - 112px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-color);
}

.letterCategories {
  width: 350px;
  height: 32px;
  font-size: 22px;
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 24px;
}

.seperatorLine {
  width: 340px;
  height: 1px;
  background-color: #D1D1D1;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Contact List Single Item / Bottom Container */
.backgroundColorBlue {
  background-color: #4589FF !important;
  color: white !important;
}

.contactListSingleContactItemContainer {
  width: 350px;
  height: 80px;
  display: flex;
  justify-content: start;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 16px;
  gap: 32px;
}

.contactListSingleContactItemContainer:hover {
  background-color: var(--sidebar-hover-clr);
}

.contactListSingleContactItemContainer:active::before {
    background-color: var(--bg-color-blue);
}

.contactListSingleContactItemProfilePicture {
  width: 42px;
  height: 42px;
  background-color: orange;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--font-clr-white);
  border: 2px solid var(--font-clr-white);
  margin-left: 8px;
}

.contactListSingleContactItemInfoContainer {
  width: auto;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.contactListSingleContactItemName {
  font-size: 19px;
}

.contactListSingleContactItemEmail {
  color: var(--font-clr-light-blue);
}

/* Right Contact Details Container*/
.contactDetailsContainer {
  width: calc(100% - 440px);
  height: 100%;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
}

.upperContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}
.circle {
  margin-top: 52px;
  width: 100px;
  height: 100px;
  background-color: #4caf50;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  font-size: 47px;
}
.nameAndIcons {
  margin-top: 70px;
}
.editAndDeleteIcon {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.editIcon {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 6px;
}
.deleteIcon {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 6px;
}
h1 {
  margin-bottom: 0px;
  margin-top: 23px;
}

.h2ForContactInformation {
  color: black;
}

.headerTitle {
  cursor: pointer;
}

.headerProfileLetter {
  cursor: pointer;
}

.dropDownBar {
  top: 100px;
  display: none;
  position: absolute;
  flex-direction: column;
}

.dropDownItem {
  color: #42526e;
  text-decoration: none;
  display: block;
  text-align: end;
}

.activ {
  padding: 10px;
  width: 125px;
  height: 90px;
  display: flex;
  gap: 8px;
  font-size: 19px;
  font-weight: 400;
  border-radius: 20px 0px 20px 20px;
  box-shadow: 0 4px 10px rgb(0, 0, 0, 0.3);
  align-items: end;
  @media (max-width: 430px){
    height: 128px;
  }
}

.textForDropDownOverlay{
  @media (max-width: 950px){
    color: #4589FF;
  }
  
}


/* POPUP */

.contactsOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.747); /* overlay background */
  z-index: 1000; /* over all elements */
}

/* Pop-up Container right side */
.popUpAddNewContact {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  height: 100vh;
  background-color: white;
  border-radius: 30px 0px 0px 30px;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1001; /* Pop-up Overlays Header */
  overflow: hidden;
  @media (max-width: 950px){
    width: 950px;
  }
  @media (max-width: 833px){
    width: 833px;
  }
  @media (max-width: 720px){
    width: 720px;
  }
  @media (max-width: 620px){
    width: 620px;
  }
  @media (max-width: 531px){
    width: 531px;
  }
  @media (max-width: 463px){
    width: 463px;
  }
  @media (max-width: 400px){
    width: 400px;
  }
  @media (max-width: 350px){
    width: 350px;
  }

}

/* Pop-up Top Blue-Area */
.popUpTop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #005dff;
  width: 100%;
  color: white;
  height: 35%;
}


/* popUp Edit Contact  */
.overlayEditContact{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.747); /* overlay background */
  z-index: 1000; /* over all elements */
}


.popUpEditContact {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 100vh;
  background-color: white;
  border-radius: 0px 30px 0px 30px;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1001; /* Pop-up Overlays Header */
  overflow: hidden;
}


.popUpBottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #005dff;
  width: 100%;
  color: white;
  height: 35%;
}

.logoAddContact {
  width: 55px;
  height: 66px;
  margin-bottom: 20px;
}

.addContactText {
  font-size: 28px;
  font-weight: bold;
  text-align: center;

}

.addContactTextBottom{
    font-size: 20px;
  text-align: center;

}

/* sidebar ab 1050px footer */

/* Pop-up Bottom, for the rest of the content  */
/* .popUpBottom {
  padding: 20px;
} */

/* X */
.closePopupIcon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 16px;
  height: 24px;
  cursor: pointer;
}


/* add new contact form */
.profileImg {
  background-color: #d1d1d1;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  margin: 60px auto 20px;
}


.contactForm {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.inputGroup {
  width: 70%;
  display: flex;
  align-items: center;
  /* border-bottom: 1px solid #ccc; */
  margin-bottom: 15px;
  position: relative;
  margin: 0px 40px 20px 40px;
}

#name {
  border-bottom: 1px solid #ccc;
}

#name:focus {
  border-bottom: 1px solid #005dff;
}

#name:hover {
  border-bottom: 1px solid #005dff;
}

#email {
  border-bottom: 1px solid #ccc;
}

#email:focus {
  border-bottom: 1px solid #005dff;
}

#email:hover {
  border-bottom: 1px solid #005dff;
}

#phone {
  border-bottom: 1px solid #ccc;
}

#phone:focus {
  border-bottom: 1px solid #005dff;
}

#phone:hover {
  border-bottom: 1px solid #005dff;
}

.contactForm input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
}


.contactFormIcon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}


.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}


.cancelContactBtnOverlay {
  background-color: #f5f5f5;
  border: 1px solid #d8dbe1;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  color: #647188;
}


.saveContactBtn {
  background-color: #4589ff;
  border: none;
  color: white;
  padding: 15px 40px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}


.createContactBtn {
  background-color: #4589ff;
  border: none;
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.EmailInContactInformation {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.PhoneInContactInformation {
  display: flex;
  flex-direction: column;
}