@import url('../styles/globals.css');

.display-lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.lab-card {
    background: var(--bg-color);
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.lab-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lab-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.lab-metric span:last-child {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.action-button {
    background: var(--surface-color);
    color: var(--text-primary);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
}

.action-button:hover {
    background: #e5e5ea;
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Display Specific Visualizers */
.color-band-container {
    height: 60px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(to right, black, white);
    position: relative;
    border: 1px solid var(--border-color);
}

.refresh-rate-visualizer {
    height: 80px;
    background: var(--surface-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.pixel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.pixel-btn {
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.1s;
}

.pixel-btn:active {
    transform: scale(0.95);
}

/* Fullscreen Overlays */
#fullpath-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: black;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    user-select: none;
}