:root {
  --navy: #122442;
  --orange: #f47920;
  --panel-green: #d6e6b4;
  --white: #ffffff;
  --muted: #6f6f6f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
body {
  background: #fafafa;
  color: #222;
  line-height: 1.5;
}

header {
  background: var(--navy);
  color: var(--white);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
header .menu-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
header .logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.header-left {
  z-index: 2;
}

.app-root {
  display: flex;
  min-height: calc(100vh - 90px);
}

.sidebar {
  width: 130px;
  background: var(--orange);
  color: var(--white);
  padding-top: 70px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9998;
  transition: width 200ms ease;
  display: flex;
  align-items: flex-start;
}
.sidebar .sidebar-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar .new-strip {
  background: transparent;
  color: #111;
  width: calc(100% - 16px);
  margin: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}
.sidebar .archive-strip {
  background: transparent;
  color: #111;
  width: calc(100% - 16px);
  margin: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.sidebar .list-strip {
  background: transparent;
  color: #111;
  width: calc(100% - 16px);
  margin: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.sidebar .new-strip .label,
.sidebar .list-strip .label,
.sidebar .archive-strip .label {
  font-weight: 700;
  font-size: 16px;
}

.sidebar .new-strip.active,
.sidebar .list-strip.active,
.sidebar .archive-strip.active {
  background: var(--panel-green);
  color: #111;
}

.content {
  margin-left: 136px;
  padding: 28px;
  width: 100%;
  transition: margin-left 200ms ease;
}

.sidebar .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2px;
  height: 34px;
  font-size: 20px;
}
.sidebar .label {
  margin-left: 10px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
}

.sidebar .new-strip:hover,
.sidebar .archive-strip:hover {
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

body.sidebar-collapsed .sidebar {
  width: 64px;
}
body.sidebar-collapsed .content {
  margin-left: 80px;
}
body.sidebar-collapsed .new-strip {
  justify-content: center;
}
body.sidebar-collapsed .new-strip .label {
  display: none;
}

body.sidebar-collapsed .list-strip {
  justify-content: center;
}
body.sidebar-collapsed .list-strip .label {
  display: none;
}

body.sidebar-collapsed .archive-strip {
  justify-content: center;
}
body.sidebar-collapsed .archive-strip .label {
  display: none;
}

create-note-form {
  display: none;
}
body.show-create create-note-form {
  display: block;
  margin-top: 60px;
}
.note-form {
  background: var(--panel-green);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.note-form h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  color: var(--navy);
}
.note-form .form-group label {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 6px;
  display: block;
}
.note-form input,
.note-form textarea {
  width: 100%;
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px;
  margin-top: 6px;
}
.note-form .validation {
  color: #8b1f1f;
  font-size: 0.9rem;
  margin-top: 6px;
  display: none;
}
.note-form .invalid .validation {
  display: block;
}
.note-form .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
}

.note-form .form-actions button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.note-form .form-actions #closeForm {
  background: #7b7b7b;
  color: var(--white);
}
.note-form .form-actions button[type='submit'] {
  background: var(--navy);
  color: var(--white);
}

.notes-heading {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.notes-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 12px 0;
}

.empty-list {
  grid-column: 1 / -1;
  background: rgba(214, 230, 180, 0.25);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}
.note-card {
  background: var(--panel-green);
  border-radius: 12px;
  padding: 18px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden; 
}
.note-card .note-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0e2b4a;
  overflow: hidden;
  text-overflow: ellipsis;
}
.note-card .note-date {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.85rem;
}
.note-card .note-body {
  margin: 8px 0 0 0;
  color: #333;
  flex: 0 0 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.btn-archive {
  background: var(--orange);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 8px;
  border-color: #ffffff45;
}

.btn-delete {
  background: var(--navy);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 8px;
  border-color: #ffffff45;
}

.swal-note-body {
  height: 250px;
}

.swal2-title {
  font-size: 1.25em;
  padding: 10px 12px;
  margin: 0;
}

.title-note {
  padding: 10px 10px;
  margin: 0;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.popup-box {
  background: var(--navy);
  color: var(--white);
  padding: 28px 36px;
  border-radius: 10px;
  min-width: 320px;
  text-align: center;
}
.popup-box h2 {
  margin: 0 0 12px 0;
}
.popup-actions .btn-orange {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .notes-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .content {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .notes-list {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 64px;
  }
  body.sidebar-collapsed .content {
    margin-left: 64px;
  }
}


/*# sourceMappingURL=main.13dd84f050b04333fd76.css.map*/