/*
 * Aptagram WMS — page-specific styles only.
 * Tokens, reset, nav, buttons, hero, feature-row, footer, etc. live in the
 * shared /assets/shared/base.css, loaded before this file.
 */

/* Dashboard mock */
.dashboard-preview {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
}

.tile:hover {
    transform: translateY(-4px);
    background: var(--surface-hover);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tile i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.tile .count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tile .label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Search / profile overlays (demo, keyboard-triggered — Ctrl+K, /) */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal {
    background: var(--surface-color);
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 8px;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px;
    color: var(--text-main);
    font-size: 1.25rem;
    outline: none;
}

.search-trigger {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-base);
}

.search-trigger:hover {
    background: var(--glass-border);
    color: var(--text-main);
}

.hotkey-hint {
    background: rgba(120, 120, 120, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
}

@media (max-width: 768px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tile-grid {
        grid-template-columns: 1fr;
    }
}
