.entityCard {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s ease;

    &:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-color: #dee2e6;
    }

    &.clickable {
        cursor: pointer;

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
    }
}

.entityCardHeader {
    margin-bottom: 12px;
}

.entityTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.entityName {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.entitySubtitle {
    font-size: 14px;
    color: #6c757d;
    margin-top: 4px;
}

.entityStatus {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f8f9fa;
    white-space: nowrap;
}

.entityCardBody {
    margin-bottom: 12px;
}

.entityField {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;

    &:last-child {
        margin-bottom: 0;
    }
}

.fieldIcon {
    margin-right: 8px;
    color: #6c757d;
    width: 16px;
    text-align: center;
}

.fieldLabel {
    font-weight: 500;
    margin-right: 4px;
}

.fieldValue {
    color: #212529;
}

.entityActions {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;

    :global(.ant-space) {
        width: 100%;
    }

    :global(.ant-space-item) {
        width: 100%;
    }

    :global(.ant-btn) {
        width: 100%;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .entityCard {
        padding: 12px;
    }

    .entityTitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .entityActions {
        flex-direction: column;
    }
}
