
.alertMsg {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 250px;
  width: fit-content;
  gap: 10px;
  color: var(--text-800);
  background-color: var(--background-50-t);
  padding: 12px 20px 12px 12px;
  outline: 2px solid var(--background-200);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px var(--background-200-t);
}

.alertMsg small {
  color: var(--text-800);
  font-family: "Tiny 5", sans-serif;
}

.icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-size: 10p;
}



#alertStack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@keyframes slideFadeBlurInInvertedYOI {
  100% {
    transform: perspective(1000px) rotateX(0deg) translateY(0); 
    opacity: 1;
    filter: blur(0);     
    scale: 100%;                                         
  }
  0% {
    transform: perspective(1000px) rotateX(-30deg) translateY(50%);
    opacity: 0;
    filter: blur(50px);      
    scale: 80%;          
  }
}

@keyframes slideFadeBlurInInvertedYOIX {
  100% {
    transform: perspective(1000px) rotateY(0deg) translateX(0); 
    opacity: 1;
    filter: blur(0);     
    scale: 100%;                                         
  }
  0% {
    transform: perspective(1000px) rotateY(-30deg) translateX(50%);
    opacity: 0;
    filter: blur(50px);      
    scale: 80%;          
  }
}

@keyframes slideFadeBlurInInvertedYOIF {
  0% {
    transform: perspective(1000px) rotateX(0deg) translateY(0); 
    opacity: 1;
    filter: blur(0);     
    scale: 100%;                                         
  }
  100% {
    transform: perspective(1000px) rotateX(-30deg) translateY(50%);
    opacity: 0;
    filter: blur(50px);      
    scale: 70%;          
  }
}


.sidebar-branding h1 {
  margin: 0;
}
.sidebar-branding {
  padding: 10px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 2px solid var(--background-100);
  justify-content: space-between;
}
.sidebar-container {
  display: flex;
  flex-direction: column;
  width: 280px;
  border: 2px solid var(--background-200-t);
  height: calc(100vh - 62px);
  border-top: none;
}
.sidebar-branding img {
  object-fit: cover;
  width: 25px;
}
.sidebar-buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 10px 20px;
}
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar-buttons .button-element {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  border: none;
  background: none;
  padding: 6px 10px;
  transition: 250ms;
}
.sidebar-buttons .button-element.selected {
  background-color: var(--primary-200);
  border: 2px solid var(--primary-300-t);
  transition: 250ms;
}
.button-element p {
  margin: 0;
}
.text-button-element {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

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

.nav-header h1 {
  margin: 0;
}

.main-container {
  display: flex;
  flex-direction: row;

}

main {
  background-color: var(--background-50);
  width: calc(100% - 284px);
}

.button-element {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  background-color: var(--primary-200);
  border: 2px solid var(--primary-300-t);
  padding: 6px 8px;
  transition: 250ms;
  width: fit-content;
}

.button-element.fluid {
  width: unset;
}

.button-element:hover {
  background-color: var(--primary-300);
  border: 2px solid var(--primary-400-t);
  transition: 250ms;
}

.button-element.selected {
  background-color: var(--primary-300);
  border: 2px solid var(--primary-400-t);
  transition: 250ms;
}

.navbar-branding {
  /* width: calc(280px - 21px); */
  width: 240px;
}

.navbar-container {
  justify-content: space-between;
  width: 100%;
}

.navbar-header-container {
  /* width: calc(100% - 280px); */
  width: calc(100% - 240px - 85px);
}

.notification-dropdown {
  position: absolute;
  right: -2px;
  top: 40px;
  padding: 10px;
  background-color: var(--background-400-t);
  backdrop-filter: blur(5px);
  border: 2px solid var(--background-500);
  box-shadow: 0 0 10px inset var(--background-600-t);
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: default;
  z-index: 100;
  max-height: 70vh;
  overflow-y: auto;
}

.notification-dropdown p {
  text-align: right;
}

.navbar-header-container .button-element {
  position: relative;
}


.notifications-list-element-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notifications-list-element-text p, small {
  margin: 0;
  font-family: "Ubuntu Mono", monospace !important;
  text-align: left !important;
}

.notifications-list-element-text small:last-child {
  color: var(--text-900);
}

.notifications-list-element-text small {
  color: var(--text-800);
}


.notifications-list-element {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
  background-color: var(--background-200-t);
  backdrop-filter: blur(5px);
  border: 2px solid var(--background-300);
  box-shadow: 0 0 10px inset var(--background-400-t);
}

.notifications-list-element:hover {
    background-color: var(--background-400-t);
  backdrop-filter: blur(5px);
  border: 2px solid var(--background-500);
  box-shadow: 0 0 10px inset var(--background-600-t);
}
.notification-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.notification-dropdown-list small {
  color: var(--text-800);
  text-align: center;
}

.logs-page-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}
.logs-list-element {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  cursor: pointer;
}
.logs-list-element-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 550px;
}
.logs-list-element-text p, small {
  margin: 0;
  font-family: "Ubuntu Mono", monospace !important;
}
.logs-list-element-text small {
  color: var(--text-800);
}
.logs-list-element:hover {
  background-color: var(--background-200-t);
  border: 2px solid var(--background-300);
  box-shadow: 0 0 10px inset var(--background-400-t);
}


.logs-page-list {
  height: calc(100% - 40px);
  overflow-y: scroll;
}

.page {
  height: 100%;
}

.main-container {
  height: 100vh;
}

main {

  height: calc(100vh - 64px);
}

.sidebar-container {
  height: calc(100vh - 64px);
}


.nodes-page-list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: calc(100% - 40px);
  padding: 20px;
  gap: 10px;
  width: 35%;
}
.nodes-page {
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: space-between;
}
.node-list-element {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.node-list-element p {
  margin: 0;
}
.node-list-element-text-element {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: calc(100%/3);
}

.node-list-element-text-element p {
  color: var(--text-800);
  width: fit-content;
}

.node-list-element-text-element:first-child p:first-child {
  font-weight: bold;
  color: var(--text-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  max-width: 100%;
}

.node-list-element:hover {
  background-color: var(--background-200-t);
  border: 2px solid var(--background-300);
  box-shadow: 0 0 10px inset var(--background-400-t);
}

.node-add-dropdown {
  position: fixed;
  top: 40px;
  /*! width: 600px; */
  z-index: 100;
  padding: 10px;
  left: -2px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.node-add-dropdown p {
  margin: 0;
  width: 500px;
}
.dropdown-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /*! width: 100%; */
}
.text.medium.codeText-text {
}
.text.medium.codeText-text {
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  padding: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  font-family: "Ubuntu Mono", monospace !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
  word-break: break-all;
  max-width: 100%;
  max-height: 200px;
  overflow-y: auto;
}
.codeText {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text-800);
}


.clients-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vpn-client-chip {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  align-items: center;
}
.vpn-client-chip-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 60%;
  align-items: center;
}
.vpn-client-chip-info-section p {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  margin: 0;
  color: var(--accent-950);
}
.vpn-client-chip-info-section {
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vpn-client-chip-info-section p:first-child {
  color: var(--accent-900-t);
}
.vpn-page {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vpn-client-chip:hover {
  background-color: var(--background-200-t);
  border: 2px solid var(--background-300);
  box-shadow: 0 0 10px inset var(--background-400-t);
}

.add-client-dropdown {
  position: fixed;
  top: 40px;
  /*! width: 600px; */
  z-index: 100;
  padding: 10px;
  left: -2px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.add-client-dropdown p {
  margin: 0;
  width: 300px;
}


.text-input-element {
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--text-950);
  font-family: "Ubuntu Mono", monospace !important;
  text-align: left !important;
  width: 100%;

}
.text-input-element-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--primary-200);
  border: 2px solid var(--primary-300-t);
  padding: 6px 8px;
  transition: 250ms;
    cursor: text;
}
.text-input-element-container:has(.text-input-element:focus) {
  background-color: var(--background-400-t);
  border: 2px solid var(--background-500);
  box-shadow: 0 0 10px inset var(--background-600-t);
}

.clients-list {
overflow-y: auto;
}
.vpn-page {
height: calc(100vh - 62px - 50px);
}

.vpn-client-chip-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}


.overlay-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: var(--background-100-t);
  border: 2px solid var(--background-200);
  box-shadow: 0 0 10px inset var(--background-200-t);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  /* Use space to separate, and translateY for the second value */
  transform: translate(-50%, -50%);
}
.overlay-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.overlay-container p {
  margin: 0;
  max-width: 300px;
}

.bargraph-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  height: 100%;
}
.data-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border: 2px solid var(--background-200);
  width: 500px;
  height: 200px;
}
.dash-page {
  padding: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
}
.data-container p {
  margin: 0;
}
.graph-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 10px;
}
.scale-stepping-container {
  width: fit-content;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
}
.graph-content:last-child {
  width: calc(100% - 30px);
}
.bargraph-bar {
  background-color: var(--secondary-950);
  width: 12px;
}

.graph-content:only-child {
  width: 100%;
}

.graph-content.double {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.graph-content.double .bargraph-container:last-child {
  align-items: flex-start;
}
.graph-content.double .bargraph-container:last-child .bargraph-bar {
  background-color: var(--secondary-950-t);
}


.data-container-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.data-container-info p {
  color: var(--text-800);
}


.form h1 {
  margin: 0;
}
.form p {
  margin: 0;
}
.form-fields-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.navbar-element-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 180px;
  align-items: center;
  z-index: 100;
  background-color: var(--background-100-t);
  backdrop-filter: blur(15px);
  position: fixed;
  width: calc(100vw - 2*(180px));
  border-bottom: solid 2px var(--background-300-t);
  top: 0;
  left: 0;
}
.navbar-element-container img {
  height: 35px;
}
.navbar-navigation-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}

.navbar-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}
.navbar-branding img {
  object-fit: contain;
  height: 30px;
}
.navbar-branding h1 {
  margin: 0;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100vw - 420px);
}
.section-content h1, p {
  margin: 0;
}
.section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 160px 0;
  position: absolute;
}


.section-content-element {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-content-element small {
  font-family: "Tiny5", sans-serif !important;
  color: var(--text-800);
  margin-bottom: 20px;
}