@font-face {
  font-family: 'Helvetica Roman';
  src: url('../fonts/Helvetica Roman.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

body {
  font-family: 'Wix Madefor Text', sans-serif;
  background-color: #181818;
  color: #f6f6f6;
}

main {
  overflow-y: auto;
  scroll-behavior: smooth;
  max-height: calc(100vh - 200px); /* Adjust based on your header/footer height */
}

#sidebar-email {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff; /* White text for contrast */
  background-color: #4a52c4; /* Background color matching buttons */
  padding: 10px;
  border-radius: 5px; /* Rounded corners */
  text-align: center; /* Center align the text */
  margin-top: 10px; /* Add spacing above the email */
  cursor: pointer; /* Show a pointer cursor */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Add subtle shadow for depth */
  transition: background-color 0.3s ease; /* Smooth transition for hover effects */
  
  /* Truncation styles */
  white-space: nowrap; /* Prevents text from wrapping to a new line */
  overflow: hidden; /* Hides overflowed content */
  text-overflow: ellipsis; /* Displays '...' for overflowed text */
}


/* Hover effect for the email */
#sidebar-email:hover {
  background-color: #626cd6; /* Lighter shade on hover */
}

/* Hidden context menu */
.context-menu {
  display: none; /* Initially hidden */
  position: absolute;
  bottom: 60px; /* Position above the email container */
  left: 20px;
  background-color: #3a3a3a; /* White background for the menu */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
  border-radius: 5px; /* Rounded corners */
  z-index: 1000; /* Ensure it appears on top */
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

/* Common styles for context menu buttons */
.context-menu button {
  background-color: #696969; /* Default blue color for other buttons */
  color: white;
  border: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-bottom: 10px; /* Add space between buttons */
}

/* Hover effect for context menu buttons */
.context-menu button:hover {
  background-color: #787878; /* Slightly darker blue on hover */
}

/* Specific styles for the "Delete Account" button */
#delete-account-button {
  background-color: #e63939; /* Red delete account button */
}

#delete-account-button:hover {
  background-color: #c32f2f; /* Darker red on hover for delete account button */
}

/* Remove the margin on the last button to avoid unnecessary spacing */
.context-menu button:last-child {
  margin-bottom: 0;
}


.delete-account-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 99999!important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.delete-account-modal-content {
  background-color: #2b2b2b;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Centering the modal */
  position: absolute; /* Or fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.delete-modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.delete-modal-close:hover,
.delete-modal-close:focus {
  color: rgb(255, 47, 47);
  text-decoration: none;
}

.delete-account-modal-button {
  background-color: #e63939;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 10px 20px 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.delete-account-modal-button:hover {
  background-color: #c32f2f;
}

.cancel-account-modal-button {
  background-color: #5a5a5a;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 10px 20px 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.cancel-account-modal-button:hover {
  background-color: #3e3e3e;
}



/* Sidebar container for positioning */
.bottom-container {
  position: absolute;
  bottom: 10px; /* Push the container 10px above the bottom edge */
  left: 15px; /* Add explicit left positioning */
  width: calc(100% - 40px); /* Reduce the width to account for left and right padding */
  display: flex;
  flex-direction: column; /* Stack items vertically */
  gap: 10px; /* Add spacing between items */
  padding: 10px; /* Add internal padding for spacing from edges */
  box-sizing: border-box; /* Ensure padding is included in the dimensions */
}

/* Button styles */
#sign-in-button {
  position: absolute;
  top: 10px;
  right: 20px;
  background-color: #626cd6;
  color: white;
  border: none;
  z-index: 1;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}



/* Hover effects for sign-in button */
#sign-in-button:hover {
  background-color: #4a52c4; /* Darker shade on hover */
}

/* Active (tapped) state */
#sign-in-button:active {
  transform: scale(0.95); /* Slightly shrink button on tap */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); /* Add a shadow for depth */
}

/* Optional: Add a focus outline for accessibility */
#sign-in-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}



.android-badge {
  display: none;
}

@media only screen and (max-width: 760px) {
  .android-badge {
    display: block;
  }

  .google-app {
    position: fixed;
    height: 3rem;
    bottom: 90px; /* Adjust this value to position the badge */
    right: 40px; /* Adjust this value to position the badge */
  }
}

.iphone-badge {
  display: none;
}

@media only screen and (max-width: 760px) {
  .iphone-badge {
    display: block;
    width: 20px;
  }

  .iphone-app {
    position: fixed;
    height: 8rem;
    bottom: 52px; /* Adjust this value to position the badge */
    right: 220px; /* Adjust this value to position the badge */
  }
}

body.conversations  {
  font-family: 'Wix Madefor Text', sans-serif;
  background-color: rgba(0, 0, 0, 0.916);
  color: #f6f6f6;
}


#footer.hide {
  display: none;
}


.icon {
  border-radius: 20px;
}


.logo a:focus,
.logo a:active {
  outline: none;
  box-shadow: none;
}


button:focus,
button:active {
  outline: none;
  box-shadow: none;
}


/* Your CSS styles here */
.hidden {
  display: none;
}

/* Additional styling for the cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background-color: #3c3e50;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#cookie-banner p {
  margin: 0;
  font-size: 14px;
}

#close-banner {
  position: absolute;
  top: 5px; /* Adjust top position as needed */
  right: 5px; /* Adjust right position as needed */
  background-color: #4e4e4e82;
  border-radius: 50%;
  font-size: 14px;
  color: white;
  padding: 0px 7px;
  margin: 5px;
}


@media only screen and (max-width: 760px) {
  #close-banner {
    margin-bottom: 50px;
  }

  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background-color: #3c3e50;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
}

#cookie-banner a {
  color: rgb(142, 142, 142);
  text-decoration: underline;
  margin-left: 5px;
}

#accept-cookie {
  padding: 5px 20px;
  margin: 5px;
  margin-top: 20px;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  background-color: #4889c6;
  color: rgb(226, 226, 226);
}



.container {
  max-width: 960rem;
  margin: 0 auto;
  padding: 20rem;
}

#header {
  position: absolute;
  text-align: center;
  z-index: 1;
  top: -100px;
  margin-left: 170px;
  margin-bottom: 0;
  padding-top: 5px;
  padding-bottom: 0;
  padding-left: 10px;
  width: auto;
  z-index: -1;
}

.space {
  display: inline-block;
  width: 15px; /* Adjust this value for desired spacing */
}


.hidden {
  display: none;
}

.logo {
  display: inline-block;
  vertical-align: middle;
}

.besa-logo {
  display: none;
}

.title {
  font-size: 54px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  margin-left: -30px;
  margin-top: -20px;
  letter-spacing: -2px;
  padding-right: 10px;
  color: white; /* White color for all text */
}

.handwriting {
  font-family: "Dancing Script", cursive; /* Example handwriting font */
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: appearLetter 0.4s ease-in-out forwards;
  animation-delay: calc(0.2s * var(--delay)); /* Delay based on letter order */
}

.space {
  width: 10px; /* Space between words */
}

@keyframes appearLetter {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




dialog {
  padding: 20px;
  background-color: #f0f0f0;
}



#footer {
  background-image: linear-gradient(to right, #1a1b1b, #141415);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 12%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: left 0.3s ease; /* Add transition for smooth movement */
}



.box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 52rem; /* Adjust this margin for the base design */
  margin-bottom: 3.1rem; /* Equivalent to 50px for the base font size of 16px */
}

/* Media queries for different screen sizes */
@media only screen and (max-width: 1440px) {
  .box {
    margin-right: 40rem; /* Adjust this margin for other desktop devices */
  }

  .sidebar-active .box {
    margin-left: 10rem;
     /* Adjusted to align links to the right when the sidebar is active */
  }
}

.besa-logo-footer {
  height: 2rem;
  border-radius: 5rem;
  margin-right: 1rem;
}

.text-footer {
  font-size: 19px;
  width: 7rem;
  margin-bottom: -1px;
  font-family: "Helvetica", Sans-Serif;
  color: #d4d4d4e5;
}

.original-footer {
  font-size: 13px;
  position: absolute;
  bottom: 1px;
  left: 52%;
  transform: translateX(-50%);
}

.footer-links {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 55px;
  display: flex;
  right:20px;
  align-items: center;
}

.sidebar-active .footer-links {
  position: absolute;
  right:2px;
  width: auto;
  overflow-x: auto;
  white-space: nowrap;
}

/* Styles for the elements when the sidebar is active */
.sidebar-active .original-footer {
  left: 580px; /* Adjusted to move the original-footer to the left when the sidebar is active */
  transform: translateX(0); /* Remove the previous transform */
}

.sidebar-active .box {
  margin-right: 80rem;
   /* Adjusted to align links to the right when the sidebar is active */
}

.footer-link {
  width:10rem;
  margin:0;
  padding: 0;
}

.footer-link a {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.footer-link a:hover {
  text-decoration: underline;
}


#excel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #fbfbfbd9;
  border: none;
  padding: 5px 0 3px 0;
  border-radius: 4px;
  cursor: pointer;
  left: 754px;
  top: -49px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  border-radius: 200px;
  z-index: 1;
}


#pdf {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #fbfbfbd9;
  border: none;
  padding: 5px 8px 3px 7px;
  border-radius: 4px;
  cursor: pointer;
  left:835px;
  top: -78.9px;
  transition: backgrou9(0, 0, 0, 0.3);
  border-radius: 200px;
  z-index: 1;
}

#word {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #fbfbfbd9;
  border: none;
  padding: 8px 10px 4px 7px;
  border-radius: 4px;
  cursor: pointer;
  left: 794px;
  top: -108px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  border-radius: 200px;
  z-index: 1;
}


#excel:hover, #pdf:hover, #word:hover  {
  background-color: #fbfbfbd9;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
}


#excel:hover::before {
  content: "Shkarkoni tabelën si skedar Excel";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;
  background-color: #d8d8d8bd;
  color: #000000;
  padding: 1px;
  border-radius: 4px;
  font-size: 11px;
}

#pdf:hover::before {
  content: "Shkarkoni përgjigjen si skedar PDF";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;
  background-color: #d8d8d8bd;
  color: #000000;
  padding: 1px;
  border-radius: 4px;
  font-size: 11px;
}

#word:hover::before {
  content: "Shkarkoni përgjigjen si skedar në Word";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;
  background-color: #d8d8d8bd;
  color: #000000;
  padding: 1px;
  border-radius: 4px;
  font-size: 11px;
}


#excel img {
  height: 21px;
  padding: 0 0 3px 0;
}


#pdf img {
  height: 21px;
  padding: 0 0 3px 0;
}

#word img {
  height: 17px;
  padding: 0 0 3px 0;
}

#loading-overlay {
  display: none;
}

/* CSS for the Custom Spinner */
.loader {
display: none;
}


/* Media queries for mobile devices */
@media (max-width: 768px) {
.hide {
  display: none;
}


body {
  font-family: 'Wix Madefor Text', sans-serif;
  background-image: linear-gradient(to right, #131212 0%, rgb(23, 21, 21) 100%);
  color: #f6f6f6;
}

body.conversations  {
  font-family: 'Wix Madefor Text', sans-serif;
  background-image: linear-gradient(to right, #131212 0%, rgb(23, 21, 21) 100%);
  color: #f6f6f6;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  display: block;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's above other content */
}

.loader {
  width: 40px;
  height: 40px;
  border: 5px dotted #FFF;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  left:180px;
  top:270px;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 

.cookie_box h3 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-size: 20px;
  margin-bottom: 20px;
}

.cookie_box button {
  padding: 4px 10px;
  background: #027cb7;
  color: #fff;
  font-size: 12px;
  border: 0;
  outline: 0;
  cursor: pointer;
}


.cookie_box button:focus {
  background: #054d6f;
}
  
  .box {
    position: absolute;
    top: 0;
    left: 0;
    margin-top:0.4rem
  }


  .sidebar-active .box {
    margin-right: 10rem;
     /* Adjusted to align links to the right when the sidebar is active */
  }

  .sidebar-active .footer-links {
    font-size: 9px;
    flex-wrap: nowrap;
    left:-8px;
    justify-content: flex-start;
    margin-bottom: 3rem;
    width: auto;
    overflow-x: auto;
    white-space: nowrap;
  }
  .footer-links {
    font-size: 9px;
    flex-wrap: nowrap;
    left:5px;
    margin-left: 40px;
    justify-content: flex-start;
    margin-bottom: 3rem;
    width: auto;
    overflow-x: auto;
    white-space: nowrap;
  }
  /* Styles for the elements when the sidebar is active */
  .sidebar-active .original-footer {
    left: 0%;  
  }

  .original-footer {
    position: absolute;
    top:65px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 9px; /* Adjust the font size as needed */
  }

  .besa-logo-footer {
display: none;
  }



.footer-link a {
  font-size: 9px;
  width: auto;
}

  .text-footer {
display: none;
  }

  #footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 12%;
    margin-top: 10px;
    z-index: -1;
    background-color: rgba(22, 22, 22, 0.951);
  }

#word {
  left: 220px;
  z-index: 1;
  top:-109px;
}
#excel {
  left: 260px;
  top:-49px;
  z-index: 1;
}
#pdf {
  left: 300px;
  top:-79px;
  z-index: 1;
}

#excel:hover::before {
  content: "Shkarkoni tabelën si skedar Excel";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;
}

#pdf:hover::before {
  content: "Shkarkoni përgjigjen si skedar PDF";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;

}

#word:hover::before {
  content: "Shkarkoni përgjigjen si skedar në Word";
  display: inline-block;
  position: absolute;
  top: 40px;
  left: -50px;
}


#excel img {
  height: 22px;
  padding: 0 0 3px 0;
}


#pdf img {
  height: 22px;
  padding: 0 0 3px 0;
}

#word img {
  height: 18px;
  padding: 0 0 3px 0;
}
}



