/* Modern Entity Card Design System */
.modern-entity-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    user-select: none;
    height: 100%;
}

.modern-entity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.10);
    border-color: #cbd5e1;
}

/* Status Pill */
.entity-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.entity-status-active {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.entity-status-pending, .entity-status-warning {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.entity-status-info, .entity-status-busy {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.entity-status-inactive, .entity-status-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Avatar / Icon Badge */
.entity-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.modern-entity-card:hover .entity-icon-box {
    transform: scale(1.05);
}

.entity-icon-box-primary {
    background: rgba(30, 64, 175, 0.08);
    color: #1e40af;
}

.entity-icon-box-success {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
}

.entity-icon-box-purple {
    background: rgba(147, 51, 234, 0.08);
    color: #9333ea;
}

.entity-icon-box-amber {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
}

.entity-icon-box-cyan {
    background: rgba(8, 145, 178, 0.08);
    color: #0891b2;
}

/* Detail Info Chips */
.entity-info-chip {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.8125rem;
    color: #334155;
    transition: background-color 0.2s ease;
}

.modern-entity-card:hover .entity-info-chip {
    background-color: #f1f5f9;
}

/* Footer Container */
.entity-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 4px;
}
