/* Base styles for POG Updator */
:root {
    --sidebar-width: 250px;
    --navbar-height: 60px;
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    background-color: var(--light-gray);
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--primary-color);
    z-index: 1000;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Sidebar collapsed state */
.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
}

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

.sidebar-collapsed .navbar {
    left: 0;
}

.app-brand {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-brand i {
    margin-right: 0.75rem;
}

.sidebar .nav-container {
    padding-top: 1rem;
    height: calc(100vh - var(--navbar-height));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.sidebar .nav-link:hover {
    color: white;
    background: var(--secondary-color);
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar .nav-link.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Sidebar footer with version tag */
.sidebar-footer {
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 1.5rem;
}

.version-tag {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-footer .nav-link,
.sidebar-footer .nav-link:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    cursor: default;
}

/* Main content area */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
    padding-top: calc(var(--navbar-height) + 20px);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    height: var(--navbar-height);
    padding: 0.5rem 1.5rem;
    background: white !important;
    border-bottom: 1px solid var(--border-color);
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: left 0.3s ease;
}

.navbar .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.navbar-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sidebar toggle button */
.sidebar-toggle {
    background: transparent;
    color: #6c757d;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    color: var(--accent-color);
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

.sidebar-collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* Store info badge */
.store-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-badge::after {
    content: '\f0d7'; /* font-awesome caret-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.store-badge:hover {
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
    background: #2980b9; /* Slightly darker blue on hover */
    transform: translateY(-2px);
}

.store-badge:hover::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

.store-badge:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(52, 152, 219, 0.2);
}

.store-badge i {
    font-size: 1.1em;
}

.store-badge .store-id {
    font-weight: bold;
    color: white;
}

.store-badge .store-name {
    opacity: 0.9;
    color: white;
}

.store-badge .store-change-icon {
    margin-left: 8px;
    font-size: 0.8em;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.store-badge:hover .store-change-icon {
    opacity: 1;
    transform: rotate(180deg);
}

.store-badge.loading {
    background-color: #2980b9;
    pointer-events: none;
}

.store-badge.loading i {
    margin-right: 10px;
}

.navbar .btn-change-store {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: white;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.navbar .btn-change-store:hover {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

/* Store dropdown styles */
.store-badge.dropdown-toggle::after {
    display: none; /* Hide default bootstrap caret */
}

.store-badge.no-store {
    background: #95a5a6; /* Gray for no store selected */
}

.store-badge.no-store:hover {
    background: #7f8c8d;
}

.store-dropdown-menu {
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.store-dropdown-menu .dropdown-header {
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.5rem;
    text-align: center;
}

.store-dropdown-menu .dropdown-item {
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.store-dropdown-menu .dropdown-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateX(3px);
}

.store-dropdown-menu .dropdown-item.active {
    background-color: rgba(52, 152, 219, 0.2);
    color: inherit;
    box-shadow: inset 3px 0 0 var(--accent-color);
}

.store-dropdown-menu .store-item {
    display: flex;
    flex-direction: column;
}

.store-dropdown-menu .store-item-id {
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-dropdown-menu .store-item-id::after {
    content: '\f105'; /* font-awesome chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #bbb;
    transition: all 0.2s;
}

.store-dropdown-menu .dropdown-item:hover .store-item-id::after {
    color: var(--accent-color);
    transform: translateX(2px);
}

.store-dropdown-menu .store-item-name {
    font-size: 0.9rem;
    color: #666;
}

.store-dropdown-menu .store-item-location {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

.store-dropdown-menu .store-loading {
    color: #666;
    text-align: center;
    padding: 1rem;
}

.store-search {
    padding: 0.5rem;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.store-search input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Navbar notification indicator */
.navbar .notification-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.navbar .notification-badge:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
}

.navbar .notification-badge .indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e74c3c;
}

/* User dropdown styles */
.navbar .user-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.navbar .user-dropdown:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.navbar .username {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-dropdown.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Notification popover styles */
.pending-notification {
    padding: 5px;
}

.pending-notification h6 {
    color: var(--accent-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pending-notification p {
    margin-bottom: 10px;
}

.pending-notification .btn {
    width: 100%;
    margin-top: 5px;
}

/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

/* Table styles */
.table thead th {
    border-top: none;
    border-bottom: 2px solid #e9ecef;
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Button styles */
.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
}

/* Disabled button styles */
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-success:disabled,
.btn-success.disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background-color: transparent !important;
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-outline-success:disabled,
.btn-outline-success.disabled {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background-color: transparent !important;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Header action button disabled styles */
.header-action-btn:disabled,
.header-action-btn.disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.header-action-btn:disabled:hover,
.header-action-btn.disabled:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Dashboard Stats in Navbar */
.dashboard-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1.5rem;
    padding: 0.25rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: rgba(52, 152, 219, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    min-width: 65px;
    transition: all 0.2s ease;
    position: relative;
}

.stat-item:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* Add icons to stat items */
.stat-item:nth-child(1)::before {
    content: '\f0db'; /* fa-columns */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 0.6rem;
    color: rgba(52, 152, 219, 0.3);
}

.stat-item:nth-child(2)::before {
    content: '\f5fd'; /* fa-layer-group */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 0.6rem;
    color: rgba(52, 152, 219, 0.3);
}

.stat-item:nth-child(3)::before {
    content: '\f58d'; /* fa-grip-vertical */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 0.6rem;
    color: rgba(52, 152, 219, 0.3);
}

.stat-item:nth-child(4)::before {
    content: '\f466'; /* fa-box */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 0.6rem;
    color: rgba(52, 152, 219, 0.3);
}

/* Updating animation for dashboard stats */
.stat-item.updating {
    animation: statUpdate 1s ease;
}

@keyframes statUpdate {
    0% { 
        background: rgba(52, 152, 219, 0.05);
        transform: scale(1);
    }
    50% { 
        background: rgba(52, 152, 219, 0.2);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }
    100% { 
        background: rgba(52, 152, 219, 0.05);
        transform: scale(1);
    }
}

/* Mobile responsiveness for dashboard stats */
@media (max-width: 1200px) {
    .dashboard-stats {
        gap: 0.6rem;
        margin-left: 1rem;
    }
    
    .stat-item {
        min-width: 60px;
        padding: 0.45rem 0.6rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
}

/* Landscape orientation adjustments for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .navbar {
        padding: 0.35rem 0.8rem;
    }
    
    .dashboard-stats {
        gap: 0.45rem;
        margin-left: 0.7rem;
    }
    
    .stat-item {
        min-width: 52px;
        padding: 0.35rem 0.5rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.52rem;
    }
}

/* Portrait orientation adjustments for tablets */
@media (max-width: 768px) and (orientation: portrait) {
    .navbar {
        padding: 0.35rem 0.5rem;
    }
    
    .navbar-tools {
        gap: 7px;
    }
    
    .store-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.55rem;
        padding-right: 1.5rem;
    }
}

/* High DPI displays adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar .notification-badge .indicator {
        width: 10px;
        height: 10px;
        top: 4px;
        right: 4px;
    }
    
    .store-badge::after {
        font-size: 0.85rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1440px) {
    .dashboard-stats {
        gap: 1rem;
        margin-left: 2rem;
    }
    
    .stat-item {
        min-width: 75px;
        padding: 0.6rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .navbar-tools {
        gap: 20px;
    }
    
    .store-badge {
        padding: 0.6rem 1.2rem;
        padding-right: 2.2rem;
        font-size: 1rem;
    }
    
    .navbar .user-dropdown {
        gap: 12px;
        padding: 6px 12px;
    }
    
    .navbar .user-avatar {
        width: 36px;
        height: 36px;
    }
    
    .navbar .username {
        font-size: 1rem;
    }
    
    .navbar .notification-badge {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

/* Special handling for very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .navbar {
        padding: 0.15rem 0.25rem;
    }
    
    .navbar-tools {
        gap: 3px;
    }
    
    .store-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        padding-right: 0.9rem;
    }
    
    .navbar .user-dropdown {
        gap: 2px;
        padding: 1px 2px;
    }
    
    .navbar .user-avatar {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .navbar .username {
        font-size: 0.6rem;
    }
    
    .navbar .notification-badge {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    
    .sidebar-toggle {
        font-size: 0.95rem;
        padding: 0.15rem 0.25rem;
    }
}

/* Hover states adjustments for touch devices */
@media (hover: none) and (pointer: coarse) {
    .store-badge:hover {
        transform: none;
        box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
    }
    
    .stat-item:hover {
        transform: none;
        background: rgba(52, 152, 219, 0.05);
    }
    
    .navbar .notification-badge:hover {
        background-color: transparent;
    }
    
    .navbar .user-dropdown:hover {
        background-color: transparent;
    }
}

/* iPad and larger tablets (landscape and portrait) */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.4rem 1rem;
    }
    
    .navbar-tools {
        gap: 10px;
    }
    
    .store-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        padding-right: 1.8rem;
    }
    
    .store-badge i {
        font-size: 1rem;
    }
    
    .navbar .user-dropdown {
        gap: 8px;
        padding: 4px 8px;
    }
    
    .navbar .user-avatar {
        width: 30px;
        height: 30px;
    }
    
    .navbar .username {
        font-size: 0.85rem;
    }
    
    .navbar .notification-badge {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }
    
    .sidebar-toggle {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
    }
    
    .dashboard-stats {
        gap: 0.5rem;
        margin-left: 0.8rem;
    }
    
    .stat-item {
        min-width: 55px;
        padding: 0.4rem 0.55rem;
    }
    
    .stat-number {
        font-size: 0.95rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
}

/* Landscape orientation adjustments for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .navbar {
        padding: 0.35rem 0.8rem;
    }
    
    .dashboard-stats {
        gap: 0.45rem;
        margin-left: 0.7rem;
    }
    
    .stat-item {
        min-width: 52px;
        padding: 0.35rem 0.5rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.52rem;
    }
}

/* iPad portrait and smaller tablets */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        z-index: 2000;
        transform: translateX(-100%);
        box-shadow: 3px 0 10px rgba(0,0,0,0.2);
        transition: transform 0.3s ease;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 10px;
        padding-top: calc(var(--navbar-height) + 10px);
    }
    .navbar {
        left: 0;
        width: 100vw;
        min-width: 0;
        padding: 0.4rem 0.6rem;
    }
    .navbar-tools {
        gap: 8px;
    }
    .store-badge {
        font-size: 0.85rem;
        padding: 0.35rem 0.6rem;
        padding-right: 1.6rem;
    }
    
    .store-badge i {
        font-size: 0.9rem;
    }
    
    .navbar .user-dropdown {
        gap: 6px;
        padding: 3px 6px;
        font-size: 0.85rem;
    }
    
    .navbar .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .navbar .username {
        font-size: 0.8rem;
    }
    
    .navbar .notification-badge {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .store-dropdown-menu {
        width: 95vw;
        min-width: 180px;
        max-width: 320px;
        left: 0 !important;
        right: 0 !important;
    }
    .sidebar-toggle {
        font-size: 1.3rem;
        padding: 0.4rem 0.6rem;
    }
    .dashboard-stats {
        gap: 0.4rem;
        margin-left: 0.6rem;
    }
    
    .stat-item {
        min-width: 50px;
        padding: 0.35rem 0.5rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .stat-item::before {
        display: none;
    }
}

/* Portrait orientation adjustments for tablets */
@media (max-width: 768px) and (orientation: portrait) {
    .navbar {
        padding: 0.35rem 0.5rem;
    }
    
    .navbar-tools {
        gap: 7px;
    }
    
    .store-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.55rem;
        padding-right: 1.5rem;
    }
}

/* Large phones and small tablets */
@media (max-width: 640px) {
    .navbar {
        padding: 0.3rem 0.5rem;
    }
    
    .navbar-tools {
        gap: 6px;
    }
    
    .store-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        padding-right: 1.4rem;
    }
    
    .navbar .user-dropdown {
        gap: 5px;
        padding: 2px 5px;
    }
    
    .navbar .user-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .navbar .username {
        font-size: 0.75rem;
    }
    
    .navbar .notification-badge {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .sidebar-toggle {
        font-size: 1.2rem;
        padding: 0.3rem 0.5rem;
    }
    
    .dashboard-stats {
        gap: 0.3rem;
        margin-left: 0.5rem;
    }
    
    .stat-item {
        min-width: 45px;
        padding: 0.3rem 0.4rem;
    }
    
    .stat-number {
        font-size: 0.85rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
}

@media (max-width: 576px) {
    .dashboard-stats {
        display: none;
    }
    
    .navbar {
        padding: 0.25rem 0.4rem;
    }
    
    .store-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
        padding-right: 1.2rem;
    }
    
    .navbar .user-dropdown {
        gap: 4px;
        padding: 2px 4px;
    }
    
    .navbar .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .navbar .username {
        font-size: 0.7rem;
    }
    
    .navbar .notification-badge {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }
    
    .sidebar-toggle {
        font-size: 1.1rem;
        padding: 0.25rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.2rem 0.3rem;
    }
    
    .navbar-tools {
        gap: 4px;
    }
    
    .store-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.35rem;
        padding-right: 1rem;
    }
    
    .navbar .user-dropdown {
        gap: 3px;
        padding: 1px 3px;
    }
    
    .navbar .user-avatar {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .navbar .username {
        font-size: 0.65rem;
    }
    
    .navbar .notification-badge {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
    
    .sidebar-toggle {
        font-size: 1rem;
        padding: 0.2rem 0.3rem;
    }
    
    .main-content {
        padding: 4px;
        padding-top: calc(var(--navbar-height) + 4px);
    }
}

/* High DPI displays adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar .notification-badge .indicator {
        width: 10px;
        height: 10px;
        top: 4px;
        right: 4px;
    }
    
    .store-badge::after {
        font-size: 0.85rem;
    }
} 