/* ==========================================================================
   EazyTrax.Com - Hardware Catalog & Documentation Stylesheet
   ========================================================================== */

/* Hardware Grid Card */
.hw-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hw-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.hw-brand-logo {
    height: 44px;
    width: auto;
    object-contain: contain;
    max-width: 140px;
    transition: transform 0.2s ease;
}

.hw-card:hover .hw-brand-logo {
    transform: scale(1.05);
}

/* Category Filter Tab Pill */
.catalog-filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.catalog-filter-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #0f172a;
}

.catalog-filter-btn.active {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Protocol & Chip Badge */
.protocol-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 600;
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

/* Documentation Content Block */
.docs-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
}

.docs-code-snippet {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    overflow-x: auto;
}
