* {
 outline: none;
 box-sizing: border-box;
}

:root {
 --theme-bg-color: rgba(16 18 27 / 40%);
 --border-color: rgba(113 119 144 / 25%);
 --theme-color: #f9fafb;
 --inactive-color: rgb(113 119 144 / 78%);
 --body-font: "Poppins", sans-serif;
 --hover-menu-bg: rgba(12 15 25 / 30%);
 --content-title-color: #999ba5;
 --content-bg: rgb(146 151 179 / 13%);
 --button-inactive: rgb(249 250 251 / 55%);
 --dropdown-bg: #21242d;
 --dropdown-hover: rgb(42 46 60);
 --popup-bg: rgb(22 25 37);
 --search-bg:  #14162b;
 --overlay-bg: rgba(36, 39, 59, 0.3);
 --scrollbar-bg: rgb(1 2 3 / 40%);
}



.appDD {
 top: 180px;
 left: 50px;
 background-color: rgba(0, 0, 0, 0.15);
 max-height: 960px;
 height: 74vh;
 display: flex;
 flex-direction: column;
 overflow: hidden;
 position: relative;
 width: min(1814px, calc(100vw - 100px)); /* 50px left + 50px right */
 margin-right: 50px; /* TOR */
 box-sizing: border-box;
 border-radius: 14px;
 font-size: 15px;
 font-weight: 500;
}

.headerDD {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 58px;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  padding: 0 30px;
  white-space: nowrap;
}


@media screen and (max-width: 480px) {
  .headerDD {
    padding: 0 16px;
  }
}

.headerDD-menu {
  display: flex;
  align-items: center;
}

.headerDD-menu a {
  padding: 20px 30px;
  text-decoration: none;
  color: var(--inactive-color);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}


@media screen and (max-width: 610px) {
  .headerDD-menu a:not(.main-header-link) {
    display: none;
  }
}

.headerDD-menu a.is-active,
.headerDD-menu a:hover {
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
}



.notifyDD {
 position: relative;
}
.notifyDD::before {
 content: "";
 position: absolute;
 background-color: #3a6df0;
 width: 6px;
 height: 6px;
 border-radius: 50%;
 right: 20px;
 top: 16px;
}

.menucircleDD {
 width: 15px;
 height: 15px;
 background-color: #000000;
 border-radius: 50%;
 box-shadow: 24px 0 0 0 #0f0f0f, 48px 0 0 0 #141414;
 margin-right: 195px;
 flex-shrink: 0;
 @media screen and (max-width: 945px) {
  display: none;
 }
}

.searchbarDD {
 height: 40px;
 display: flex;
 width: 100%;
 max-width: 400px;

 border-radius: 4px;
 input {
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(20, 20, 20, 0.45); 
  backdrop-filter: blur(15px);          
  -webkit-backdrop-filter: blur(15px);  
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  padding: 0 20px 0 40px;
  box-shadow: 0 0px 5px rgba(0,0,0,0.3);  
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 16px 48%;
  color: var(--theme-color);
  &::placeholder {
   font-family: var(--body-font);
   color: var(--inactive-color);
   font-size: 15px;
   font-weight: 500;
  }
 }
}



.headerprofileDD {
 display: flex;
 align-items: center;
 padding: 0 16px 0 40px;
 margin-left: auto;
 flex-shrink: 0;
 svg {
  width: 22px;
  color: #f9fafb;
  flex-shrink: 0;
 }
}

.notificationDD {
 position: relative;
}
.notificationDD-number {
 position: absolute;
 background-color: #3a6df0;
 width: 16px;
 height: 16px;
 border-radius: 50%;
 font-size: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 right: -6px;
 top: -6px;
}
.notificationDD + svg {
 margin-left: 22px;
}
@media screen and (max-width: 945px) {
 .notificationDD + svg {
  display: none;
 }
}


.notificationDD + svg,
.notificationDD + a > svg {
  margin-left: 22px;
}


.profileimgDD {
 width: 32px;
 height: 32px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid var(--theme-color);
 margin-left: 22px;

 opacity: 100; 

 animation-delay: 0.5s; 
}

.wideDD {
 .headermenuDD,
 .headerprofileDD {
  display: none;
 }
 .searchbarDD {
  
  max-width: 600px;
  margin: auto;
  transition: 0.4s;
  box-shadow: 0 0 0 1px var(--border-color);
  padding-left: 0;
 }
 .menucircleDD {
  margin-right: 0;
 }
}

.wrapperDD {
 display: flex;
 flex-grow: 1;
 overflow: hidden;
}

.leftsideDD {
 flex-basis: 240px;
 border-right: 1px solid var(--border-color);
 padding: 26px;
 overflow: hidden !important;
 flex-shrink: 0;
 @media screen and (max-width: 945px) {
  display: none;
 }
}

.sidewrapperDD + .sidewrapperDD {
 margin-top: 20px;
}

.sidetitleDD {
 color: var(--inactive-color);
 margin-bottom: 14px;
}

.sidemenuDD {
  display: flex;
  flex-direction: column;
  white-space: nowrap;

  a {
    text-decoration: none;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    font-weight: 400;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    transition: 0.3s;

    &:hover {
      background-color: var(--hover-menu-bg);
    }

    &.active {
      background-color: var(--hover-menu-bg);
    }
  }

  svg {
    width: 16px;
    margin-right: 8px;
  }
}



#contactsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contactCard {
  width: 100%;
  max-width: 280px;
  height: 70px;
  background: rgba(53, 53, 53, 0.85);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 10px;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.contactCard:hover {
  transform: scale(1.03);
  cursor: pointer;
  background: rgba(80, 80, 80, 0.9);
}

.contactCard img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-right: 10px;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.contactName {
  font-weight: 600;
  font-size: 14px;
}

.contactBio {
  font-size: 11px;
  opacity: 0.8;
}


.addContactCard {
  width: 100%;
  max-width: 280px;
  height: 60px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease;
}

.addContactCard:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.addContactCard .plus {
  font-size: 18px;
  font-weight: bold;
}

.addContactCard input {
  width: 80%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  outline: none;
  font-size: 14px;
}


.updatesDD {
 position: relative;
 top: 0;
 right: 0;
 margin-left: auto;
 width: 18px;
 height: 18px;
 font-size: 11px;
}

.mainheaderDD {
 display: flex;
 align-items: center;
 border-bottom: 1px solid var(--border-color);
 height: 58px;
 flex-shrink: 0;
 .headermenuDD {
  margin-left: 150px;
  @media screen and (max-width: 1055px) {
   margin: auto;
  }
  a {
   padding: 20px 24px;
  }
 }
}

.maincontainerDD {
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}

.menulinkmainDD,
.mainheaderlinkDD {
  text-decoration: none;
  color: var(--inactive-color);   
  padding: 20px 24px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

/* Actieve header-link met subtiele pulserende paars + glint */
.mainheaderlinkDD.is-active {
  position: relative;  /* nodig voor pseudo-element */
  color: #ffffff;     /* iets donkerder paars dan feller Tor-paars */
  border-bottom: 2px solid #ffffff;
  animation: pulse-text 2.5s ease-in-out infinite alternate;
}

/* Subtiel pulseren van de kleur */
@keyframes pulse-text {
  0%   { color: #ffffff; }
  50%  { color: #afafaf; } /* lichtere Tor-paars */
  100% { color: #6b6b6b; }
}

/* SHINE EFFECT IN HEADER CONTAINER GRAY GLOW 
.mainheaderlinkDD.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;          
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.2) 50%, 
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shine 4.5s ease-in-out infinite;
  opacity: 0;           
} */

/* Animatie van de glint over de tekst met subtiele fade */
@keyframes shine {
  0%   { left: -525%; opacity: 0; }
  10%  { opacity: 0.05; }
  50%  { opacity: 1; }   /* midden subtiel zichtbaar */
  90%  { opacity: 0.1; }
  100% { left: 1225%; opacity: 0; }
}




.menulinkmainDD:hover,
.mainheaderlinkDD:hover {
  color: var(--theme-color);
}


.contentwrapperDD {
  display: flex;
  flex-direction: column;
  color: var(--theme-color);
  padding: 20px 40px;
  height: 100%;
  overflow: auto;
  background-color: rgb(25, 26, 30)
}


@media screen and (max-width: 510px) {
  .contentwrapperDD {
    padding: 20px;
  }
}


.contentwrapperDD-headerDD {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  overflow: hidden;

  height: 10%;
  width: 100%;
  padding: 20px 40px;

  background:
    radial-gradient(
      140% 180% at 50% -60%,
      rgba(120,115,245,0.18),
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(17, 17, 17, 0.06),
      rgba(27, 27, 27, 0.025)
    ),
    url("tsster.png"),
    #0f0f12;        /* WITHOUT = BLUEIER */

  background-repeat: no-repeat;
  background-position: left 40px center;
  background-size: 90px auto;

  border-radius: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 30px rgba(0,0,0,0.50);

  border: 1px solid rgba(255,255,255,0.06);
}

.contentwrapperDD-headerDD::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background:
    linear-gradient(
      120deg,
      transparent 20%,
      rgba(120,115,245,0.18) 45%,
      rgba(255,255,255,0.30) 50%,
      rgba(120,115,245,0.18) 55%,
      transparent 80%
    );

  transform: translateX(-80%);
  animation: headerGlow 5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}


@keyframes headerGlow {
  0%   { transform: translateX(-80%); }
  40%  { transform: translateX(80%); }
  100% { transform: translateX(80%); }
}


.header-center-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: headerTextIn .6s ease-out both;
  pointer-events: auto; /* klikbaarheden blijven werken */
  white-space: nowrap;
  user-select: text;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  z-index: 2;

  
  text-shadow:
    0 0 10px rgba(120,115,245,0.45),
    0 0 22px rgba(120,115,245,0.25);
}

@keyframes headerTextIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.contentwrapperDD.overlay {
  pointer-events: none;
  transition: 0.3s;
  background-color: var(--overlay-bg);
}


.overlayappDD {
 width: 100%;
 height: 100%;
 position: fixed;
 left: 0;
 top: 0;
 pointer-events: all;
 background-color: rgba(26, 28, 39, 0.8);
 opacity: 0;
 visibility: hidden;
 transition: 0.3s;
 &.is-active {
  visibility: visible;
  opacity: 1;
 }
}

/* ADD CONTACT CSS FRIEND REQ ----------------------------------------------------- */

.friendRequestCard {
  width: 100%;
  max-width: 280px;
  height: 60px;
  background: rgba(40, 40, 40, 0.85);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.friendRequestCard img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 10px;
}

.fr-name {
  flex: 1;
  color: white;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fr-actions {
  display: flex;
  gap: 6px;
}

.fr-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.fr-accept {
  background: #2ecc71;
  color: black;
}

.fr-reject {
  background: #e74c3c;
  color: white;
}

/* ---------------------------------------------------------------------------------*/

.featherfeatherbellDD,
.bi.bi-chat {
  color: white;      
  fill: white;       
  stroke: white;     
}

/* ---------------------------------------------------------------------------------*/

.imgcontentDD {
 position: absolute;
 top: 7px;
 left: 22px;
 font-weight: 500;
 font-size: 17px;
 display: flex;
 align-items: center;
}

.mainiconDD {
  width: 60px;   
  height: 60px;
  margin-right: 8px;
}


.contenttextDD {
 font-weight: 400;
 font-size: 14px;
 margin-top: 24px;
 line-height: 1.7em;
 color: #ebecec;
 display: -webkit-box;
 -webkit-line-clamp: 4;   
 line-clamp: 4;           
 -webkit-box-orient: vertical;
 overflow: hidden;
 text-overflow: ellipsis;
}

.contentwrappercontextDD {
 max-width: 350px;
}

.contentbuttonDD {
background-color: #1d1e24;
background-image: linear-gradient(
  43deg,
    #222329 0%,
    #839ba5 46%,
    #202125 100%
);
 border: none;
 padding: 8px 26px;
 color: #fff;
 border-radius: 20px;
 margin-top: 16px;
 cursor: pointer;
 transition: 0.3s;
 white-space: nowrap;
}

.contentbuttonDD:not(.open):hover {
 background-image: linear-gradient(
  43deg,
    #111111 0%,
    #4b5255 46%,
    #496b7a 100%
);
}


.contentwrapperimgDD {
 width: 186px;
 object-fit: cover;
 margin-top: -10px;
 object-position: center;
 @media screen and (max-width: 570px) {
  width: 110px;
 }
}

.contentsectionDD {
 margin-top: 30px;
 display: flex;
 flex-direction: column;
 &-title {
  color: var(--content-title-color);
  margin-bottom: 14px;
 }
 ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-around;
  background-color: var(--content-bg);
  padding-left: 0;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--theme-bg-color);
  cursor: pointer;
  li {
   list-style: none;
   padding: 10px 18px;
   display: flex;
   align-items: center;
   font-size: 16px;
   width: 100%;
   height: 100%;
   white-space: nowrap;
   transition: 0.3s;
   &:hover {
    background-color: var(--theme-bg-color);
    &:first-child {
     border-radius: 13px 13px 0 0;
    }
    &:last-child {
     border-radius: 0 0 13px 13px;
    }
   }
   & + li {
    border-top: 1px solid var(--border-color);
   }
  }
  svg {
   width: 28px;
   border-radius: 6px;
   margin-right: 16px;
   flex-shrink: 0;
  }
 }
}

.productsDD {
 display: flex;
 align-items: center;
 width: 150px;
 @media screen and (max-width: 480px) {
  width: 120px;
 }
}
.statusDD {
 margin-left: auto;
 width: 140px;
 font-size: 15px;
 position: relative;
 @media screen and (max-width: 700px) {
  display: none;
 }
 &-circle {
  width: 6px;
  height: 6px;
  background-color: #396df0;
  position: absolute;
  border-radius: 50%;
  top: 4px;
  left: -20px;
  &.green {
   background-color: #3bf083;
  }
 }
 &-button {
  font-size: 15px;
  margin-top: 0;
  padding: 6px 24px;
  @media screen and (max-width: 390px) {
   padding: 6px 14px;
  }
  &.open {
   background: none;
   color: var(--button-inactive);
   border: 1px solid var(--button-inactive);
  }
  &:not(.open):hover {
   color: #fff;
   border-color: #fff;
  }
 }
}

/* _____________________________________________________________________________________  */

.TeleCard {
  width: 100%;
  max-width: 280px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: 0.3s ease;

  background-image: url("sneeeuuw.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.TeleCard:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.TeleCard .plus {
  font-size: 18px;
  font-weight: bold;
}

.TeleCard input {
  width: 80%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  outline: none;
  font-size: 14px;
}


.teletitel {
 color: var(--inactive-color);
 margin-top: 268px;
}