// PozoMenu Component Styles - Integrated with SideMenuPozo .pozo-menu { font-family: 'Poppins', sans-serif !important; background: transparent; border-radius: 0; box-shadow: none; // overflow: hidden; overflow: auto; user-select: none; @media (max-width: 500px) { overflow: scroll; } &.pozo-menu-vertical { width: 100% !important; min-height: auto; } &.pozo-menu-horizontal { width: 100%; display: flex; flex-direction: row; } } .pozo-menu-content { padding: 0; display: flex; flex-direction: column; gap: 0.1rem; } .pozo-menu-item-wrapper { position: relative; } .pozo-menu-item { display: flex; align-items: center; justify-content: center; padding: 7px 8px; cursor: pointer; transition: background 0.2s, color 0.2s; border-radius: 8px; margin: 1px 3px; font-size: 13px; font-weight: 500; color: #ffffff; position: relative; min-height: 36px; font-family: 'Poppins', sans-serif !important; &:hover:not(.selected):not(.active-path) { background: #394588; } &.selected { background: #050d36 !important; color: #ffffff !important; border-right: 3px solid #ffffff; font-weight: 600; border-radius: 6px; border: none !important; .pozo-menu-icon { color: #23bbff !important; } .pozo-menu-label { color: #ffffff !important; } .pozo-menu-arrow { color: #ffffff !important; } } &.open { background: #050d36 !important; color: #23bbff; font-weight: 600; width: 95%; } &.active-path { background: #050d36 !important; color: #ffffff !important; font-weight: 600; border-radius: 6px 4px 4px 6px; border-right: 2px solid #23bbff !important; .pozo-menu-icon { color: #ffffff !important; } .pozo-menu-label { color: #ffffff !important; font-weight: 500 !important; } .pozo-menu-arrow { color: #ffffff !important; } } &.has-children { &:after { content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 0; height: 0; } } &.group-item { font-weight: 600; color: #666; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 16px; background: #fafafa; margin: 4px 8px; &:hover { background: #fafafa; color: #666; cursor: default; } } } .pozo-menu-icon { margin-right: 0.3rem; font-size: 1.3rem; min-width: 24px; display: flex; justify-content: center; align-items: center; @media (max-width: 500px) { font-size: 1rem !important; margin-right: 0; } } .pozo-menu-label { flex: 1; color: #ffffff; font-size: 12px; font-weight: 400; word-break: break-word; line-height: 1.2; font-family: 'Poppins', sans-serif !important; } .pozo-menu-arrow { margin-left: auto; font-size: 12px; display: flex; align-items: center; transition: transform 0.2s ease; color: #999; } @media (max-width: 768px) { .open.pozo-menu-arrow { transform: rotate(90deg); } } // Dropdown Submenu Styles - SideMenuPozo Style .pozo-dropdown-submenu { position: fixed !important; background: #23378a; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border: none; min-width: 200px; max-width: 300px; max-height: 54vh; overflow-y: auto; animation: dropdownFadeIn 0.2s ease; scrollbar-width: thin; z-index: 1050 !important; // Ensure no transform interference transform: none !important; margin: 0 !important; &.nested-submenu { background: #23378a; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); padding: 0.2rem 0 0.5rem 0; width: 200px; z-index: 10001 !important; margin-left: -3px !important; @media (max-width: 768px) { background-color: #040716; } } &::-webkit-scrollbar { width: 6px; } &::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } &::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } &::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } } .pozo-submenu-content { padding: 0.2rem 0 0.5rem 0; .pozo-menu-item { margin: 1px 8px; padding: 0.5rem 0.7rem; font-size: 1rem; font-weight: 500; border-radius: 6px; background: transparent; transition: background 0.18s, color 0.18s; &:hover:not(.selected):not(.active-path) { background: #394588; color: #182147; font-weight: 600; } &.selected { background: #050d36 !important; color: #ffffff !important; font-weight: 600; border-radius: 6px; border-left: 3px solid #ffffff; .pozo-menu-icon { color: #ffffff !important; } .pozo-menu-label { color: #ffffff !important; } .pozo-menu-arrow { color: #ffffff !important; } } &.active-path { background: #050d36 !important; color: #ffffff !important; font-weight: 600; border-radius: 6px; .pozo-menu-icon { color: #23bbff !important; } .pozo-menu-label { color: #ffffff !important; } .pozo-menu-arrow { color: #ffffff !important; } } &.group-item { background: transparent; border-bottom: none; margin: 0; border-radius: 6px; &:hover { background: transparent; color: #fff; } } } } // Inline Submenu Styles .pozo-inline-submenu { background: #fafafa; border-left: 2px solid #e8e8e8; margin-left: 20px; border-radius: 0 6px 6px 0; .pozo-menu-item { margin: 1px 4px; padding: 8px 12px; font-size: 13px; background: transparent; &:hover { background: #f0f8ff; } &.selected { background: #e6f7ff; border-left: 2px solid #1890ff; } } } // Animation @keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } // Bottom menu positioning .bottom-menu { .pozo-dropdown-submenu { // Remove transform for bottom menu - use calculated position transform: none !important; margin-top: 0 !important; } } // Responsive Design @media (max-width: 900px) { // .pozo-dropdown-submenu { // // left: 70px !important; // // min-width: 180px; // // max-width: calc(100vw - 80px); // } // .pozo-dropdown-submenu.nested-submenu { // // left: 70px !important; // } .bottom-menu .pozo-dropdown-submenu { left: 70px !important; } } @media (max-width: 768px) { .pozo-menu { &.pozo-menu-vertical { width: 100%; } } .pozo-dropdown-submenu { // min-width: 160px; // max-width: calc(50vw - 20px); // left: 30% !important; // right: 10px !important; position: unset !important; width: 100% !important; min-width: unset !important; max-width: unset !important; background-color: #050d36c4; // border-top: 1px solid #23bbff; margin-top: 2px !important; } .pozo-menu-item { padding: 10px 8px; font-size: 15px; margin: 1px 3px !important; } } @media (max-width: 500px) { .pozo-menu-item { // padding: 8px 8px; padding: 6px 4px 6px 6px; font-size: 15px; } .pozo-menu-label { font-size: 11px !important; margin-top: 2px; } } // Dark Theme Support .pozo-menu.dark-theme { background: #001529; color: #fff; .pozo-menu-item { color: #ffffffd9; &:hover { background: #1890ff; color: #fff; } &.selected { background: #1890ff; color: #fff; border-left-color: #fff; } &.group-item { background: #002140; color: rgba(255, 255, 255, 0.65); } } .pozo-dropdown-submenu { background: #001529; border-color: #303030; } .pozo-inline-submenu { background: #002140; border-left-color: #303030; } } // High Contrast Mode @media (prefers-contrast: high) { .pozo-menu-item { border: 1px solid transparent; &:hover { border-color: #1890ff; } &.selected { border-color: #1890ff; border-width: 2px; } } } .clearGenQRCode { button { background-color: #000 !important; } }