﻿aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-sec {
  text-align: center;
  padding: 25px 0;
}

aside .logo-sec img {
  height: 145px;
  aspect-ratio: 1;
}

aside .side-links hr {
  margin: 20px 0;
}

.side-links .side-logo {
  margin: 20px;
}

.side-links .side-logo img {
  display: block;
  width: 90%;
}

.dash-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

.dash-links .dash-link.active {
  background-color: var(--pinkish-red);
}

.dash-links .dash-link:hover {
  background-color: var(--pinkish-red);
}

.dash-links .dash-link.active a, .dash-links .dash-link:hover a {
  color: var(--white);
}

.dash-link.active img, .dash-link:hover img {
  filter: brightness(0) invert(1); /* Turns black SVGs to white */
}

.dash-links li {
  list-style-type: none;
  border-radius: 15px;
}

.dash-links li a {
  display: flex;
  justify-content: start;
  padding: 8px 16px;
  gap: 15px;
  align-items: center;
  font-family: var(--font-product-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  color: var(--ash-gray);
  text-decoration: none;
}

.support {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

h3.support {
  padding: 8px 16px;
  color: var(--ash-gray);
}

/* .support h3{
    padding: 8px 16px;
    color: var(--ash-gray);
}

.support .sp-links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
} */
/* .sp-links li{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    list-style-type: none;
    padding: 8px 16px;
    border-radius: 15px;
} */
/* .sp-links li a{
    font-family: var(--font-product-sans);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    color: var(--ash-gray);
    text-decoration: none;
} */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--white);
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

hr {
  color: var(--ash-gray);
  height: 1px;
  width: 100%;
}

@media (max-width: 768px) {
  .sidenav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-backdrop-filter: blur(4px); /* For Safari support */
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s ease-in-out;
    padding-bottom: 40px;
  }
  .sidenav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 3;
  }
  .sidenav-links.show .close-btn {
    display: block;
    top: 20px;
    right: 30px;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* drop shadow */
    transition: box-shadow 0.3s ease;
    width: 32px;
    aspect-ratio: 1;
  }
  .close-btn {
    display: block;
  }
}
