@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");
@import url("./layout.css");
@import url("./components.css");

:root {
  --bg: #74639d;
  --bg-soft: #f6f0ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.78);
  --border: rgba(132, 107, 197, 0.16);
  --border-soft: rgba(132, 107, 197, 0.08);
  --shadow: 0 26px 56px rgba(69, 42, 121, 0.18);
  --shadow-soft: 0 20px 38px rgba(81, 54, 138, 0.14);
  --text: #281f41;
  --text-soft: #3b3157;
  --muted: #7f73a3;
  --muted-2: #a293c8;
  --primary: #8b5cf6;
  --primary-2: #c084fc;
  --accent: #ffb347;
  --accent-2: #ffd56a;
  --danger: #ff6b6b;
  --danger-2: #ff8e53;
  --success: #12b981;
  --success-2: #34d399;
  --dark: #5b4a87;
  --dark-2: #403260;
  --nav-bg: rgba(131, 103, 188, 0.84);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sora", sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.2), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(192, 132, 252, 0.28), transparent 18%),
    radial-gradient(circle at bottom right, rgba(52, 211, 153, 0.16), transparent 20%),
    linear-gradient(180deg, #74639d 0%, #6f6099 100%);
  position: relative;
  animation: pageFade 0.35s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -140px;
  background: rgba(255, 214, 106, 0.2);
}

body::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 40px;
  background: rgba(192, 132, 252, 0.18);
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

canvas {
  max-width: 100%;
}

button,
a {
  color: inherit;
  outline: 0 !important;
}

a {
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

button:active,
a:active {
  transform: scale(0.98);
}

input,
button,
select,
textarea {
  font: inherit;
}

.text-center {
  text-align: center;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Screenshot-matched side menu */
.sidebar-overlay {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  background: #aaa6b5 !important;
  z-index: 9998 !important;
}

.sidebar {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  width: 280px !important;
  max-width: calc(100vw - 20px) !important;
  height: 100vh !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #62508d !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateX(-100%) !important;
  transition: transform 0.22s ease !important;
  z-index: 9999 !important;
  overflow: hidden !important;
}

.sidebar.active {
  left: 0 !important;
  transform: translateX(0) !important;
}

.sidebar-header {
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.sidebar-header h3 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.sidebar-header button {
  width: 35px !important;
  height: 35px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.sidebar-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 20px 12px 0 !important;
}

.sidebar-menu a {
  min-height: 45px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.sidebar-menu a i {
  width: 16px !important;
  min-width: 16px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  text-align: center !important;
}

.sidebar-menu a span {
  display: inline-block !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: none !important;
}

.sidebar-menu .logout {
  min-height: 45px !important;
  margin: 16px 0 0 !important;
  padding: 0 16px !important;
  border-radius: 15px !important;
  background: linear-gradient(90deg, #ff6475 0%, #ff9b4d 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.sidebar-menu .logout i,
.sidebar-menu .logout span {
  color: #ffffff !important;
}

@media (max-width: 320px) {
  .sidebar {
    width: calc(100vw - 13px) !important;
    max-width: calc(100vw - 13px) !important;
  }
}

/* Final side menu bar polish */
body .sidebar-overlay {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  background: #aaa6b5 !important;
  z-index: 9998 !important;
}

body .sidebar {
  position: fixed !important;
  top: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 280px !important;
  max-width: calc(100vw - 13px) !important;
  height: 100vh !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #62508d !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateX(-100%) !important;
  transition: transform 0.22s ease !important;
  z-index: 9999 !important;
}

body .sidebar.active {
  transform: translateX(0) !important;
}

body .sidebar-header {
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body .sidebar-header h3 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

body .sidebar-header button {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

body .sidebar-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 20px 12px 0 !important;
}

body .sidebar-menu a {
  width: 100% !important;
  min-height: 45px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
}

body .sidebar-menu a i {
  width: 16px !important;
  min-width: 16px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  text-align: center !important;
}

body .sidebar-menu a span {
  color: #ffffff !important;
  line-height: 1 !important;
}

body .sidebar-menu a:hover,
body .sidebar-menu a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: none !important;
}

body .sidebar-menu .logout {
  min-height: 45px !important;
  margin: 16px 0 0 !important;
  padding: 0 16px !important;
  border-radius: 15px !important;
  background: linear-gradient(90deg, #ff6475 0%, #ff9b4d 100%) !important;
  color: #ffffff !important;
}
