.theme-switcher{display:flex;background:var(--background-tertiary);border:1px solid var(--border);border-radius:8px;padding:3px;position:relative;overflow:hidden;width:78px;height:40px}.theme-segment{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:transparent;border-radius:6px;cursor:pointer;transition:color .3s ease;position:relative;z-index:2;flex:1 1;margin:0 -1px;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translateY(-2px)}.theme-segment,.theme-segment:hover{color:var(--foreground)}.theme-segment.active{background:var(--primary-dark);color:white;box-shadow:0 2px 2px var(--shadow);width:34px;height:34px;transform:translateY(-1px)}.theme-segment:focus{outline:none!important;box-shadow:none!important}.user-menu-container{position:relative;display:inline-block}.user-menu-button{display:flex;align-items:center;gap:.5rem;background:var(--background-tertiary);border:1px solid var(--border);border-radius:8px;padding:2px;cursor:pointer;transition:all .3s ease;color:var(--foreground);width:80px;height:40px;justify-content:center}.user-menu-button:hover{background:var(--border)}.user-menu-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;background:var(--background-secondary);border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 25px var(--shadow-lg);min-width:320px;z-index:1000;overflow:hidden}.user-menu-items{padding:.75rem}.menu-item{display:block;padding:1rem 1.25rem;color:var(--foreground);text-decoration:none;transition:background-color .3s ease;font-size:1.1rem;font-weight:500;border-radius:8px;margin:.25rem 0}.menu-item:hover{background:var(--background-tertiary)}.menu-dropdown-item{position:relative}.menu-dropdown-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:1rem 1.25rem;color:var(--foreground);background:none;border:none;font-family:inherit;font-size:1.1rem;font-weight:500;text-align:left;cursor:pointer;border-radius:8px;margin:.25rem 0;transition:background-color .3s ease}.menu-dropdown-trigger:hover{background:var(--background-tertiary)}.menu-dropdown-trigger svg{transition:transform .3s ease}.menu-dropdown-item.open .menu-dropdown-trigger svg{transform:rotate(180deg)}.menu-dropdown-content{padding-left:1rem;margin-top:.25rem}.menu-sub-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;color:var(--foreground-secondary);text-decoration:none;font-size:1rem;border-radius:6px;margin:.125rem 0;transition:all .3s ease}.menu-sub-item:hover{background:var(--background-tertiary);color:var(--foreground)}.menu-divider{border:none;height:1px;background:var(--border);margin:.5rem 0}@media (max-width:1000px){.user-menu-dropdown{min-width:260px;border-radius:10px}.user-menu-items{padding:.5rem}.menu-dropdown-trigger,.menu-item{font-size:1rem;padding:.75rem 1rem}.menu-sub-item{font-size:.95rem;padding:.5rem 1rem;gap:.5rem}.menu-dropdown-trigger svg,.menu-sub-item svg{width:16px;height:16px}}@media (max-width:768px){.menu-dropdown-trigger,.menu-item{padding:.6rem .9rem}.menu-dropdown-content{padding-left:.5rem}}.menu-item[href="/auth/login"],.menu-item[href="/auth/signup"]{display:inline-block;width:calc(50% - .5rem);margin:.25rem;padding:.75rem;text-align:center;background:var(--background-tertiary);border:1px solid var(--border);border-radius:8px;transition:all .3s ease}.menu-item[href="/auth/login"]:hover,.menu-item[href="/auth/signup"]:hover{background:var(--primary);color:white;border-color:var(--primary);transform:translateY(-1px)}.menu-item[href="/auth/signup"]{background:var(--primary);color:white;border-color:var(--primary)}.menu-item[href="/auth/signup"]:hover{background:var(--primary-dark);border-color:var(--primary-dark)}