/* Stack Page Layout */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 30px;
    text-align: left;
}

.stack-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 25px;
}

.stack-category h3 {
    color: #fff;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Item List */
.stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-item:last-child {
    border-bottom: none;
}

.item-name {
    color: #ccc;
    font-weight: 500;
}

.item-name .icon {
    width: 20px;
    display: inline-block;
    color: var(--accent-color);
    margin-right: 8px;
}

.item-meta {
    font-size: 0.8rem;
    color: #ccc; /* Change this line (was #666) */
    font-family: monospace;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Status Indicators */
.status-dot {
    height: 8px;
    width: 8px;
    background-color: #4caf50; /* Green */
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    box-shadow: 0 0 5px #4caf50;
}

@media (max-width: 768px) {
    .stack-grid { grid-template-columns: 1fr; }
}