:root {
  /* Light Mode Colors */
  --light-bg-primary: #f8f9fa;
  --light-bg-bg-primary: #fff;
  --light-bg-text-primary: #fff;
  --light-text-primary: #212529;
  --light-text-red: #dc3545;
  --light-text-green: #198754;
  --light-text-grey: #6c757d;
  --light-text-yellow: #ffeb3b;
  --light-purple: #7c2be7;
  --light-purple-second: #7c2be7;
  --bg-support-shadow: #00000026;
  --bg-support-shadow2: transparent;

  --light-bg-header: #00c3cc;
  --light-bg-header-grad: linear-gradient(
    -107deg,
    rgba(0, 195, 204, 1) 30%,
    rgba(124, 43, 231, 1) 70%
  );
  --light-bg-grad-line: linear-gradient(90deg, rgba(0, 195, 204, 1) 0%, rgba(124, 43, 231, 1) 100%);

  --light-item-bg: #fff;
  --light-item-border: #bacef7;
  --light-item-bg-active: #c6e7ff;

  --dark-bg-primary: #121212;
  --dark-bg-text-primary: #000;
  --dark-text-primary: #f8f9fa;
  --dark-text-white: #f8f9fa;
  --dark-text-red: #ff5252;
  --dark-text-green: #157347;
  --dark-text-grey: #7a8188;
  --dark-text-yellow: #ffd54f;
  --dark-purple: #c7b9df;
  --dark-purple-second: #a564fa;
  --dark-bg-support-shadow: #ffffff31;
  --dark-bg-support-shadow2: #ffffff09;

  --dark-bg-header: #00acc1;
  --dark-bg-header-grad: linear-gradient(-107deg, rgb(5 91 102) 30%, rgb(45 0 124) 70%);
  --dark-bg-grad-line: linear-gradient(90deg, rgb(5 91 102) 0%, rgb(45 0 124) 100%);

  --dark-item-bg: #263238;
  --dark-item-border: #37474f;
  --dark-item-bg-active: #1a237e;

  /* Default theme (light) */
  --bg-primary: var(--light-bg-primary);
  --bg-white: var(--light-bg-bg-primary);
  --text-white: var(--light-bg-text-primary);
  --text-black: var(--light-text-primary);
  --fix-black: #000;
  --fix-white: #fff;
  --revert-text: #000;
  --unrevert-text: #fff;
  --pop-support: #fff;
  --form-reader: #fff;
  --nav-bg-desktop: #f0f2f5;
  --active-btn-nav: #d9dbde;
  --list-bg: #fff;
  --card-bg: #fefefe;
  --border-card: #cbcbcb;
  --bg-drop: #00000045;
  --divider: #e1e1e1;
  --cancel-dialog: #3b8bc6;
  --text-red: var(--light-text-red);
  --text-green: var(--light-text-green);
  --text-grey: var(--light-text-grey);
  --text-yellow: var(--light-text-yellow);
  --icon-first: var(--light-purple);
  --icon-first-2: var(--light-purple-second);
  --icon-second: var(--light-bg-header);
  --radial-grad: var(--light-bg-header-grad);
  --gradient-line: var(--light-bg-grad-line);
  --item-bg: var(--light-item-bg);
  --item-border: var(--light-item-border);
  --bg-active: var(--light-item-bg-active);
  --support-shadow: var(--bg-support-shadow);
  --support-shadow2: var(--bg-support-shadow2);
  --bg-null-icon: linear-gradient(90deg, rgba(0, 195, 204, 1) 0%, rgba(124, 43, 231, 1) 100%);
  --static-purple: #7c2be7;
  --shadow-form: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #ffffff;
  --placeholder-text: #3a3a3a;
}
.helia-dark {
  --bg-primary: var(--dark-bg-primary);
  --text-white: var(--dark-text-white);
  --text-black: var(--dark-text-primary);
  --fix-black: #000;
  --fix-white: #fff;
  --revert-text: #fff;
  --unrevert-text: #000;
  --pop-support: #000;
  --form-reader: #d5d5d5;
  --active-btn-nav: #3f3f3f;
  --nav-bg-desktop: #19191a;
  --list-bg: #303030;
  --card-bg: #141414;
  --border-card: #444343;
  --bg-drop: #b9b9b945;
  --divider: #e1e1e1;
  --cancel-dialog: #5daae2;
  --text-red: var(--dark-text-red);
  --text-green: var(--dark-text-green);
  --text-grey: var(--dark-text-grey);
  --text-yellow: var(--dark-text-yellow);
  --icon-first: var(--dark-purple);
  --icon-first-2: var(--dark-purple-second);
  --icon-second: var(--dark-bg-header);
  --radial-grad: var(--dark-bg-header-grad);
  --gradient-line: var(--dark-bg-grad-line);
  --item-bg: var(--dark-item-bg);
  --item-border: var(--dark-item-border);
  --bg-active: var(--dark-item-bg-active);
  --support-shadow: var(--dark-bg-support-shadow);
  --support-shadow2: var(--dark-bg-support-shadow2);
  --bg-null-icon: linear-gradient(90deg, rgba(0, 195, 204, 1) 0%, rgba(124, 43, 231, 1) 100%);
  --static-purple: #7c2be7;
  --shadow-form: inset 8px 8px 8px #000000, inset -8px -8px 8px #2c2b2b;
  --placeholder-text: #b7b7b7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin-block-start: 0em;
  margin-block-end: 0em;
  user-select: none;
}
noscript {
  position: fixed;
  left: 50%;
  bottom: 10vh;
  transform: translate(-50%);
  background: #f00;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 20px 0px #ff000082;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid #f00;
  z-index: 99;
  max-width: 90%;
  width: max-content;
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
::-webkit-scrollbar {
  width: 5px;
  display: inline;
}
::-webkit-scrollbar-track {
  background-color: #9c89fc2b;
  border-radius: 1rem;
}
::-webkit-scrollbar-thumb {
  background-color: var(--icon-first);
  border-radius: 1rem;
}
img {
  user-select: none;
}
a {
  cursor: pointer;
  outline: none;
  color: #000;
  text-decoration: none;
}
a:active,
button:active {
  opacity: 0.7;
}
button {
  cursor: pointer;
  outline: none;
  padding: 0px;
  font-family: inherit;
  border: 0px;
  -webkit-appearance: button;
}

html,
body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-stretch: normal;
  font-kerning: auto;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-black);
  -webkit-font-smoothing: antialiased;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: 0.4s all ease;
}
notes-nanang {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}
header {
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 0.5rem 0.5rem;
  padding: 0.75rem 0.5rem 0.25rem;
  z-index: 9;
  background: var(--icon-second);
  background: var(--radial-grad);
  color: var(--text-white);
  background-position: bottom left;
  background-size: 120% 400%;
  background-repeat: no-repeat;
  transition: 0.4s all ease;
}
.sticky {
  position: sticky;
}
header .wrapper-helia {
  grid-column: span 2 / span 2;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
header .app-judul {
  gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  justify-items: center;
  transition: 0.4s all ease;
}
.scrolled header {
  box-shadow: 0px 6px 10px 0px var(--support-shadow);
}
.scrolled header .app-judul {
  display: grid;
  justify-items: start;
  align-items: center;
  grid-template-columns: repeat(2, 0fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 0.75rem;
}
header .app-judul img {
  pointer-events: none;
  width: 2.5rem;
  height: auto;
  max-width: 2.5rem;
  transition: 0.4s all ease;
}
.scrolled header .app-judul img {
  width: 2rem;
  height: 2rem;
}
header .app-judul h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
  transition: 0.4s all ease;
}
.scrolled header .app-judul h1 {
  font-size: 1.5rem;
  font-weight: 600;
}
header .navigator {
  grid-column-start: 3;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  position: relative;
  z-index: 11;
}
.navigator .wrapper-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.navigator .helia-func,
.search-box button {
  background-color: transparent;
  color: var(--text-white);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 100%;
  transition: 0.4s all ease;
  position: relative;
  z-index: 11;
}
.navigator .helia-func.active {
  background-color: var(--icon-second);
}
.navigator .wrapper-view .pop-view {
  display: none;
  position: absolute;
  top: 3rem;
  min-width: 12.5rem;
  max-width: 15rem;
  right: 0;
  background-color: var(--bg-primary);
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 18px 0px var(--support-shadow);
  z-index: 3;
}
.navigator .wrapper-view .pop-view.visible {
  display: flex;
  -webkit-animation: fadeIn 0.4s;
  animation: fadeIn 0.4s;
}
.navigator .wrapper-view .list-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}
.navigator .wrapper-view .list-view button {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  padding: 0.5rem 0.25px;
  font-size: 1rem;
  color: var(--revert-text);
}
.navigator .wrapper-view .list-view button.active {
  color: var(--icon-first-2);
  font-weight: 600;
}
.search-note {
  grid-column: span 3 / span 3;
  grid-row-start: 2;
}
.page-search .search-note {
  position: fixed;
  width: 100%;
  grid-column: unset;
  grid-row-start: unset;
  left: 0;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0px;
  z-index: 10;
  background-color: var(--bg-primary);
  color: var(--text-black);
  transition: 0.4s all ease;
}
.search-note {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-note .search-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem;
}
.page-search .search-note .search-box {
  background-color: transparent;
  background: var(--gradient-line);
}
.search-box .search-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.search-box button {
  display: none;
}
.page-search .search-box button {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
}
.search-note .wrapper-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--text-white);
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 100%;
  outline: 1px solid var(--support-shadow);
}
.search-note .wrapper-search:focus-within {
  outline: 1px solid var(--icon-second);
}
.search-note .wrapper-search span {
  color: var(--fix-black);
  font-size: 1.35rem;
}
.search-note .wrapper-search input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--fix-black);
  line-height: 1.5rem;
}
.search-note .result-search {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0.5rem;
  max-height: 100vh;
}
.page-search .search-note .result-search {
  display: flex;
}
.search-note .search-box h2 {
  font-size: 1rem;
  font-weight: 500;
  display: none;
  gap: 0.25rem;
  color: var(--text-white);
}
.page-search .search-note .search-box h2 {
  display: flex;
  animation: 0.2s fadeIn ease;
}
.result-search .list-search {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.result-search .list-search .null {
  width: 100%;
  text-align: center;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}
.result-search .list-search .null p span {
  background-color: var(--icon-second);
  color: var(--revert-text);
  padding: 0px 0.25rem;
  border-radius: 0.25rem;
}
.result-search .list-search .items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0.5rem;
  background-color: var(--item-bg);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--support-shadow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}
.result-search .list-search .items h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
}
.result-search .list-search .items .body {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  font-size: 1rem;
}
.result-search .list-search .items .time {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}
.result-search .list-search .items .label {
  position: absolute;
  bottom: 0.25rem;
  right: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--text-yellow);
  padding-right: 1rem;
  border-radius: 0px;
  min-height: 1.5rem;
  color: var(--fix-black);
}
.result-search .list-search .items .label .clips {
  position: relative;
  height: 1.5rem;
}
.result-search .list-search .items .label span {
  font-size: 1.25rem;
  padding: 3px 0px;
}
.items .time span {
  font-size: 1.25rem;
  color: var(--icon-first);
}
h2.info {
  width: 100%;
  text-align: left;
  padding: 0.25rem 0.5rem;
  font-weight: 400;
  font-size: 1rem;
  grid-column: span 2 / span 2;
}
.list {
  padding: 0.5rem;
  padding-bottom: 3.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: 0.4s all ease;
}
.list .null {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 15rem;
  align-content: center;
  justify-content: center;
  padding: 1rem;
}
.list .null strong {
  font-size: 1rem;
  font-weight: 600;
}
.null .create-first {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  color: var(--text-black);
  border-radius: 100%;
  transition: 0.4s all ease;
  font-size: 1rem;
  gap: 0.5rem;
}
.null .create-first span {
  width: 2rem;
  height: 2rem;
  min-width: 3rem;
  min-height: 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  border: 2px solid var(--icon-first-2);
  color: var(--icon-first-2);
}
.list.kartu .static {
  display: flex;
  flex-direction: column-reverse;
  box-shadow: 0px 0px 10px 0px var(--support-shadow);
  z-index: 2;
  position: relative;
}
.list.kisi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  gap: 1rem 2%;
  align-items: stretch;
}
.list.kartu .static h3 {
  order: 1;
  margin-top: 1rem;
}
.list.kartu .static .time {
  order: 2;
}
.list.kartu .static .label {
  top: 0;
  bottom: unset;
  right: 0.25rem;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0rem;
  gap: 0;
}
div[data-note] {
  position: relative;
  width: 100%;
  animation: fadeIn 0.3s ease;
}
.list.kisi div[data-note] {
  grid-auto-rows: 1fr;
  display: grid;
  max-height: 30vh;
}
.static {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0.5rem;
  background-color: var(--item-bg);
  border: 1px solid var(--item-border);
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0px 0px 5px 0px var(--support-shadow);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.static:active,
.result-search .list-search .items:active,
div[data-note].active .static,
.result-search .list-search .items.active {
  background-color: var(--bg-active);
}
.static:hover,
.result-search .list-search .items:hover {
  filter: drop-shadow(0px 0px 5px var(--icon-first));
  transition: 0.3s filter ease;
}
.list.kisi .static {
  border-radius: 1rem;
}
.list.kisi .status-arsip .static {
  padding-bottom: 2.5rem;
}
.static h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 90%;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}
.list.kisi .static h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 87.5%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  white-space: unset;
}
.static p {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  font-size: 0.875rem;
}
.static .label {
  position: absolute;
  bottom: 0.25rem;
  right: 0;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--text-yellow);
  color: var(--fix-black);
  padding-right: 1rem;
  border-radius: 0px;
  min-height: 1.5rem;
}
.status-arsip .static .label {
  display: flex;
}
.static .label span {
  font-size: 1.25rem;
  padding: 3px 0px;
}
.static .label .clips {
  position: relative;
  height: 1.5rem;
}
.list.kartu .static .label .clips {
  height: 0;
  width: 100%;
  order: 1;
}
.clips::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-right: 15px solid var(--text-yellow);
  border-bottom: 20px solid transparent;
  position: absolute;
  right: -1px;
  top: -1px;
}
.clips::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 15px solid var(--text-yellow);
  border-bottom: 0px solid transparent;
  position: absolute;
  right: -1px;
  bottom: -1px;
}
.list.kartu .static .label .clips::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-right: 25px solid var(--text-yellow);
  border-bottom: 20px solid transparent;
  position: absolute;
  right: 0;
  top: -1px;
}
.list.kartu .static .label .clips::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-left: 25px solid var(--text-yellow);
  border-bottom: 20px solid transparent;
  border-right: none;
  position: absolute;
  left: 0;
  top: -1px;
}
.list.kartu .static .label span {
  padding: 0px 0.5rem;
}
.list.kartu .static .label p {
  display: none;
}
.static .time {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}
.static .time span {
  font-size: 1.25rem;
  color: var(--icon-first);
}
.act-func {
  position: absolute;
  right: 0;
  top: 0.5rem;
}
.list.kartu .act-func {
  position: relative;
  width: 100%;
  top: -0.75rem;
  background-color: var(--card-bg);
  padding: 0.5rem;
  z-index: 0;
  padding-top: 1.25rem;
  border-radius: 0px 0px 0.75rem 0.75rem;
  border: 1px solid var(--border-card);
}
.act-func .func-note {
  position: relative;
}
.act-func .func-note .btn-action {
  background-color: transparent;
  color: var(--icon-first);
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.list.kartu .act-func .func-note .btn-action {
  display: none;
}
.act-func .func-note .func-list {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0rem;
  background-color: var(--bg-primary);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 10px 0px var(--text-grey);
  border: 1px solid var(--icon-second);
  z-index: 2;
  padding: 0.25rem;
  min-width: 11.5rem;
  max-width: 11.5rem;
  right: 0.5rem;
  gap: 0.25rem;
}
.list.kartu .act-func .func-note .func-list {
  display: flex;
  position: relative;
  left: unset;
  right: unset;
  top: unset;
  background-color: transparent;
  box-shadow: unset;
  border: unset;
  padding: unset;
  flex-direction: row;
  width: 100%;
  max-width: unset;
}
.act-func .func-note .func-list.visible {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.act-func .func-note .func-list button {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: var(--text-white);
}
.act-func .func-note .func-list button span {
  font-size: 1.25rem;
}
.list.kartu .act-func .func-note .func-list button {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  justify-content: center;
  border-radius: 0.5rem;
  max-width: 50%;
}
.func-list button.archive {
  background-color: var(--text-grey);
  color: var(--text-black);
}
.func-list button.un-archive {
  background-color: var(--text-green);
  color: var(--text-white);
}
.list.kartu .func-list button.un-archive {
  flex-direction: column !important;
  gap: 0px !important;
  padding: 0.35rem 0.75rem !important;
}
.func-list button.delete {
  background-color: var(--text-red);
  color: var(--text-white);
}
aside.navigation {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background-color: var(--bg-primary);
  box-shadow: 0px 0px 13px 0px var(--support-shadow);
  z-index: 8;
  transition: 0.4s all ease;
}
aside.navigation button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  background-color: transparent;
  padding: 0.5rem 0.35rem;
  color: var(--text-black);
}
aside.navigation button.active {
  color: var(--icon-first-2);
  font-weight: 600;
  background-color: var(--support-shadow2);
}
nav {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 8;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
nav .gotop {
  background-color: var(--icon-second);
  color: var(--text-white);
  box-shadow: 0px 0px 13px 0px var(--support-shadow);
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  border-radius: 100%;
  transition: 0.4s all ease;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
nav.scroll .gotop {
  display: flex;
  animation: fadeIn 0.4s;
}
nav .create-note {
  position: relative;
}
nav .create {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  background-color: var(--icon-first);
  color: var(--unrevert-text);
  border-radius: 5rem;
  padding: 0.75rem;
  box-shadow: 0px 0px 13px 0px var(--support-shadow);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  min-height: 3rem;
  min-width: 3rem;
  position: relative;
}
nav .create.toggle {
  filter: contrast(0.75);
}
nav.ready .create {
  gap: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 0px;
}
nav .create span {
  transition: rotate 0.4s ease;
  rotate: 0deg;
}
nav .create.toggle span {
  rotate: 45deg;
}
.btn-option-note {
  position: absolute;
  bottom: 4rem;
  right: 0;
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}
.show-btn .btn-option-note {
  display: flex;
  -webkit-animation: scale-up-right 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: scale-up-right 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
.btn-option-note button {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--bg-white);
  color: var(--fix-black);
  min-width: 12rem;
  padding: 0.75rem;
  border-radius: 5rem;
  font-size: 1rem;
  gap: 0.5rem;
  font-weight: 400;
  box-shadow: 0px 0px 13px 0px var(--support-shadow);
  border: 1px solid var(--icon-first-2);
}
.btn-option-note button span {
  color: var(--icon-first-2);
}
nav .create .text {
  width: fit-content;
  display: flex;
  visibility: visible;
  transition: 1s all ease;
}
nav .create .text p {
  opacity: 1;
}
nav.ready .create .text {
  display: none;
}
.note-wrapper {
  position: fixed;
  left: 0;
  top: 100%;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: var(--bg-primary);
  color: var(--text-black);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.4s all ease;
}
.show-noted .note-wrapper {
  display: flex;
  -webkit-animation: slide-top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.note-wrapper .noted {
  position: relative;
  width: 100%;
  transition: 0.4s all ease;
}
.note-wrapper .noted .top {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0px;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-white);
  background: var(--gradient-line);
  z-index: 10;
}
.noted .top .kiri {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 72.5%;
}
.noted .top .kiri button {
  background-color: transparent;
  color: var(--text-white);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 100%;
  transition: 0.4s all ease;
}
.noted .top .kiri h2 {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 600;
}
.noted .top .kanan {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.noted .top .kanan .option {
  background-color: transparent;
  color: var(--text-white);
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 100%;
  transition: 0.4s all ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.noted .top .kanan .option p {
  display: none;
}
.noted .top .kanan .func-noted {
  position: relative;
}
.noted .top .kanan .func-noted button {
  background-color: transparent;
  color: var(--text-white);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 100%;
  transition: 0.4s all ease;
}
.noted .top .kanan .func-noted .func-noted-list {
  position: absolute;
  top: 0;
  min-width: 15rem;
  max-width: 15rem;
  right: 0.5rem;
  background-color: var(--pop-support);
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 18px 0px var(--support-shadow);
  gap: 0.5rem;
  display: none;
  flex-direction: column;
  z-index: 2;
}
.noted .top .kanan .func-noted.showing .func-noted-list {
  display: flex;
  animation: fadeIn 0.4s ease;
}
.noted .top .kanan .func-noted .func-noted-list button {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  padding: 0.5rem 0.25rem;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.noted .top .kanan .func-noted .func-noted-list button.delete {
  background-color: var(--text-red);
  color: var(--text-white);
}
.noted .top .kanan .func-noted .func-noted-list button.arsip {
  background-color: var(--text-grey);
  color: var(--text-white);
}
.noted .top .kanan .func-noted .func-noted-list button.un-arsip {
  background-color: var(--text-green);
  color: var(--text-white);
}
.note-wrapper .body-noted {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 95vh;
  max-height: 95.5vh;
}
.note-wrapper .body-null {
  padding: 1rem;
  min-height: 70vh;
  position: relative;
  left: 50%;
  top: 50%;
  right: 50%;
  bottom: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 1.1rem;
}
.note-wrapper .body-null span {
  font-size: 5rem;
  background: var(--bg-null-icon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
note-form.create {
  position: fixed;
  left: 0;
  top: 100%;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: var(--bg-primary);
  color: var(--text-black);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.4s all ease;
}
.created-page note-form.create {
  display: flex;
  -webkit-animation: slide-top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
note-form.create.hide {
  display: flex;
  -webkit-animation: slide-bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
note-form.create .top {
  display: flex;
  color: var(--text-white);
  background: var(--icon-first);
  background: var(--gradient-line);
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0rem 0.5rem;
  gap: 1rem;
  justify-content: space-between;
  position: sticky;
}
note-form.create .top .nav-create {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0px;
  gap: 0.5rem;
  justify-content: flex-start;
}
note-form.create .top .nav-create button {
  background-color: transparent;
  color: var(--text-white);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 100%;
  transition: 0.4s all ease;
}
note-form.create .top .nav-create h2 {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 600;
}
.main-create {
  padding: 0.5rem 0.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  -webkit-animation: fadeIn 0.3s ease;
  animation: fadeIn 0.3s ease;
}
.main-create form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.main-create form .judul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.main-create form .judul label {
  font-weight: 500;
  font-size: 1rem;
}
.main-create form .judul input {
  font-size: 1.05rem;
  border: none;
  width: 100%;
  color: var(--revert-text);
  line-height: 1.25;
  outline: none;
  background: none;
  padding: 15px 5px 10px 20px;
  box-shadow: var(--shadow-form);
  border-radius: 25px;
  transition: 0.4s all ease;
}
.main-create form .judul input:focus,
.main-create form .body-create textarea:focus,
.main-create form .prompt-create textarea:focus {
  outline: 1px solid var(--icon-first);
  box-shadow: 0px 0px 18px 0px var(--support-shadow);
}

.main-create form .judul input::placeholder,
.main-create form .body-create textarea::placeholder,
.main-create form .prompt-create textarea::placeholder {
  color: var(--placeholder-text);
}
.errorinp {
  outline: 1px solid var(--text-red) !important;
}
.main-create form .body-create {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.main-create form .body-create label {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.main-create form .body-create label button {
  background-color: transparent;
  color: var(--icon-second);
}
.main-create form .body-create label button span {
  font-size: 1.25rem;
}
.main-create form .body-create textarea {
  min-height: 67.5vh;
  font-size: 1.05rem;
  border: none;
  width: 100%;
  max-width: 100%;
  min-width: 50%;
  color: var(--revert-text);
  line-height: 1.25;
  font-family: inherit;
  outline: none;
  padding: 15px 5px 10px 20px;
  background: transparent;
  box-shadow: var(--shadow-form);
  border-radius: 25px;
  transition: 0.4s all ease;
}
.main-create form .judul .error,
.main-create form .body-create .error,
.main-create form .judul .error.hide,
.main-create form .body-create .error.hide,
.main-create form .prompt-create .error,
.main-create form .prompt-create .error.hide {
  display: none;
}
.main-create form .judul .error.show,
.main-create form .body-create .error.show,
.main-create form .prompt-create .error.show {
  display: flex;
  color: var(--text-red);
  font-size: 1rem;
}
.main-create form .prompt-create {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
}
.main-create form .prompt-create label {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.main-create form .prompt-create label button {
  background-color: transparent;
  color: var(--icon-second);
}
.main-create form .prompt-create label button span {
  font-size: 1.25rem;
}
.main-create form .prompt-create textarea {
  min-height: 67.5vh;
  font-size: 1.05rem;
  border: none;
  width: 100%;
  max-width: 100%;
  min-width: 50%;
  color: var(--revert-text);
  line-height: 1.25;
  font-family: inherit;
  outline: none;
  padding: 15px 5px 10px 20px;
  background: transparent;
  box-shadow: var(--shadow-form);
  border-radius: 25px;
  transition: 0.4s all ease;
}
.run-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
  position: sticky;
  left: 0;
  bottom: 0;
  right: 0;
}
.run-ai button {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background-color: var(--static-purple);
  color: var(--fix-white);
  font-weight: 600;
  --grad-0: #8d49fd;
  --grad-50: #7f56f3;
  --grad-100: #5691f3;
  --shadow-top: rgba(233, 209, 255, 0.2);
  --shadow-top-lg: rgba(9, 12, 60, 0.1);
  --shadow-bottom: rgba(137, 222, 246, 0.3);
  --shine-top: #e9d1ff;
  --shine-bottom: #adfff9;
  text-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background-image: linear-gradient(
    to bottom,
    var(--grad-0) 0%,
    var(--grad-50) 50%,
    var(--grad-100) 100%
  );
  box-shadow:
    0 4px 12px rgba(9, 12, 60, 0.15),
    0 2px 8px rgba(9, 12, 60, 0.15),
    0 1px 3px var(--shadow-top-lg),
    inset 0 1px 1px var(--shadow-top),
    inset 0 -1px 3px var(--shadow-bottom);
}
.save-note {
  display: flex;
  width: 100%;
  gap: 1rem;
  position: sticky;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.5rem;
  background-color: var(--pop-support);
  border-radius: 0.5rem;
  box-shadow: 0px 0px 18px 0px var(--support-shadow);
}
.save-note button {
  flex: 1;
  padding: 0.5rem;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  font-family: inherit;
  font-weight: 500;
  color: white;
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em rgba(59, 48, 78, 0.527);
  border-radius: 0.5rem;
  cursor: pointer;
  position: relative;
}
.save-note button#cancelSave,
.save-note button#cancelSave-ai {
  font-weight: 600;
  background: linear-gradient(144deg, #868c91, #525b62 50%, #8b9299);
  background-color: var(--text-grey);
  color: var(--fix-white);
}
.save-note button#cancelSave:hover,
.save-note button#cancelSave-ai:hover {
  background: var(--text-grey);
}
.save-note button#cancelSave::before,
.save-note button#cancelSave-ai::before,
.save-note button#saveNote::before,
.save-note button#saveNote-ai::before {
  content: '';
  width: 4px;
  height: 40%;
  background-color: white;
  position: absolute;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  left: 0;
  transition: all 0.2s;
}
.save-note button#cancelSave::after,
.save-note button#cancelSave-ai::after,
.save-note button#saveNote::after,
.save-note button#saveNote-ai::after {
  content: '';
  width: 4px;
  height: 40%;
  background-color: #fff;
  position: absolute;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  right: 0;
  transition: all 0.2s;
}
.save-note button#saveNote,
.save-note button#saveNote-ai {
  color: var(--text-white);
  font-weight: 600;
  background: linear-gradient(144deg, #3ab57b, #2f8f62 50%, #2e7855);
}
.save-note button#saveNote:hover,
.save-note button#saveNote-ai:hover {
  background: var(--text-green);
}
.save-note button:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: none;
}
#ai-create .body-create,
#ai-create .save-note {
  display: none;
}
#ai-create.ready .body-create,
#ai-create.ready .save-note {
  display: flex;
}
#ai-create.ready .prompt-create,
#ai-create.ready .run-ai {
  display: none;
}
confirm-dialog.fixed {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  padding: 0px;
  display: none;
  z-index: 99;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: nowrap;
  border: none;
}
confirm-dialog.fixed.show {
  display: flex;
  animation: fadeIn 0.3s;
}
confirm-dialog.fixed .bg-drop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-drop);
}
.dialog-wrapper {
  position: relative;
  background-color: var(--bg-primary);
  border-radius: 1rem;
  min-width: 30vw;
  padding: 0px;
  overflow: hidden;
  max-width: 30vw;
  width: 100%;
}
.dialog-wrapper .summary-dialog {
  text-align: center;
  font-size: 1rem;
  padding: 2rem;
  color: var(--revert-text);
}
.dialog-wrapper .btn-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  gap: 1px;
  background-color: var(--divider);
}
.dialog-wrapper .btn-wrapper button {
  flex: 1;
  background-color: var(--bg-primary);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.dialog-wrapper .btn-wrapper button.cancel {
  color: var(--cancel-dialog);
}
.dialog-wrapper .btn-wrapper button.confirm {
  color: var(--text-red);
}
.dialog-wrapper .btn-wrapper button.cancel.revert {
  color: var(--revert-text);
}
.dialog-wrapper .btn-wrapper button.confirm.revert {
  color: var(--cancel-dialog);
}
.toast {
  position: fixed;
  z-index: 99;
  right: 1rem;
  top: 1rem;
  padding: 1rem;
  background: var(--icon-first);
  color: var(--unrevert-text);
  border: 1px solid var(--icon-first2);
  border-radius: 0.5rem;
  text-align: left;
  box-shadow: 0px 0px 0px 0px var(--support-shadow);
  max-width: 30vw;
  font-size: 1rem;
  display: none;
}
.toast.show {
  display: block;
  animation: fadeIn 0.3s;
}
loading-indicator {
  animation: fadeIn 0.2s;
}
/* Styling untuk konten markdown */
.body-noted {
  line-height: 1.6;
}

.body-noted h1,
.body-noted h2,
.body-noted h3,
.body-noted h4,
.body-noted h5,
.body-noted h6 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.body-noted h1 {
  font-size: 1.8em;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.3em;
}

.body-noted h2 {
  font-size: 1.5em;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.3em;
}

.body-noted h3 {
  font-size: 1.3em;
}

.body-noted h4 {
  font-size: 1.1em;
}

.body-noted ul,
.body-noted ol {
  padding-left: 2em;
  margin: 1em 0;
}

.body-noted ul {
  list-style-type: disc;
}

.body-noted ol {
  list-style-type: decimal;
}

.body-noted li {
  margin: 0.3em 0 0.5rem;
}

.body-noted p {
  margin: 0.5em 0;
}

.body-noted blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1em;
  margin: 0.25em 0;
  color: var(--text-secondary);
}

.body-noted pre {
  background-color: var(--bg-secondary);
  padding: 0.75em;
  border-radius: 4px;
  overflow: auto;
  margin: 0.25em 0;
}

.body-noted code {
  background-color: var(--bg-secondary);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: monospace;
}

.body-noted pre code {
  padding: 0;
  background-color: transparent;
}

.body-noted a {
  color: var(--accent-color);
  text-decoration: none;
}

.body-noted a:hover {
  text-decoration: underline;
}

.body-noted hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 1em 0;
}

.body-noted table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5em 0;
}

.body-noted table th,
.body-noted table td {
  border: 1px solid var(--border-light);
  padding: 0.5em;
}

.body-noted table th {
  background-color: var(--bg-secondary);
  font-weight: 600;
}

.body-noted img {
  max-width: 100%;
  height: auto;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes hide {
  from {
    display: block;
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
  }
}

@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}
@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide-fwd-top {
  0% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
  }
  100% {
    -webkit-transform: translateZ(160px) translateY(-100%);
    transform: translateZ(160px) translateY(-100%);
  }
}
@keyframes slide-fwd-top {
  0% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
  }
  100% {
    -webkit-transform: translateZ(160px) translateY(-100%);
    transform: translateZ(160px) translateY(-100%);
  }
}

@-webkit-keyframes scale-up-right {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
}
@keyframes scale-up-right {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
}

@-webkit-keyframes slide-fwd-right {
  0% {
    -webkit-transform: translateZ(0) translateX(0) scale(0);
    transform: translateZ(0) translateX(0) scale(0);
  }
  100% {
    -webkit-transform: translateZ(3rem) translateX(0) scale(1);
    transform: translateZ(3rem) translateX(0) scale(1);
  }
}
@keyframes slide-fwd-right {
  0% {
    -webkit-transform: translateZ(0) translateX(0) scale(0);
    transform: translateZ(0) translateX(0) scale(0);
  }
  100% {
    -webkit-transform: translateZ(3rem) translateX(0) scale(1);
    transform: translateZ(3rem) translateX(0) scale(1);
  }
}

/* Tooltip styles */
.tooltip {
  position: absolute;
  background-color: var(--revert-text);
  color: var(--unrevert-text);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tooltip p {
  margin: 0;
}

.tooltip.show {
  opacity: 1;
}

.tooltip p {
  display: block !important;
}

/* Posisi tooltip */
.tooltip.atas {
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
}

.tooltip.atas.show {
  transform: translateX(-50%) translateY(0);
}

.tooltip.bawah {
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
}

.tooltip.bawah.show {
  transform: translateX(-50%) translateY(0);
}

.tooltip.kiri {
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(5px);
}

.tooltip.kiri.show {
  transform: translateY(-50%) translateX(0);
}

.tooltip.kanan {
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-5px);
}

.tooltip.kanan.show {
  transform: translateY(-50%) translateX(0);
}

/* Kombinasi posisi */
.tooltip.kiri.atas {
  right: calc(100% + 8px);
  bottom: 0;
  transform: translateY(50%) translateX(5px);
}

.tooltip.kiri.atas.show {
  transform: translateY(50%) translateX(0);
}

.tooltip.kanan.atas {
  left: calc(100% + 8px);
  bottom: 0;
  transform: translateY(50%) translateX(-5px);
}

.tooltip.kanan.atas.show {
  transform: translateY(50%) translateX(0);
}

.tooltip.kiri.bawah {
  right: calc(100% + 8px);
  top: 0;
  transform: translateY(-50%) translateX(5px);
}

.tooltip.kiri.bawah.show {
  transform: translateY(-50%) translateX(0);
}

.tooltip.kanan.bawah {
  left: calc(100% + 8px);
  top: 0;
  transform: translateY(-50%) translateX(-5px);
}

.tooltip.kanan.bawah.show {
  transform: translateY(-50%) translateX(0);
}

/* Triangle pointer */
.tooltip::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
}

.tooltip.atas::after {
  border-top-color: var(--revert-text);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.tooltip.bawah::after {
  border-bottom-color: var(--revert-text);
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.tooltip.kiri::after {
  border-left-color: var(--revert-text);
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.tooltip.kanan::after {
  border-right-color: var(--revert-text);
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Triangle pointers untuk kombinasi */
.tooltip.kiri.atas::after {
  border-left-color: var(--revert-text);
  left: 100%;
  bottom: 10px;
}

.tooltip.kanan.atas::after {
  border-right-color: var(--revert-text);
  right: 100%;
  bottom: 10px;
}

.tooltip.kiri.bawah::after {
  border-left-color: var(--revert-text);
  left: 100%;
  top: 10px;
}

.tooltip.kanan.bawah::after {
  border-right-color: var(--revert-text);
  right: 100%;
  top: 10px;
}

/* Hover styles untuk tombol interaktif */
button[data-hover_position] {
  position: relative;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* Efek transform kecil */
button[data-hover_position]:active {
  transform: scale(0.95);
}

@media only screen and (min-width: 1024px) {
  body {
    max-height: 100vh;
  }
  notes-nanang {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    max-height: 100%;
    height: 100vh;
    overflow: hidden;
    align-items: start;
  }
  header {
    grid-column: span 2 / span 2;
    order: 2;
    position: relative;
    height: 100%;
    z-index: 12;
  }
  header .app-judul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  header .app-judul img {
    width: 2rem;
    max-width: 2rem;
  }
  header .app-judul h1 {
    font-weight: 600;
    font-size: 1.25rem;
  }
  .list {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 4;
    grid-column-start: 2;
    grid-row-start: 2;
    order: 2;
    height: 100%;
    padding-bottom: 0px;
    position: relative;
    background-color: var(--list-bg);
    overflow-y: scroll;
    overflow-x: hidden;
    min-width: 30vw;
  }
  .note-wrapper {
    grid-column: span 4 / span 4;
    grid-row: span 5 / span 5;
    grid-column-start: 4;
    grid-row-start: 1;
    display: flex;
    position: relative;
    overflow: hidden;
    min-width: 65vw;
    top: 0;
  }
  .note-wrapper .noted {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
  .note-wrapper .noted .top {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    min-height: 3.5rem;
  }
  .noted .top .kiri {
    padding-left: 1rem;
  }
  .noted .top .kiri button {
    display: none;
  }
  .static {
    border-left: 3px solid var(--icon-second);
  }
  .static:hover {
    border-left: 3px solid var(--icon-first-2);
    transition: 0.3s filter ease;
  }
  aside.navigation {
    position: relative;
    grid-row: span 5 / span 1;
    order: 1;
    inset: unset;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    background-color: var(--nav-bg-desktop);
    height: 100%;
    gap: 2rem;
    padding: 2rem 0.5rem;
    width: fit-content;
    padding-top: 8rem;
    z-index: 13;
  }
  aside.navigation button {
    flex: unset;
  }
  aside.navigation button.active {
    width: 3rem;
    height: 3rem;
    background-color: var(--active-btn-nav);
    border-radius: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .show-btn .btn-option-note {
    right: unset;
    left: 3rem;
    bottom: -50%;
    top: -50%;
    transform: translate(-50%, -50%);
    height: fit-content;
    -webkit-animation: slide-fwd-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation: slide-fwd-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .btn-option-note button {
    padding: 0.5rem;
    background-color: var(--icon-first-2);
    color: var(--fix-white);
    border: 2px solid var(--revert-text);
    box-shadow: 0px 0px 20px 0px var(--support-shadow);
  }
  .btn-option-note button span {
    color: var(--fix-white);
  }
  aside.navigation button span {
    font-size: 1.5rem;
  }
  aside.navigation button p {
    display: none;
  }
  note-form.create {
    grid-column: span 4 / span 4;
    grid-row: span 5 / span 5;
    grid-column-start: 4;
    grid-row-start: 1;
    position: relative;
    overflow: hidden;
  }
  note-form.create .top .nav-create button {
    display: none;
  }
  .page-search .search-note {
    position: absolute;
    top: 3rem;
    background-color: transparent;
    gap: 0px;
  }
  .page-search .search-note .search-box {
    background: transparent;
    gap: 0.5rem;
  }
  .search-note .result-search {
    position: relative;
    min-height: 80vh;
    max-height: 80vh;
    height: 80vh;
    background-color: var(--list-bg);
    overflow-y: scroll;
    padding: 0.5rem;
    gap: 0px;
  }
  .page-search h2.info {
    display: none;
  }
  note-form.create .top {
    padding: 0.5rem;
  }
  note-form.create .top h2 {
    font-size: 1.15rem !important;
  }
  nav {
    position: fixed;
    left: 0.75rem;
    right: unset;
    z-index: 9;
    top: 3rem;
    bottom: unset;
    z-index: 14;
  }
  nav .create {
    min-width: 2.5rem;
    min-height: 2.5rem;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  nav .create.toggle {
    background-color: var(--fix-white);
    color: var(--icon-first-2);
    border: 1px solid var(--icon-first);
    opacity: 1;
    filter: unset;
  }
  nav .create .text {
    display: none;
  }
  .main-create {
    height: 100vh;
  }
  .main-create form,
  .main-create form .body-create,
  .main-create form .body-create textarea {
    height: 100%;
  }
  .show-noted .note-wrapper {
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
  }
  .run-ai button {
    max-width: 50%;
    padding: 0.75rem;
  }
  .noted .top .kanan .option:has(p) {
    background-color: var(--support-shadow);
    border-radius: 5rem;
    padding: 0px 1rem;
    font-size: 1rem;
  }
  .noted .top .kanan .option p {
    display: inline;
  }
  .save-note button {
    padding: 0.75rem;
    font-size: 1.05rem;
  }
}

@media only screen and (max-width: 1023px) {
  .search-note .result-search {
    min-height: 100vh;
  }
  .dialog-wrapper {
    min-width: 40vw;
    max-width: 40vw;
  }
  .toast {
    background-color: var(--icon-second);
  }
  header .navigator {
    z-index: 8;
  }
}

@media only screen and (max-width: 720px) {
  ::-webkit-scrollbar {
    display: none;
    width: 0px;
  }
  ::-webkit-scrollbar {
    display: none;
    width: 0px;
  }
  confirm-dialog.fixed.show {
    align-items: flex-end;
  }
  .dialog-wrapper {
    max-width: 95vw;
    bottom: 1rem;
    background-color: transparent;
  }
  .dialog-wrapper .summary-dialog {
    background-color: var(--bg-primary);
  }
  .dialog-wrapper .btn-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
    background-color: transparent;
  }
  .dialog-wrapper .btn-wrapper button.cancel {
    border-radius: 1rem;
  }
  .dialog-wrapper .btn-wrapper button.confirm {
    border-radius: 0px 0px 1rem 1rem;
  }
  .toast {
    max-width: 90vw;
    background-color: var(--icon-first);
    color: var(--unrevert-text);
    bottom: 5rem;
    top: unset;
    right: 50%;
    transform: translate(50%);
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--icon-second);
    max-width: 90vw;
    width: 100%;
  }
}
@media only screen and (max-width: 400px) {
  header {
    gap: 0.25rem;
  }
  header .app-judul img {
    width: 2.25rem;
  }
  header .app-judul h1 {
    font-size: 1.75rem;
  }
  .search-note .wrapper-search {
    padding: 0.25rem 0.5rem;
  }
  .search-note .wrapper-search input {
    font-size: 0.875rem;
  }
  h2.info {
    padding: 0.25rem;
  }
  nav .create {
    padding: 0.5rem;
  }
  nav .create span,
  nav .gotop span {
    font-size: 1.25rem;
  }
  nav .create .text {
    font-size: 0.875rem;
    padding-right: 0.25rem;
  }
  .static h3 {
    font-size: 1rem;
  }
  .static p {
    font-size: 0.875rem;
  }
  .static .time span {
    font-size: 1rem;
  }
  .static p {
    font-size: 0.85rem;
  }
  .act-func .func-note .btn-action {
    width: 1.75rem;
    height: 1.75rem;
  }
  .act-func .func-note .btn-action span {
    font-size: 1.25rem;
  }
  aside.navigation button p {
    font-size: 0.75rem;
  }
  note-form.create .top .nav-create button {
    width: 2rem;
    height: 2rem;
    max-width: 2rem;
    min-width: 2rem;
  }
  note-form.create .top .nav-create h2 {
    font-size: 1.05rem;
  }
  .save-note button {
    font-size: 0.875rem;
  }
  .save-note button span {
    font-size: 1.25rem;
  }
  .result-search .list-search .items h3 {
    font-size: 1rem;
  }
  .result-search .list-search .items .body,
  .result-search .list-search .items .label {
    font-size: 0.875rem;
  }
  .result-search .list-search .items .label span,
  .static .label span {
    padding: 0px;
  }
  .note-wrapper .noted .top {
    padding: 0.35rem;
  }
  .noted .top .kiri button,
  .noted .top .kanan .option {
    width: 2rem;
    height: 2rem;
    max-width: 2rem;
    min-width: 2rem;
  }
  .noted .top .kiri h2 {
    font-size: 1.05rem;
  }
  .noted .top .kanan {
    gap: 0.25rem;
  }
  .note-wrapper .body-noted {
    padding: 0.5rem;
    line-height: 1.25;
    min-height: 93vh;
    max-height: 93.5vh;
  }
  .note-wrapper .body-null span {
    font-size: 4rem;
  }
  .note-wrapper .body-null p {
    font-size: 1rem;
  }
  .scrolled header .app-judul h1 {
    font-size: 1rem;
  }
  .scrolled header .app-judul img {
    width: 1.75rem;
    min-width: 1.75rem;
    max-width: 1.75rem;
  }
  .search-note .search-box {
    padding: 0px;
  }
  .navigator .wrapper-view .pop-view {
    min-width: 11rem;
    top: 2rem;
  }
  .navigator .wrapper-view .list-view button {
    font-size: 0.875rem;
  }
  .navigator .wrapper-view .list-view button span {
    font-size: 1.25rem;
  }
  .act-func .func-note .func-list {
    padding: 0.25rem;
    max-width: 12rem;
    min-width: 12rem;
  }
  .act-func .func-note .func-list button {
    font-size: 0.875rem;
    padding: 0.5rem;
    gap: 0.25rem;
  }
  .act-func .func-note .func-list button span {
    font-size: 1.25rem;
  }
  .noted .top .kanan .func-noted .func-noted-list {
    max-width: 12rem;
    min-width: 12rem;
  }
  .noted .top .kanan .func-noted .func-noted-list button {
    gap: 0.25rem;
    font-size: 0.875rem;
  }
  .noted .top .kanan .func-noted .func-noted-list button span {
    font-size: 1.25rem;
  }
  .act-func .func-note .func-list {
    max-width: 10rem;
    min-width: 10rem;
  }
  .act-func .func-note .func-list button {
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0.35rem;
  }
  .list.kartu .act-func .func-note .func-list button {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem !important;
  }
  .page-search .search-note .search-box {
    padding: 0.5rem;
  }
  .clips::before {
    top: 0px;
  }
  .clips::after {
    bottom: 0px;
  }
}

