/* notes-page.css */

.notes-table {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-dim);
    border-collapse: separate;
    border-spacing: 12px; 
    width: fit-content;
    width: 82vw;
}

.notes-table td {
    padding: 0;
}

.notes-table button {
    background: var(--card-bg);
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.notes-table button:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-1px);
}

.note-cards {
  position: absolute;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 10px;
  color: var(--text-dim);
  width: 320px;
  left: 18%;
  top: 26%;
}

.note-card-forums {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.note-card-forums label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 1px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.note-card-forums textarea,
.note-card-forums select {
  width: 100%;
  padding: 4px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.2);
  color: inherit;
  font-family: inherit;
  font-size: 0.8rem;
  resize: none;
  line-height: 1.2;
}

.note-card-forums textarea {
  height: auto;
  min-height: 24px;
  max-height: 60px;
  overflow-y: auto;
}

.note-card-forums textarea:focus,
.note-card-forums select:focus {
  outline: none;
  border-color: #4a9eff;
  background: rgba(0,0,0,0.3);
}

.note-card-forums > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.note-card-forums br {
  display: none;
}

.note-cards > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.note-cards > div label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

.note-cards > div textarea {
  width: 100%;
  padding: 4px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.2);
  color: inherit;
  font-family: inherit;
  font-size: 0.8rem;
  resize: none;
  line-height: 1.2;
  height: auto;
  min-height: 24px;
}

.note-cards > div textarea:focus {
  outline: none;
  border-color: #4a9eff;
  background: rgba(0,0,0,0.3);
}

.note-cards > br {
  display: none;
}
