#email {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
}

.view-content {
  display: none;
}

.sections[data-active-view="nodes"] .view-nodes,
.sections[data-active-view="services"] .view-services {
  display: block;
}

.box-nodes {
  background-color: #1D221D;
}

.box-node-options {
  margin-bottom: 30px;
}

.node-entry {
  display: flex;
  flex-direction: column;
  background-color: #3b5437e9;
  border-radius: 5px;
  padding: 10px;
}

.node-entry-header {
  display: flex;
  gap: 10px;
}

.node-entry-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
}

.btn-node {
  display: flex;
  flex: 1;
  background-color: #4f7b46;
  border-radius: 5px;
  padding: 8px 0px 8px 15px;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.btn-node.expanded {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.btn-node-desc {
  font-size: 0.8rem;
  opacity: 0.6;
}

.btn-node-options-expand {
  display: flex;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 8px;
  padding-top: 10px;
  align-items:start;
  text-decoration: none;
  cursor: pointer;
}

.node-options-arrow {
  width:30px;
  /* margin:auto 0px; */
  transition: transform 0.2s ease;
  transform: rotate(-90deg);
}
.node-options-arrow.expanded {
  transform: rotate(0deg);
}

.node-entry-actions {
  display:none;
  flex-direction: column;
  background-color: #00000040;
  border-radius: 5px;
  border-top-left-radius: 0px;
  padding: 10px;
  gap: 12px;
}

.node-entry-actions.expanded {
  display: flex;
}

.node-options-row {
  display: flex;
  gap: 8px;
}

.node-action-btn {
  display: flex;
  flex: 1;
  padding: 12px 16px;
  background-color: #4f7b46;
  border: none;
  border-radius: 5px;
  color: #f0f0f0;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* .node-action-btn:hover {
  background-color: #4a6b44;
} */

/* QR Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  max-height: 90%;
}

.modal-content h3 {
  margin-bottom: 20px;
  color: #6b8e63;
}

.modal-close {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: #444;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.modal-close:hover {
  background-color: #555;
}

#qr-code-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

#scanner-container {
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

#btn-create-node {
  padding: 10px;
}

/* Auth Modal Tabs */
.auth-mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  background-color: #3a3a3a;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s;
}

.auth-tab:first-child {
  border-radius: 5px 0 0 5px;
}

.auth-tab:last-child {
  border-radius: 0 5px 5px 0;
}

.auth-tab:hover {
  background-color: #444;
}

.auth-tab.active {
  background-color: #4f7b46;
  color: #f0f0f0;
}

.auth-mode-content {
  min-height: 300px;
}

#auth-link-input {
  box-sizing: border-box;
}

@media screen and (max-width: 960px) {
  .page {
    display: flex;
    flex-direction: column;
  }

  #sidebar_account {
    width: auto;
    position: static;
    padding: 8px 8px 0 8px;
  }

  #sect_options {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
    z-index: 1000;
    margin: 0 0 8px 0;
  }
}