@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--app-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  user-select: none;
}

.action-button {
    padding: 8px 16px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    background-color: var(--app-color);
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.action-button:hover {
    background-color: var(--deep-app-color);
    transform: translateY(-2px);
}

.submit-btn {
    padding: 8px 16px;
    font-size: 16px;
    margin: 0 auto;
    width: 100%;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background-color: var(--app-color);
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.submit-btn:hover {
    background-color: var(--deep-app-color);
    transform: translateY(-2px);
}

.fixed-action-button {
    position: fixed;
    bottom: 22%;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: var(--app-color);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.fixed-action-button svg {
   position: absolute;
   transform: translate(-50%, -50%);
   bottom: 4%;
   right: 50%;
   left: 45%;
}

.fixed-action-button:hover {
    background-color: var(--deep-app-color);
    transform: translateY(-2px);
}

::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--app-color);
  border-radius: 20px;
}

@media (max-device-width: 768px) {
  ::-webkit-scrollbar {
    display: none;
  }
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--text-color);
    z-index: 10000;
    animation: loading 2s linear infinite;
}

@keyframes loading {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}


.loading-indicator {
  font-size: 60px;
  color: var(--app-color);
}

.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  color: var(--text-color);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  z-index: 800;
}

.avatar {
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--avatar-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-align: center;
  margin: 0 10px;
  position: absolute;
  right: 0px;
}

#in-app-notification {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  background-color: var(--notification-alert-bg);
  width: 95%;
  font-size: 15px;
  padding: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  border-radius: 10px;
  display: none;
  z-index: 99999;
}

.notification-alert,
.password-mismatch-alert {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  background-color: var(--notification-alert-bg);
  width: 95%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 15px;
  padding: 5px;
  text-align: center;
  border-radius: 10px;
  display: none;
  z-index: 99999;
}

.anonymous-chat-alert {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  background-color: var(--notification-alert-bg);
  width: 95%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 15px;
  padding: 5px;
  text-align: center;
  border-radius: 10px;
  display: none;
  z-index: 99999;
}

.page-header {
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.page-header-ellipsis {
  color: var(--text-color);
  font-size: 25px;
  cursor: pointer;
  right: 10px;
  position: absolute;
}

.page-header-back-arrow {
  color: var(--text-color);
  font-size: 25px;
  cursor: pointer;
  position: absolute;
  left: 20px;
}

.bottom-nav {
    padding: 10px 1px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #666;
    background-color: var(--bg-color);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--sub-text-color);
    text-align: center;
}

.nav-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--sub-text-color);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

#active {
  color: var(--app-color);
}

.floating-input-content {
  width: 100%;
  position: relative;
}

.floating-input {
  font-size: 14px;
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  caret-color: var(--app-color);
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--app-color);
  border-radius: 10px;
  box-sizing: border-box;

  &:focus {
    outline: none;
    border: 2px solid var(--app-color);

    ~.floating-label {
      top: -8px;
      font-size: 13px;
      color: var(--app-color);
    }
  }
}

.floating-input:not(:placeholder-shown)~.floating-label {
  top: -8px;
  font-size: 13px;
}

.floating-input-error {
  font-size: 14px;
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  caret-color: var(--app-color);
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid red;
  border-radius: 10px;
  box-sizing: border-box;

  &:focus {
    outline: none;
    border: 2px solid red;

    ~.floating-label {
      top: -8px;
      font-size: 13px;
      color: red;
    }
  }
}

.floating-input-error:not(:placeholder-shown)~.floating-label {
  top: -8px;
  font-size: 13px;
}


.floating-textarea-content {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.floating-textarea {
  font-size: 14px;
  display: block;
  width: 100%;
  height: 80px;
  padding: 6px 10px;
  caret-color: var(--app-color);
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--app-color);
  border-radius: 10px;
  resize: none;
  box-sizing: border-box;

  &:focus {
    outline: none;
    border: 2px solid var(--app-color);

    ~.floating-label {
      top: -8px;
      font-size: 13px;
      color: var(--app-color);
    }
  }
}

.floating-textarea:not(:placeholder-shown)~.floating-label {
  top: -8px;
  font-size: 13px;
}

.floating-label {
  color: var(--text-color);
  font-size: 13px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 12px;
  top: 10px;
  padding: 0 5px;
  background: var(--bg-color);
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.hand-icon {
  font-size: 40px;
  text-align: center;
  color: var(--app-color);
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(20px);
  }

  60% {
    transform: translateY(10px);
  }
}

.empty-filter-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.view-all-messages{
    color: var(--app-color);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}