/* Accent Color Variables */
:root {
  --accent-color: #5561ea;
  --accent-hover: #4450d0;
  --accent-15: rgba(85, 97, 234, 0.15);
  --accent-text: #ffffff;
  --blue-shadow: 0px 0px 50px 0px rgba(85, 98, 234, 0.44);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* Sidebar initial collapsed state - applied before DOM loads to prevent animation flash */
html.sidebar-collapsed-initial .sidebar {
  width: 70px !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .sidebar .logo h1,
html.sidebar-collapsed-initial .sidebar .user-info,
html.sidebar-collapsed-initial .sidebar .text-wrapper-3,
html.sidebar-collapsed-initial .sidebar .profile-settings,
html.sidebar-collapsed-initial .sidebar .divider {
  display: none !important;
}

html.sidebar-collapsed-initial .sidebar .highlight {
  opacity: 0 !important;
}

html.sidebar-collapsed-initial .sidebar .logo {
  width: 70px !important;
  justify-content: center !important;
  padding: 0 !important;
  gap: 0 !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .sidebar .logo img {
  width: 32px !important;
  height: 32px !important;
}

html.sidebar-collapsed-initial .sidebar .profile-button {
  width: 70px !important;
  justify-content: center !important;
  padding: 15px 0 !important;
  left: 0 !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .sidebar .profile {
  justify-content: center !important;
  gap: 0 !important;
}

html.sidebar-collapsed-initial .sidebar .avatar {
  width: 36px !important;
  height: 36px !important;
}

html.sidebar-collapsed-initial .sidebar .items {
  width: 70px !important;
  left: 0 !important;
  align-items: center !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .sidebar .nav-item,
html.sidebar-collapsed-initial .sidebar .nav-item-2,
html.sidebar-collapsed-initial .sidebar .nav-item-3 {
  width: auto !important;
  justify-content: center !important;
  padding: 12px 0 !important;
}

html.sidebar-collapsed-initial .sidebar .ellipse {
  left: 60px !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .sidebar .ellipse svg {
  transform: rotate(180deg) !important;
}

html.sidebar-collapsed-initial .sidebar .login-button {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

html.sidebar-collapsed-initial .sidebar .login-button svg {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

html.sidebar-collapsed-initial .sidebar .login-button span {
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .main-content {
  margin-left: 70px !important;
  transition: none !important;
}

html.sidebar-collapsed-initial .home-view .heading {
  left: 70px !important;
  transition: none !important;
}

/* Meyer Reset CSS */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

/* Globals CSS */
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0px;
  height: 100%;
}
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

/* Main Styles */
body, html {
  margin: 0;
  padding: 0;
  background-color: #090909;
  color: #ffffff;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

.home-view {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

/* Sidebar Logo */
.home-view .logo {
  display: flex;
  width: 250px;
  height: 100px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #ffffff14;
  transition: width 0.3s ease, gap 0.3s ease;
}

.home-view .img {
  position: relative;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.home-view .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0.5px;
  line-height: normal;
}

/* Sidebar Toggle Button */
.home-view .ellipse {
  position: absolute;
  top: 90px;
  left: 240px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease;
}

/* Profile Button */
.home-view .profile-button {
  display: flex;
  width: 250px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #090909;
  box-sizing: border-box;
  transition: width 0.3s ease, padding 0.3s ease;
}

.home-view .profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 9px;
  position: relative;
}

.home-view .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-view .user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.home-view .div {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  color: #ffffff;
  line-height: normal;
}

.home-view .text-wrapper-2 {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ffffff80;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.home-view .profile-settings {
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.home-view .profile-settings:hover {
  opacity: 0.7;
}

/* Navigation Items */
.home-view .items {
  position: absolute;
  top: 140px;
  left: 15px;
  width: 220px;
  height: 322px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: width 0.3s ease, left 0.3s ease;
}

.home-view .sidebar .nav-item,
.home-view .items .nav-item {
  width: 220px;
  display: flex;
  height: 33px;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  text-decoration: none;
  color: inherit;
}

.home-view .img-2 {
  position: relative;
  width: 17px;
  height: 17px;
  object-fit: cover;
}

.home-view .text-wrapper-3 {
  position: relative;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
}

.home-view .highlight {
  position: absolute;
  top: 0;
  right: -15px;
  width: 2px;
  height: 33px;
  background-color: #ffffff;
  opacity: 1;
  transition: opacity 0.2s ease 0.3s;
}

.home-view .sidebar .nav-item-2,
.home-view .items .nav-item-2 {
  display: flex;
  width: 220px;
  height: 33px;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  opacity: 0.2;
  text-decoration: none;
  color: inherit;
}

.home-view .sidebar .nav-item-3,
.home-view .items .nav-item-3 {
  margin-left: 1px;
  width: 219px;
  opacity: 0.2;
  display: flex;
  height: 33px;
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  text-decoration: none;
  color: inherit;
}

.home-view .divider {
  display: none;
}

/* Header */
.home-view .heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 250px;
  right: 0;
  height: 100px;
  padding: 0 30px;
  background-color: #090909;
  border-bottom: 1px solid #ffffff14;
  z-index: 50;
  transition: left 0.3s ease;
}

body.sidebar-collapsed .home-view .heading {
  left: 70px;
}

.home-view .welcome-allan {
  position: relative;
  width: fit-content;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: #ffffff;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}

.home-view .span {
  font-weight: 500;
}

.home-view .text-wrapper-5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.home-view .text-wrapper-6 {
  position: relative;
  width: fit-content;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #525252;
  font-size: 13px;
  letter-spacing: 0;
  line-height: normal;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #090909;
  z-index: 100;
  box-sizing: border-box;
  transition: width 0.3s ease;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar.collapsed .logo h1,
.sidebar.collapsed .user-info,
.sidebar.collapsed .text-wrapper-3,
.sidebar.collapsed .profile-settings,
.sidebar.collapsed .divider {
  display: none;
}

.sidebar.collapsed .highlight {
  opacity: 0;
  transition: opacity 0.1s ease;
}

.sidebar.collapsed .logo {
  width: 70px;
  justify-content: center;
  padding: 0;
  gap: 0;
}

.sidebar.collapsed .logo img {
  width: 32px;
  height: 32px;
}

.sidebar.collapsed .profile-button {
  width: 70px;
  justify-content: center;
  padding: 15px 0;
  left: 0;
}

.sidebar.collapsed .profile {
  justify-content: center;
  gap: 0;
}

.sidebar.collapsed .avatar {
  width: 36px;
  height: 36px;
}

.sidebar.collapsed .items {
  width: 70px;
  left: 0;
  align-items: center;
}

.sidebar.collapsed .nav-item,
.sidebar.collapsed .nav-item-2,
.sidebar.collapsed .nav-item-3 {
  width: auto;
  justify-content: center;
  padding: 12px 0;
}

.sidebar.collapsed .nav-item .img-2,
.sidebar.collapsed .nav-item-2 .img-2,
.sidebar.collapsed .nav-item-3 .img-2 {
  margin: 0;
}

.sidebar.collapsed .ellipse {
  left: 60px;
}

.sidebar.collapsed .ellipse svg {
  transform: rotate(180deg);
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: #ffffff14;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 30px;
  padding-top: 130px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  box-sizing: border-box;
  transition: margin-left 0.3s ease;
}

body.sidebar-collapsed .main-content {
  margin-left: 70px;
}

/* Profile Dropdown */
.profile-button {
  position: relative;
}

.profile-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #0e0e0e;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.profile-dropdown-item:hover {
  background-color: #ffffff0a;
}

.profile-dropdown-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.sidebar.collapsed .profile-dropdown {
  left: 10px;
  right: auto;
  width: 180px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #0e0e0e;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
}

.toast.success .toast-icon {
  color: #55eaae;
}

.toast.error .toast-icon {
  color: #ea5555;
}

.toast-message {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

/* Mobile elements hidden by default */
.mobile-avatar,
.mobile-logo,
.mobile-logo-link {
  display: none;
}

.heading-content {
  display: block;
}

.heading-content.hidden {
  display: none;
}

/* Mobile Profile Menu */
.mobile-profile-wrapper {
  display: none;
  position: relative;
}

.mobile-profile-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}

.mobile-profile-btn img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: #0e0e0e;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  min-width: 160px;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mobile-profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.mobile-profile-dropdown a:hover {
  background-color: #ffffff0a;
}

.mobile-profile-dropdown a svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Login Button Styles */
.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-text);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--accent-15);
  position: relative;
  overflow: hidden;
}

.login-button span {
  line-height: 1.3;
}

/* Cartoon shine effect */
.login-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 70%,
    transparent 100%
  );
  animation: cartoon-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cartoon-shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 150%;
  }
}

/* Hover effect disabled - button remains static */
.login-button:hover {
  /* No hover changes */
}

.login-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar.collapsed .login-button {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.sidebar.collapsed .login-button svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sidebar.collapsed .login-button span {
  opacity: 0;
  width: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  transition: opacity 0s, max-width 0s, width 0s;
}

/* Login button text - delayed reveal on expand */
.login-button span {
  opacity: 1;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  /* Delay matches sidebar transition (0.3s) so text appears after sidebar finishes expanding */
  transition: opacity 0.25s ease-out 0.3s, max-width 0.25s ease-out 0.3s;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .login-button span {
    transition: none;
  }

  .sidebar.collapsed .login-button span {
    transition: none;
  }
}

/* Mobile Login Button */
.mobile-login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-text);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Cartoon shine effect for mobile login button */
.mobile-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 70%,
    transparent 100%
  );
  animation: cartoon-shine 3s ease-in-out infinite;
  pointer-events: none;
}

.mobile-login-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover) 100%);
  filter: brightness(0.9);
}

.mobile-login-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-text);
}

/* Mobile Settings Button */
.mobile-settings-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.mobile-settings-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.mobile-settings-btn svg {
  width: 18px;
  height: 18px;
}

/* Tablet Responsiveness */
@media (max-width: 1919px) {
  .sidebar {
    width: 250px;
  }

  .main-content {
    margin-left: 250px;
  }

  body.sidebar-collapsed .main-content {
    margin-left: 70px;
  }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #0c0c0c;
  border-top: 1px solid #ffffff14;
  z-index: 1000;
  padding: 8px 0 16px 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav .nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 8px;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: #ffffff80;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-width: 60px;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

.mobile-bottom-nav .nav-item img {
  width: 24px;
  height: 24px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.mobile-bottom-nav .nav-item span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.mobile-bottom-nav .nav-item.active {
  color: #ffffff;
}

.mobile-bottom-nav .nav-item.active img {
  opacity: 1;
}

.mobile-bottom-nav .nav-item.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Calendar Picker Modal */
.calendar-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.calendar-picker-modal.show {
  opacity: 1;
  visibility: visible;
}

.calendar-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.calendar-picker-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #0e0e0e;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.calendar-picker-modal.show .calendar-picker-content {
  transform: translateY(0);
}

.calendar-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-picker-header span {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.calendar-picker-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-picker-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.calendar-picker-options {
  display: flex;
  flex-direction: column;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  gap: 8px;
}

.calendar-picker-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-picker-option:hover {
  background: var(--accent-15);
  border-color: var(--accent-color);
}

.calendar-picker-option:active {
  transform: scale(0.98);
}

.calendar-picker-option svg {
  width: 24px;
  height: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.calendar-picker-option span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

/* Desktop: center the modal */
@media (min-width: 769px) {
  .calendar-picker-modal {
    align-items: center;
  }

  .calendar-picker-content {
    border-radius: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px) scale(0.95);
  }

  .calendar-picker-modal.show .calendar-picker-content {
    transform: translateY(0) scale(1);
  }
}

/* Responsive - Mobile only */
@media (max-width: 768px) {
  .sidebar,
  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .mobile-bottom-nav {
    display: block;
  }

  /* Hide sidebar toggle button on mobile */
  .home-view .ellipse,
  .ellipse {
    display: none !important;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
    padding-top: 70px;
    padding-bottom: 100px;
  }

  body.sidebar-collapsed .main-content {
    margin-left: 0;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 90px;
  }

  .home-view .heading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: auto;
    height: 54px;
    margin: 0;
    padding: 8px 20px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff14;
    box-sizing: border-box;
    background-color: #090909;
    z-index: 999;
  }

  .home-view .heading .welcome-allan,
  .home-view .heading .text-wrapper-6 {
    display: none !important;
  }

  .home-view .heading .mobile-logo-link {
    display: block;
    flex-shrink: 0;
  }

  .home-view .heading .mobile-logo {
    display: block !important;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  /* Hide standalone mobile-avatar, show wrapper instead */
  .home-view .heading > .mobile-avatar {
    display: none !important;
  }

  .mobile-profile-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .mobile-settings-btn {
    display: flex;
  }

  body.sidebar-collapsed .home-view .heading {
    left: auto;
  }
}
