/* App Shell & Preloader Styles */
.dz-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.dz-preloader-content {
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.dz-preloader-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: dz-pulse 2s infinite ease-in-out;
}

.dz-preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--dz-primary-rgb), 0.1);
    border-top-color: var(--dz-primary);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: dz-spin 1s linear infinite;
}

.dz-loading-bar {
    width: 100%;
    height: 3px;
    background: rgba(var(--dz-primary-rgb), 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.dz-loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--dz-primary);
    border-radius: 10px;
    animation: dz-loading 2s infinite ease-in-out;
}

@keyframes dz-spin {
    to { transform: rotate(360deg); }
}

@keyframes dz-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes dz-loading {
    0% { left: -30%; width: 30%; }
    50% { left: 40%; width: 50%; }
    100% { left: 100%; width: 30%; }
}

/* Bottom Navigation */
.dz-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #f0f0f0;
}

.dz-nav-item {
    text-decoration: none;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: color 0.2s;
}

.dz-nav-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.dz-nav-label {
    font-size: 11px;
    font-weight: 500;
}

.dz-nav-item.active {
    color: var(--dz-primary);
}

/* Desktop Visibility: Hide by default or show based on preference */
@media (min-width: 768px) {
    .dz-bottom-nav {
        /* Optional: Hide on desktop if preferred */
        /* display: none; */
    }
}

